Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Paid Invoice Visibility

Pantelis Livadiotis   ( User )

Commented 1 day ago

To make an invoice more obvious that is paid i added this code to file default.blade.php in path akaunting/resources/views/components/documents/template right after
The code below adds a red PAID on the top right of the invoice if is paid in full and an orange PAID Partial if there is a payment but not in full

@if ($document->paid)
@if ( $document->amount_due > 0 )
@stack('paid_total_tr_start')


PAID Partial


@stack('paid_total_tr_end')
@elseif ($document->amount_due==0)
@stack('paid_total_tr_start')


PAID


@stack('paid_total_tr_end')
@endif
@endif

Please login or register to leave a response.

Showing 1 to 1 of 1 discussions