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
+4 -1
View File
@@ -726,6 +726,7 @@ $('#s_qty').on('keyup change',function(){
});
// ================= SAVE FROM STOCK =================
let assetStockRequestKey=(window.crypto&&crypto.randomUUID)?crypto.randomUUID():(Date.now().toString(36)+'-'+Math.random().toString(36).slice(2));
$('#btnSaveStock').click(function(){
let btn = $(this);
let trackingType = ($('#s_item option:selected').data('type') || '').toString().trim().toUpperCase();
@@ -755,6 +756,7 @@ $('#btnSaveStock').click(function(){
account_asset: $('#s_account_asset').val(),
s_keterangan: $('#s_keterangan').val(),
barcode_id: $('#barcode_select').val(),
idempotency_key: assetStockRequestKey,
qty: qty
};
@@ -777,6 +779,7 @@ $('#btnSaveStock').click(function(){
$.post("<?= base_url('asset/save_from_stock'); ?>",data,function(res){
if(res.status){
assetStockRequestKey=(window.crypto&&crypto.randomUUID)?crypto.randomUUID():(Date.now().toString(36)+'-'+Math.random().toString(36).slice(2));
$('#modalAssetStock').modal('hide');
table.ajax.reload(null,false);
Swal.fire({
@@ -796,4 +799,4 @@ $('#btnSaveStock').click(function(){
});
</script>
</script>