@extends('layouts.admin') @section('title', 'Edit Invoice') @section('page-title', 'Edit Invoice') @section('breadcrumbs') Invoices chevron_right {{ $invoice->invoice_number }} chevron_right Edit @endsection @section('content')
PDF and on-screen invoice layout for this document.
Billed To (Client) *
{{ $invoice->customer->address }}
{{ $cityStateZip }}
{{ $invoice->customer->phone }}
{{ $invoice->customer->email }}
@php $paymentMethod = old('payment_method', $invoice->payment_method); if ($paymentMethod === 'online') { echo 'Online Payment'; } elseif ($paymentMethod && str_starts_with($paymentMethod, 'bank_')) { $bankId = str_replace('bank_', '', $paymentMethod); $bankAccount = \App\Models\BankAccount::find($bankId); if ($bankAccount) { echo 'Bank Transfer: ' . $bankAccount->bank_name . ' - ' . $bankAccount->account_name; } else { echo 'Bank Transfer'; } } else { echo 'No payment method selected. Click "Add Payment Method" to select.'; } @endphp
Select a signature to preview