added audit logs in marginmutu operasi

This commit is contained in:
Hafifie PKB
2026-03-11 11:05:36 +08:00
parent 55168f350a
commit 79ee2be97e
@@ -68,6 +68,8 @@ $(document).ready(function() {
$('#pc').val(urlParams.get('pc')); $('#pc').val(urlParams.get('pc'));
$('#operasi').val(urlParams.get('operasi')); $('#operasi').val(urlParams.get('operasi'));
var username = '{{ Auth::user()->name }}';
$('#editMarginForm').on('submit', function(e) { $('#editMarginForm').on('submit', function(e) {
e.preventDefault(); e.preventDefault();
@@ -78,7 +80,8 @@ $(document).ready(function() {
teller: $('#teller').val(), teller: $('#teller').val(),
pc: $('#pc').val(), pc: $('#pc').val(),
operasi: $('#operasi').val(), operasi: $('#operasi').val(),
_token: $('input[name="_token"]').val() _token: $('input[name="_token"]').val(),
username : username
}; };
$.ajax({ $.ajax({