From 79ee2be97e4782e6d42308f648a76ff768e133d5 Mon Sep 17 00:00:00 2001 From: Hafifie PKB Date: Wed, 11 Mar 2026 11:05:36 +0800 Subject: [PATCH] added audit logs in marginmutu operasi --- resources/views/operasi/edit_marginmutu.blade.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/resources/views/operasi/edit_marginmutu.blade.php b/resources/views/operasi/edit_marginmutu.blade.php index 0cfe9f7..ae1333e 100644 --- a/resources/views/operasi/edit_marginmutu.blade.php +++ b/resources/views/operasi/edit_marginmutu.blade.php @@ -67,6 +67,8 @@ $(document).ready(function() { $('#teller').val(urlParams.get('teller')); $('#pc').val(urlParams.get('pc')); $('#operasi').val(urlParams.get('operasi')); + + var username = '{{ Auth::user()->name }}'; $('#editMarginForm').on('submit', function(e) { e.preventDefault(); @@ -78,7 +80,8 @@ $(document).ready(function() { teller: $('#teller').val(), pc: $('#pc').val(), operasi: $('#operasi').val(), - _token: $('input[name="_token"]').val() + _token: $('input[name="_token"]').val(), + username : username }; $.ajax({