added rekod tunai in aliran tunai

This commit is contained in:
Hafifie PKB
2024-11-17 14:07:57 +08:00
parent f59e0a4d4e
commit 8383bb80c2
4 changed files with 523 additions and 0 deletions
@@ -174,6 +174,7 @@
<th>Pembiayaan</th>
<th>Penebusan</th>
<th>B/F</th>
<th>Tindakan</th>
</tr>
</thead>
<tbody>
@@ -187,6 +188,7 @@
<td>{{ number_format($tp['keluar'],2) }}</td>
<td>{{ number_format($tp['masuk'],2) }}</td>
<td>{{ number_format($tp['baki'],2) }}</td>
<td><btn class="btn btn-primary"><i class="fas fa-print" onclick="rec_acc_statement({{ strtotime($tp['tarikh']) }})"></i></btn></td>
</tr>
@endforeach
@endif
@@ -611,6 +613,14 @@
window.open(urlroute, '_blank');
}
function rec_acc_statement(tarikh){
console.log(tarikh);
let urlroute = '{{ route("laporan.acc_statement" )}}';
urlroute += '?tarikh=' + tarikh;
window.open(urlroute, '_blank');
}
let pusherenv = "{{ env('PUSHER_APP_KEY') }}";
let laporanroute = "{{ route('laporan.serahantellerberkala') }}";
let event_tellercash = "{{ route('event.tellercash') }}";