@php $invoiceNumber = 'INV-' . date('Y') . '-' . str_pad((\App\Models\Invoice::whereYear('created_at', date('Y'))->count() + 1), 4, '0', STR_PAD_LEFT); $sales_tax = config('app.sales_tax', 0.0825); $teamMembers = $task->project->teamMembers; $orderId = $task->serviceCall->order_id ?? null; @endphp
@csrf

Create Invoice

Invoice #{{ $invoiceNumber }} for Task: {{ $task->title }}

Bill To

Loading customer...

Invoice Details

Add Items to Invoice

No items added to this invoice yet.

Use the buttons above to add charges, discounts, or refunds.

Invoice Notes

Invoice Summary

Subtotal: $0.00
Sales Tax: $0.00

Total: $0.00
@include('tasks.invoices.partials._invoice_charge') @include('tasks.invoices.partials._invoice_discount') @include('tasks.invoices.partials._invoice_refund') @push('scripts') @endpush