baiki coloumn name dan laporan
This commit is contained in:
@@ -490,7 +490,7 @@
|
||||
Swal.fire({
|
||||
icon: 'warning',
|
||||
title: 'Amaran!',
|
||||
text: 'Pelanggan telah disenarai hitamkan dari gadaian'
|
||||
text: 'Pelanggan telah disenarai hitamkan dari pembiayaan'
|
||||
});
|
||||
event.preventDefault();
|
||||
return false;
|
||||
|
||||
@@ -123,10 +123,10 @@
|
||||
<div class="col-md-12 mt-md-3 justify-content-between form-group row">
|
||||
<div class="btn-group btn-group-toggle col-md-6" data-toggle="buttons">
|
||||
<label class="btn btn-primary">
|
||||
<input type="radio" name="options" id="option1" value="belum_tebus" autocomplete="off" checked>Belum Tebus
|
||||
<input type="radio" name="options" id="option1" value="belum_tebus" autocomplete="off" checked>Belum Penyelesaian Pem.
|
||||
</label>
|
||||
<label class="btn btn-primary">
|
||||
<input type="radio" name="options" id="option2" value="sudah_tebus" autocomplete="off">Sudah Tebus
|
||||
<input type="radio" name="options" id="option2" value="sudah_tebus" autocomplete="off">Sudah Penyelesaian Pem.
|
||||
</label>
|
||||
<label class="btn btn-primary">
|
||||
<input type="radio" name="options" id="option3" value="lelong" autocomplete="off">Lelong
|
||||
@@ -136,7 +136,7 @@
|
||||
<button class='btn btn-primary' data-toggle="modal" data-target="#customer_detail">Maklumat Pelanggan</button>
|
||||
</div>
|
||||
<div class="col-md-3 text-right">
|
||||
<a class="btn btn-primary" style="margin-right:-50px" id="daftar_gadai">Daftar Gadai</a>
|
||||
<a class="btn btn-primary" style="margin-right:-50px" id="daftar_gadai">Daftar P</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -155,7 +155,7 @@
|
||||
<tr>
|
||||
<th>Bil</th>
|
||||
<th>No Rujukan</th>
|
||||
<th>Tarikh Gadai</th>
|
||||
<th>Tarikh Pembiayaan</th>
|
||||
<th>Tarikh Matang</th>
|
||||
<th>Baki Harga Jualan</th>
|
||||
<th>Baki Pembiayaan</th>
|
||||
@@ -173,7 +173,7 @@
|
||||
<tr>
|
||||
<th>Bil</th>
|
||||
<th>No Rujukan</th>
|
||||
<th>Tarikh Gadai</th>
|
||||
<th>Tarikh Pembiayaan</th>
|
||||
<th>Tarikh Matang</th>
|
||||
<th>Pembiayaan</th>
|
||||
<th>Margin</th>
|
||||
@@ -192,7 +192,7 @@
|
||||
<tr>
|
||||
<th>Bil</th>
|
||||
<th>No Rujukan</th>
|
||||
<th>Tarikh Tebus</th>
|
||||
<th>Tarikh Penyelesaian Pem.</th>
|
||||
<th>Baki Pembiayaan</th>
|
||||
<th>Margin</th>
|
||||
<th>Tempoh</th>
|
||||
@@ -221,7 +221,7 @@
|
||||
<div class="text-center">
|
||||
<button class="btn btn-primary" onclick="ubahfunc(this)">Ubah</button>
|
||||
<button class="btn btn-primary" onclick="hapusfunc()">Hapus</button>
|
||||
<button class="btn btn-primary" onclick="histfunc()">Rekod Gadaian</button>
|
||||
<button class="btn btn-primary" onclick="histfunc()">Rekod Pembiayaan</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -526,7 +526,7 @@
|
||||
Swal.fire({
|
||||
icon: 'error',
|
||||
title: 'Amaran',
|
||||
text: 'Gadaian Mengalami Masalah Sila Hubungi IT'
|
||||
text: 'Pembiayaan Mengalami Masalah Sila Hubungi IT'
|
||||
});
|
||||
return false;
|
||||
}
|
||||
@@ -542,7 +542,7 @@
|
||||
if(data == 0){
|
||||
$.ajax({
|
||||
method:'get',
|
||||
url: api_url + '/api/polis/get/',
|
||||
url: api_url + '/api/polis/get',
|
||||
datatype:'json',
|
||||
data:{
|
||||
'kodcaw': "{{ $cawangan_info['kodcaw'] }}",
|
||||
@@ -566,7 +566,7 @@
|
||||
|
||||
swalWithBootstrapButtons.fire({
|
||||
title: 'Dapatkan Pengesahan Khazanah',
|
||||
text: "Surat Akuan Gadaian Hilang!",
|
||||
text: "Surat Akuan Gadai Hilang!",
|
||||
icon: 'info',
|
||||
showCancelButton: true,
|
||||
confirmButtonText: 'Hantar',
|
||||
@@ -576,7 +576,7 @@
|
||||
if (result.isConfirmed) {
|
||||
|
||||
// let komen = "Surat Akuan Gadaian Hilang|" + '-' + "|" + '-' + "|" + '-';
|
||||
let status = "Surat Akuan Gadaian Hilang";
|
||||
let status = "Surat Akuan Gadai Hilang";
|
||||
let marg = 0;
|
||||
let ber = 0;
|
||||
let nm = 0;
|
||||
@@ -697,7 +697,7 @@
|
||||
Swal.fire({
|
||||
icon: 'error',
|
||||
title: 'Amaran',
|
||||
text: 'Gadaian Belum Scan Barcode'
|
||||
text: 'Pembiayaan Belum Scan Barcode'
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -719,7 +719,7 @@
|
||||
Swal.fire({
|
||||
icon: 'error',
|
||||
title: 'Amaran',
|
||||
text: 'Gadaian Belum Scan Barcode'
|
||||
text: 'Pembiayaan Belum Scan Barcode'
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -731,7 +731,7 @@
|
||||
Swal.fire({
|
||||
icon: 'error',
|
||||
title: 'Amaran',
|
||||
text: 'Gadaian Sedang Dilelong..'
|
||||
text: 'Pembiayaan Sedang Dilelong..'
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -1762,7 +1762,7 @@
|
||||
|
||||
swalWithBootstrapButtons.fire({
|
||||
title: 'Dapatkan Pengesahan Khazanah',
|
||||
text: "Ubah Maklumat Gadaian",
|
||||
text: "Ubah Maklumat Pembiayaan",
|
||||
icon: 'info',
|
||||
showCancelButton: true,
|
||||
confirmButtonText: 'Hantar',
|
||||
@@ -2147,7 +2147,7 @@
|
||||
success:function(batalkomuditi){
|
||||
swalWithBootstrapButtons.fire(
|
||||
'Hapus!',
|
||||
'Maklumat gadaian telah dihapuskan.',
|
||||
'Maklumat Pembiayaan telah dihapuskan.',
|
||||
'success'
|
||||
).then(function(){
|
||||
location.reload();
|
||||
@@ -2210,7 +2210,7 @@
|
||||
}else if (result.dismiss === Swal.DismissReason.cancel) {
|
||||
swalWithBootstrapButtons.fire(
|
||||
'Batal',
|
||||
'Maklumat Gadaian Tidak Berjaya Dihapuskan',
|
||||
'Maklumat Pembiayaan Tidak Berjaya Dihapuskan',
|
||||
'error'
|
||||
)
|
||||
}
|
||||
|
||||
@@ -493,7 +493,7 @@
|
||||
Swal.fire({
|
||||
icon: 'warning',
|
||||
title: 'Amaran!',
|
||||
text: 'Pelanggan telah disenarai hitamkan dari gadaian'
|
||||
text: 'Pelanggan telah disenarai hitamkan dari Pembiayaan'
|
||||
});
|
||||
event.preventDefault();
|
||||
return false;
|
||||
|
||||
@@ -123,10 +123,10 @@
|
||||
<div class="col-md-12 mt-md-3 justify-content-between form-group row">
|
||||
<div class="btn-group btn-group-toggle col-md-6" data-toggle="buttons">
|
||||
<label class="btn btn-primary">
|
||||
<input type="radio" name="options" id="option1" value="belum_tebus" autocomplete="off" checked>Belum Tebus
|
||||
<input type="radio" name="options" id="option1" value="belum_tebus" autocomplete="off" checked>Belum Penyelesaian Pem.
|
||||
</label>
|
||||
<label class="btn btn-primary">
|
||||
<input type="radio" name="options" id="option2" value="sudah_tebus" autocomplete="off">Sudah Tebus
|
||||
<input type="radio" name="options" id="option2" value="sudah_tebus" autocomplete="off">Sudah Penyelesaian Pem.
|
||||
</label>
|
||||
<label class="btn btn-primary">
|
||||
<input type="radio" name="options" id="option3" value="lelong" autocomplete="off">Lelong
|
||||
@@ -136,7 +136,7 @@
|
||||
<button class='btn btn-primary' data-toggle="modal" data-target="#customer_detail">Maklumat Pelanggan</button>
|
||||
</div>
|
||||
<div class="col-md-3 text-right">
|
||||
<a class="btn btn-primary" style="margin-right:-50px" id="daftar_gadai">Daftar Gadai</a>
|
||||
<a class="btn btn-primary" style="margin-right:-50px" id="daftar_gadai">Daftar Pembiayaan</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -167,7 +167,7 @@
|
||||
<tr>
|
||||
<th>Bil</th>
|
||||
<th>No Rujukan</th>
|
||||
<th>Tarikh Gadai</th>
|
||||
<th>Tarikh Pembiayaan</th>
|
||||
<th>Tarikh Matang</th>
|
||||
<th>Baki Harga Jualan</th>
|
||||
<th>Baki Pembiayaan</th>
|
||||
@@ -195,7 +195,7 @@
|
||||
<tr>
|
||||
<th>Bil</th>
|
||||
<th>No Rujukan</th>
|
||||
<th>Tarikh Gadai</th>
|
||||
<th>Tarikh Pembiayaan</th>
|
||||
<th>Tarikh Matang</th>
|
||||
<th>Baki Harga Jualan</th>
|
||||
<th>Baki Pembiayaan</th>
|
||||
@@ -245,7 +245,7 @@
|
||||
<div class="text-center">
|
||||
<button class="btn btn-primary" onclick="ubahfunc(this)" id="button-edit-gadaian">Ubah</button>
|
||||
<button class="btn btn-primary" onclick="hapusfunc()">Hapus</button>
|
||||
<button class="btn btn-primary" onclick="histfunc()">Rekod Gadaian</button>
|
||||
<button class="btn btn-primary" onclick="histfunc()">Rekod Pembiayaan</button>
|
||||
{{-- <button class="btn btn-primary" onclick="removeansuran(this)" id="button-remove-ansuran">Hapus Ansuran</button> --}}
|
||||
</div>
|
||||
|
||||
@@ -594,7 +594,7 @@
|
||||
Swal.fire({
|
||||
icon: 'error',
|
||||
title: 'Amaran',
|
||||
text: 'Gadaian Mengalami Masalah Sila Hubungi IT'
|
||||
text: 'Pembiayaan Mengalami Masalah Sila Hubungi IT'
|
||||
});
|
||||
return false;
|
||||
}
|
||||
@@ -610,7 +610,7 @@
|
||||
if(data == 0){
|
||||
$.ajax({
|
||||
method:'get',
|
||||
url: api_url + '/api/polis/get/',
|
||||
url: api_url + '/api/polis/get',
|
||||
datatype:'json',
|
||||
data:{
|
||||
'kodcaw': "{{ $cawangan_info['kodcaw'] }}",
|
||||
@@ -634,7 +634,7 @@
|
||||
|
||||
swalWithBootstrapButtons.fire({
|
||||
title: 'Dapatkan Pengesahan Khazanah',
|
||||
text: "Surat Akuan Gadaian Hilang!",
|
||||
text: "Surat Akuan Gadai Hilang!",
|
||||
icon: 'info',
|
||||
showCancelButton: true,
|
||||
confirmButtonText: 'Hantar',
|
||||
@@ -644,7 +644,7 @@
|
||||
if (result.isConfirmed) {
|
||||
|
||||
// let komen = "Surat Akuan Gadaian Hilang|" + '-' + "|" + '-' + "|" + '-';
|
||||
let status = "Surat Akuan Gadaian Hilang";
|
||||
let status = "Surat Akuan Gadai Hilang";
|
||||
let marg = 0;
|
||||
let ber = 0;
|
||||
let nm = 0;
|
||||
@@ -765,7 +765,7 @@
|
||||
Swal.fire({
|
||||
icon: 'error',
|
||||
title: 'Amaran',
|
||||
text: 'Gadaian Belum Scan Barcode'
|
||||
text: 'Pembiayaan Belum Scan Barcode'
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -787,7 +787,7 @@
|
||||
Swal.fire({
|
||||
icon: 'error',
|
||||
title: 'Amaran',
|
||||
text: 'Gadaian Belum Scan Barcode'
|
||||
text: 'Pembiayaan Belum Scan Barcode'
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -799,7 +799,7 @@
|
||||
Swal.fire({
|
||||
icon: 'error',
|
||||
title: 'Amaran',
|
||||
text: 'Gadaian Sedang Dilelong..'
|
||||
text: 'Pembiayaan Sedang Dilelong..'
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -1928,7 +1928,7 @@
|
||||
|
||||
swalWithBootstrapButtons.fire({
|
||||
title: 'Dapatkan Pengesahan Khazanah',
|
||||
text: "Ubah Maklumat Gadaian",
|
||||
text: "Ubah Maklumat Pembiayaan",
|
||||
icon: 'info',
|
||||
showCancelButton: true,
|
||||
confirmButtonText: 'Hantar',
|
||||
@@ -2306,7 +2306,7 @@
|
||||
|
||||
swalWithBootstrapButtons.fire(
|
||||
'Hapus!',
|
||||
'Maklumat gadaian telah dihapuskan.',
|
||||
'Maklumat Pembiayaan telah dihapuskan.',
|
||||
'success'
|
||||
).then(function(){
|
||||
location.reload();
|
||||
@@ -2322,7 +2322,7 @@
|
||||
success:function(batalkomuditi){
|
||||
swalWithBootstrapButtons.fire(
|
||||
'Hapus!',
|
||||
'Maklumat gadaian telah dihapuskan.',
|
||||
'Maklumat Pembiayaan telah dihapuskan.',
|
||||
'success'
|
||||
).then(function(){
|
||||
location.reload();
|
||||
@@ -2385,7 +2385,7 @@
|
||||
}else if (result.dismiss === Swal.DismissReason.cancel) {
|
||||
swalWithBootstrapButtons.fire(
|
||||
'Batal',
|
||||
'Maklumat Gadaian Tidak Berjaya Dihapuskan',
|
||||
'Maklumat Pembiayaan Tidak Berjaya Dihapuskan',
|
||||
'error'
|
||||
)
|
||||
}
|
||||
@@ -2698,7 +2698,7 @@
|
||||
Swal.fire({
|
||||
icon: 'error',
|
||||
title: 'Amaran',
|
||||
text: 'Tiada Ansuran Hari Ini'
|
||||
text: 'Tiada Ansuran Pembiayaan Hari Ini'
|
||||
});
|
||||
return false;
|
||||
}
|
||||
@@ -2800,7 +2800,7 @@
|
||||
console.log('gagal');
|
||||
swalWithBootstrapButtons.fire(
|
||||
'Batal',
|
||||
'Maklumat Ansuran Tidak Berjaya',
|
||||
'Maklumat Ansuran Pembiayaan Tidak Berjaya',
|
||||
'error'
|
||||
)
|
||||
}
|
||||
@@ -2883,7 +2883,7 @@
|
||||
Swal.fire({
|
||||
icon: 'success',
|
||||
title: 'Berjaya!',
|
||||
text: `Hapus Ansuran Berjaya`
|
||||
text: `Hapus Ansuran Pembiayaan Berjaya`
|
||||
}).then(()=>{
|
||||
location.reload();
|
||||
});
|
||||
@@ -2893,7 +2893,7 @@
|
||||
Swal.fire({
|
||||
icon: 'error',
|
||||
title: 'Amaran!',
|
||||
text: `Hapus Ansuran `
|
||||
text: `Hapus Ansuran Pembiayaan `
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user