Update besar apk finance

This commit is contained in:
Wian Drs
2026-09-11 16:03:00 +07:00
parent d42483b350
commit 4ef15c22ae
897 changed files with 98056 additions and 15979 deletions
+6 -2
View File
@@ -137,6 +137,7 @@
<label for="harga" class="form-label">Harga</label>
<input type="text" id="harga" class="form-control format-rupiah" min="0">
</div>
<div class="row g-2 mb-2"><div class="col"><label for="discount_amount" class="form-label">Diskon Nominal</label><input type="number" id="discount_amount" class="form-control" min="0" step="0.01" value="0"></div><div class="col"><label for="tax_rate" class="form-label">Pajak (%)</label><input type="number" id="tax_rate" class="form-control" min="0" step="0.01" value="0"></div></div>
<!-- CICILAN -->
<div class="mb-3 mt-3" id="is_cicilan_group">
@@ -689,7 +690,9 @@ $(function(){
nama_item: nama_item,
item_id: item_id || null,
qty: parseFloat($('#qty').val()) || 0,
harga: parseFloat($('#harga').val()) || 0,
harga: window.parseMoney($('#harga').val()),
discount_amount: window.parseMoney($('#discount_amount').val()),
tax_rate: parseFloat($('#tax_rate').val()) || 0,
keterangan: $('#keterangan').val().trim(),
barcode_id: $('#barcode_select').val() || 0,
@@ -1210,4 +1213,5 @@ $(function(){
$(this).addClass('table-secondary');
});
</script>
</script>
<div class="container pb-4"><div class="row g-3"><div class="col-md-6"><div class="card"><div class="card-body"><h6>Lampiran Invoice</h6><form method="post" enctype="multipart/form-data" action="<?=base_url('receivableattachments/upload')?>"><input type="hidden" name="<?=$this->security->get_csrf_token_name()?>" value="<?=$this->security->get_csrf_hash()?>"><input type="hidden" name="entity_type" value="invoice"><input type="hidden" name="entity_id" value="<?=(int)$invoice_id?>"><input class="form-control mb-2" type="file" name="attachment" accept=".pdf,.jpg,.jpeg,.png,.webp" required><button class="btn btn-outline-primary">Unggah Lampiran</button></form></div></div></div><div class="col-md-6"><div class="card"><div class="card-body"><h6>Reminder Tagihan</h6><form method="post" action="<?=base_url('receivablereminders/queue/'.$invoice_id)?>"><input type="hidden" name="<?=$this->security->get_csrf_token_name()?>" value="<?=$this->security->get_csrf_hash()?>"><select class="form-select mb-2" name="channel"><option value="email">Email</option><option value="whatsapp">WhatsApp</option><option value="phone">Telepon</option><option value="manual">Manual</option></select><input class="form-control mb-2" type="datetime-local" name="scheduled_at"><button class="btn btn-outline-secondary">Jadwalkan Reminder</button></form></div></div></div></div></div>