Files
accounting_dev_v2/application/views/receivables/statement.php
T
2026-09-11 16:03:00 +07:00

2 lines
825 B
PHP

<div class="container py-3"><div class="d-flex justify-content-between"><div><h4>Customer Statement</h4><p><?=html_escape($customer->nama)?> · <?=html_escape($from)?> s/d <?=html_escape($to)?></p></div><button onclick="print()" class="btn btn-outline-secondary h-25">Cetak</button></div><div class="table-responsive"><table class="table"><thead><tr><th>Tanggal</th><th>Dokumen</th><th>Debit</th><th>Kredit</th></tr></thead><tbody><?php foreach($invoices as$i):?><tr><td><?=$i->tanggal?></td><td><?=html_escape($i->no_invoice)?></td><td><?=number_format($i->total,0,',','.')?></td><td></td></tr><?php endforeach?><?php foreach($payments as$p):?><tr><td><?=$p->tanggal?></td><td><?=html_escape($p->payment_no)?></td><td></td><td><?=number_format($p->jumlah,0,',','.')?></td></tr><?php endforeach?></tbody></table></div></div>