finished notification

This commit is contained in:
hafifierahman
2024-11-08 22:00:17 +08:00
parent 4c113cb052
commit c4388321aa
9 changed files with 688 additions and 36 deletions
@@ -214,6 +214,7 @@
<th>Debit (RM)</th>
<th>Kredit (RM)</th>
<th>Nota</th>
<th>Tindakan</th>
</tr>
</thead>
<tbody>
@@ -225,6 +226,7 @@
<td> {{ number_format($at['tambah'],2) }} </td>
<td> {{ number_format($at['kurang'],2) }} </td>
<td> {{ $at['nota'] }}</td>
<td><btn class="btn btn-primary"><i class="fas fa-print" onclick="rekodprint({{ $at['recno'] }})"></i></btn></td>
</tr>
@endforeach
@endif
@@ -602,8 +604,16 @@
});
}
function rekodprint(recno){
let urlroute = '{{ route("laporan.tunaiteller") }}';
urlroute += '?recno=' + encodeURIComponent(recno);
window.open(urlroute, '_blank');
}
let pusherenv = "{{ env('PUSHER_APP_KEY') }}";
let laporanroute = "{{ route('laporan.serahantellerberkala') }}";
let event_tellercash = "{{ route('event.tellercash') }}";
</script>
<script src="{{ asset('js/main.js') }}"></script>
@endsection