@extends('layouts.app') @section('title',$invoice->exists ? 'Edit invoice':'New pro forma') @section('heading',$invoice->exists ? 'Edit pro forma':'New pro forma') @section('content')
@csrf @if($invoice->exists)@method('PUT')@endif

Invoice information

Customer, project, ownership, and dates.

Value and collection dates

Total is calculated from subtotal plus tax.

{{ $invoice->currency ?? 'LKR' }} {{ number_format((float)($invoice->total_amount ?? 0),2) }}
@push('scripts')@endpush @endsection