2 lines
727 B
PHP
2 lines
727 B
PHP
<div class="container py-3"><h4>Supplier Statement</h4><p><?=html_escape($supplier->name)?></p><div class="table-responsive"><table class="table"><thead><tr><th>Tanggal</th><th>Dokumen</th><th>Debit/Pembayaran</th><th>Kredit/Tagihan</th><th>Saldo</th></tr></thead><tbody><?php foreach($bills as$b):?><tr><td><?=$b->invoice_date?></td><td><?=html_escape($b->supplier_invoice_no)?></td><td></td><td><?=number_format($b->total,0,',','.')?></td><td><?=number_format($b->balance,0,',','.')?></td></tr><?php endforeach?><?php foreach($payments as$p):?><tr><td><?=$p->payment_date?></td><td><?=$p->payment_no?></td><td><?=number_format($p->amount,0,',','.')?></td><td></td><td></td></tr><?php endforeach?></tbody></table></div></div>
|