pos: bisa retur dg -1, po: hilangkan hanya pilihan aktif

This commit is contained in:
2026-03-03 13:45:41 +07:00
parent feba2009a8
commit 1ac15b58e3
8 changed files with 242 additions and 16 deletions
+9 -2
View File
@@ -5,7 +5,7 @@
Desc. : JS - Transaksi Penjualan / Kasir POS
Created By : Siau Pheng ([email protected]).
Created Date : August 5th, 2012.
Last Modified : January 21st, 2026.
Last Modified : March 3rd, 2026.
(c) 2012 - 2026, 3FONIA Software; WWW.3FONIA.COM.
@@ -178,7 +178,14 @@ var POSJS = {
produk_select: function(acell){
FoniaJS.closeWindow(this.winBProduk);
this.detail_produk('insert', 0, acell[0], acell[1]);
//jika stok kosong tidak simpan hanya utk glamore
//if (parseInt(acell[3]) == 0){
this.detail_produk('insert', 0, acell[0], acell[1]);
/*} else {
this.winPesan = FoniaJS.showWindow('Pesan', 'Informasi Barang', '<div class="fs-3 text-center text-danger">Barang tidak tersedia atau habis !</div>', 300, [{},{i:'butTutup'}], () => {
$('#winPesan').find('#butTutup').click(() => $('#Nama_Produk').focus()).focus();
});
}*/
},
detail_produk: function(mode, ID, InvID, SatuanID){