diff --git a/resources/views/customers/v2/info.blade.php b/resources/views/customers/v2/info.blade.php
index 11b97d8..ae2c249 100644
--- a/resources/views/customers/v2/info.blade.php
+++ b/resources/views/customers/v2/info.blade.php
@@ -852,7 +852,7 @@
'RM '+formatter.format(gadai_detail['bakipjm']),
(((Number(gadai_detail['pinjaman'])/Number(gadai_detail['nilaimarhun']))*100).toFixed(2)).toLocaleString("en-GB") + '%',
gadai_detail['tempoh'],
- 'RM '+ upahsemasa,
+ 'RM '+ formatter.format(upahsemasa),
'
' + taglel + '
',
]).draw();
}else{
@@ -895,7 +895,7 @@
'RM '+formatter.format(gadai_detail['bakipjm']),
(((Number(gadai_detail['pinjaman'])/Number(gadai_detail['nilaimarhun']))*100).toFixed(2)).toLocaleString("en-GB") + '%',
gadai_detail['tempoh'],
- 'RM '+ upahsemasa['pendapatan'],
+ 'RM '+ formatter.format(upahsemasa['pendapatan']),
'' + taglel + '
',
]).draw();
}
@@ -2217,23 +2217,32 @@
url: api_url + '/api/gadai/hapus/' + kodcaw + '/' + id,
data: { 'kodlaluan' : teller },
success:function(data){
- $.ajax({
- method:'put',
- url: api_url + '/api/komuditi/batal',
- dataType:'json',
- data:{
- norujukan: hapusid
- },
- success:function(batalkomuditi){
- swalWithBootstrapButtons.fire(
- 'Hapus!',
- 'Maklumat gadaian telah dihapuskan.',
- 'success'
- ).then(function(){
- location.reload();
- });
- }
- })
+
+ swalWithBootstrapButtons.fire(
+ 'Hapus!',
+ 'Maklumat gadaian telah dihapuskan.',
+ 'success'
+ ).then(function(){
+ location.reload();
+ });
+
+ // $.ajax({
+ // method:'put',
+ // url: api_url + '/api/komuditi/batal',
+ // dataType:'json',
+ // data:{
+ // norujukan: hapusid
+ // },
+ // success:function(batalkomuditi){
+ // swalWithBootstrapButtons.fire(
+ // 'Hapus!',
+ // 'Maklumat gadaian telah dihapuskan.',
+ // 'success'
+ // ).then(function(){
+ // location.reload();
+ // });
+ // }
+ // })
},error: function(xhr, status, error) {
var err = eval("(" + xhr.responseText + ")");
alert(xhr.responseText);
diff --git a/resources/views/penebusan/v2/index.blade.php b/resources/views/penebusan/v2/index.blade.php
index 0dd8d00..204f0ad 100644
--- a/resources/views/penebusan/v2/index.blade.php
+++ b/resources/views/penebusan/v2/index.blade.php
@@ -170,7 +170,7 @@