diff --git a/lang/en.json b/lang/en.json index a68b101d..0bde88cc 100644 --- a/lang/en.json +++ b/lang/en.json @@ -1617,6 +1617,8 @@ "pdf_tax_label": "Tax", "pdf_tax_id": "Tax-ID", "pdf_vat_id": "VAT-ID", + "pdf_amount_paid": "Amount Paid", + "pdf_amount_due": "Amount Due", "mail_thanks": "Thanks", "mail_view_estimate": "View Estimate", "mail_viewed_estimate": ":name viewed this Estimate.", diff --git a/resources/views/app/pdf/invoice/partials/table.blade.php b/resources/views/app/pdf/invoice/partials/table.blade.php index b803b278..84055b16 100644 --- a/resources/views/app/pdf/invoice/partials/table.blade.php +++ b/resources/views/app/pdf/invoice/partials/table.blade.php @@ -160,5 +160,25 @@ {!! format_money_pdf($invoice->total, $invoice->customer->currency)!!} + + @if($invoice->paid_status === App\Models\Invoice::STATUS_PARTIALLY_PAID || $invoice->paid_status === App\Models\Invoice::STATUS_PAID) +