Update besar apk finance
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<!doctype html><html><head><meta charset="utf-8"><style>
|
||||
@page{margin:24px 28px}body{font-family:DejaVu Sans,Arial,sans-serif;font-size:10px;color:#172033}.header{border-bottom:2px solid #172845;padding-bottom:10px;margin-bottom:14px}.header h2{margin:0 0 4px}.muted{color:#68748a}.meta{width:100%;border-collapse:collapse;margin-bottom:14px}.meta td{width:33.33%;border:1px solid #dfe5ee;padding:8px;vertical-align:top}.meta span{display:block;color:#68748a;font-size:8px;text-transform:uppercase}.lines{width:100%;border-collapse:collapse}.lines th{background:#172845;color:#fff;text-align:left;padding:7px;font-size:8px}.lines td{border:1px solid #dfe5ee;padding:7px;vertical-align:top}.right{text-align:right}.note{margin-top:12px;border:1px solid #dfe5ee;padding:9px}.sign{margin-top:35px;width:100%;text-align:center}.sign td{width:33.33%;height:70px;vertical-align:bottom}.footer{position:fixed;bottom:-12px;left:0;right:0;color:#788397;font-size:8px;text-align:center}
|
||||
</style></head><body>
|
||||
<?php $documentLabels=array('opening'=>'SALDO AWAL MIGRASI','handover'=>'SERAH TERIMA BARANG TEKNISI','install'=>'PEMASANGAN PERALATAN','remove'=>'PELEPASAN PERALATAN','transfer'=>'TRANSFER ANTAR TEKNISI','return'=>'PENGEMBALIAN KE GUDANG','return_customer'=>'PENGEMBALIAN KE CUSTOMER','replacement'=>'PENGGANTIAN PERALATAN','inspection'=>'HASIL PEMERIKSAAN','correction'=>'KOREKSI / REVERSAL');?>
|
||||
<div class="header"><h2><?=html_escape($company->name??$company->nama??'Perusahaan')?></h2><div class="muted"><?=html_escape($company->address??$company->alamat??'')?> </div><h3>DOKUMEN <?=html_escape($documentLabels[$document['document_type']]??strtoupper($document['document_type']))?></h3></div>
|
||||
<table class="meta"><tr><td><span>Nomor Dokumen</span><strong><?=html_escape($document['document_no'])?></strong><br><?=date('d/m/Y',strtotime($document['document_date']))?></td><td><span>Teknisi / Customer</span><?=html_escape($document['technician_name']?:'-')?><br><?=html_escape($document['customer_name']?:'-')?></td><td><span>Gudang / Work Order / Lokasi</span><?=html_escape($document['warehouse_name']?:'-')?><br><?=html_escape($document['work_order_no']?:'-')?><br><?=html_escape($document['installation_location']?:'-')?></td></tr></table>
|
||||
<table class="lines"><thead><tr><th>BARANG</th><th>BARCODE / SERIAL</th><th>KEPEMILIKAN</th><th>POSISI ASAL → TUJUAN</th><th class="right">QTY</th><th>KONDISI</th></tr></thead><tbody><?php foreach($document['lines'] as$l):?><tr><td><?=html_escape($l['display_name'])?></td><td><?=html_escape($l['barcode_snapshot'])?><br><span class="muted"><?=html_escape($l['serial_number']?:'-')?></span></td><td><?=html_escape($l['ownership_type'])?></td><td><?=html_escape(($l['from_custodian_type']?:'-').' → '.($l['to_custodian_type']?:'-'))?></td><td class="right"><?=number_format((float)$l['qty'],abs((float)$l['qty']-round((float)$l['qty']))<.0001?0:4,',','.')?></td><td><?=html_escape(($l['from_condition_status']?:'-').' → '.($l['to_condition_status']?:'-'))?></td></tr><?php endforeach?></tbody></table>
|
||||
<div class="note"><strong>Alasan / Keterangan</strong><br><?=nl2br(html_escape(trim(($document['reason']?:'')."\n".($document['notes']?:''))))?></div>
|
||||
<table class="sign"><tr><td>Dibuat / Diproses<br><br><br><strong><?=html_escape($document['creator_name']?:'-')?></strong></td><td>Teknisi<br><br><br><strong><?=html_escape($document['technician_name']?:'-')?></strong></td><td>Customer / Gudang<br><br><br><strong><?=html_escape($document['customer_name']?:$document['warehouse_name']?:'-')?></strong></td></tr></table>
|
||||
<div class="footer">Dokumen ini merupakan riwayat operasional non-accounting. Dicetak <?=date('d/m/Y H:i')?>.</div>
|
||||
</body></html>
|
||||
Reference in New Issue
Block a user