fix skit2

This commit is contained in:
hafifierahman
2022-08-09 18:24:03 +08:00
parent e0a1ce8415
commit ebdc409762
2 changed files with 5 additions and 3 deletions
+2
View File
@@ -244,6 +244,7 @@ export default {
});
},
cetaksenarai: function () {
let cawangan = this.$kodcaw;
if (this.selectedNorujukan.length > 0) {
let urldirect = window.route('wtd.cetak');
let noruj = JSON.stringify(this.selectedNorujukan);
@@ -258,6 +259,7 @@ export default {
},
cetakpdf: function () {
let cawangan = this.$kodcaw;
if (this.selectedNorujukan.length > 0) {
let urldirect = window.route('wtd.cetak');
let noruj = JSON.stringify(this.selectedNorujukan);
@@ -292,15 +292,15 @@
<tr>
<th style="width:50%">TEMPOH </th>
<th style="width:30%"> BIL GADAIAN </th>
<th style="width:30%"> JUM PEMBIAYAAN (RM) </th>
<th style="width:50%"> BAKI PEMBIAYAAN (RM) </th>
</tr>
@php$jumlahcount = 0;$jumlahsum = 0; @endphp
@php $jumlahcount = 0;$jumlahsum = 0; @endphp
@foreach($aging[0]['count'] as $index=>$ag)
@php
$jumlahcount += $ag; $jumlahsum += $aging[0]['sum'][$index];
@endphp
<tr>
<td>TEMPOH {{ ($index == 12) ? '12 >' : $index+1 }}
<td>{{ ($index == 12) ? '12 >' : $index+1 }}
BULAN</td>
<td>{{ number_format($ag) }}</td>
<td>{{ number_format($aging[0]['sum'][$index],2) }}</td>