Create Invoice from Estimate

Create Invoice from Estimate #{{ $estimate->estimate_number }}

Converting estimate to invoice

← Back to Invoices
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

Customer Information

Name: {{ $estimate->customer->first_name }} {{ $estimate->customer->last_name }}

Email: {{ $estimate->customer->email }}

Phone: {{ $estimate->customer->phone }}

Original Estimate

Estimate #: {{ $estimate->estimate_number }}

Date: {{ $estimate->estimate_date->format('Y-m-d') }}

Total: ${{ number_format($estimate->total_amount, 2) }}

Status: {{ ucfirst($estimate->status) }}

Invoice Details

@error('subject') {{ $message }} @enderror
@error('branch_id') {{ $message }} @enderror
@error('invoice_date') {{ $message }} @enderror
@error('due_date') {{ $message }} @enderror
@error('description') {{ $message }} @enderror

Line Items to be Converted

@foreach($estimate->lineItems as $item) @endforeach
Type Item Description Qty Unit Price Total
{{ ucfirst($item->type) }} @if($item->type === 'parts' && $item->part) {{ $item->part->name }} ({{ $item->part->part_number }}) @else {{ $item->description }} @endif {{ $item->description }} {{ $item->quantity }} ${{ number_format($item->unit_price, 2) }} ${{ number_format($item->total_amount, 2) }}
Total Amount: ${{ number_format($estimate->total_amount, 2) }}
Cancel
@endforeach

Invoice Summary

Tax Rate (%)
Subtotal: ${{ number_format($this->subtotal, 2) }}
Tax ({{ $tax_rate }}%): ${{ number_format($this->taxAmount, 2) }}
Total: ${{ number_format($this->total, 2) }}
Cancel Create Invoice