diff --git a/resources/views/operasi/daftar_kakitangan.blade.php b/resources/views/operasi/daftar_kakitangan.blade.php index 15745a3..5eb6922 100644 --- a/resources/views/operasi/daftar_kakitangan.blade.php +++ b/resources/views/operasi/daftar_kakitangan.blade.php @@ -166,7 +166,8 @@ var tablerekod = $('#rekod_kakitangan').DataTable(); - $('.btn-delete').on('click', function(){ + $("#rekod_kakitangan").on('click', ".btn-delete", function(){ + //$('.btn-delete').on('click', function(){ // var form = $(this).closest('form'); var roles = $(this).data('roles'); var staff_id = $(this).data('staff-id'); diff --git a/resources/views/print/laporan_petibesi.blade.php b/resources/views/print/laporan_petibesi.blade.php index ccea30e..58a52f5 100644 --- a/resources/views/print/laporan_petibesi.blade.php +++ b/resources/views/print/laporan_petibesi.blade.php @@ -220,7 +220,11 @@
Tuan/Puan adalah dikehendaki untuk membuat urusan berikut pada atau sebelum @php $myDateTime = DateTime::createFromFormat('Y-m-d', $lel['tarikhlelong'] ); - $datez = $myDateTime->modify('-2 day')->format('d-m-Y'); + $datez = $myDateTime->modify('-3 day')->format('d-m-Y'); echo($datez); @endphp:-