From ccd5962dbf88a27bbc61fd2c94b7f3f30aef7932 Mon Sep 17 00:00:00 2001 From: afiq Date: Wed, 10 Feb 2021 17:15:14 +0800 Subject: [PATCH] new update --- resources/views/customers/info.blade.php | 85 ++++++++++++++++---- resources/views/modal/historytebus.blade.php | 67 +++++++++++---- resources/views/penebusan/index.blade.php | 37 --------- 3 files changed, 123 insertions(+), 66 deletions(-) diff --git a/resources/views/customers/info.blade.php b/resources/views/customers/info.blade.php index 963c7e4..6df3a06 100644 --- a/resources/views/customers/info.blade.php +++ b/resources/views/customers/info.blade.php @@ -18,7 +18,6 @@ - diff --git a/resources/views/penebusan/index.blade.php b/resources/views/penebusan/index.blade.php index ddec107..f9c6774 100644 --- a/resources/views/penebusan/index.blade.php +++ b/resources/views/penebusan/index.blade.php @@ -264,7 +264,6 @@
-
@@ -1475,42 +1474,6 @@ function ubahwakil(e) } -function historybayaran() -{ - $.ajax({ - method: 'get', - url: api + '/api/transaction/' + norujukan, - success: function(data) - { - historybayarantable(data); - $('#historybayaranModal').modal(); - } - }); -} - - - - function historybayarantable(data){ - var counter = 1; - - historybayarandatatable.clear().draw(); - $.each(data,function(index,bayaran){ - - var urlroute = '{{ route("resit.ansuran", ":id") }}'; - urlroute = urlroute.replace(':id', bayaran['id']); - - console.log(bayaran['']); - historybayarandatatable.row.add([ - counter, - bayaran['created_at'], - "RM " + bayaran['duit_masuk'], - 'Cetak' - ]).draw(); - counter = counter + 1; - }); - } - - // Restricts input for the set of matched elements to the given inputFilter function. (function($) { $.fn.inputFilter = function(inputFilter) {