diff --git a/resources/js/WTD/SenaraiBakiLelong.vue b/resources/js/WTD/SenaraiBakiLelong.vue index 842bb2f..545cce1 100644 --- a/resources/js/WTD/SenaraiBakiLelong.vue +++ b/resources/js/WTD/SenaraiBakiLelong.vue @@ -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); diff --git a/resources/views/akaun/laporan_aging.blade.php b/resources/views/akaun/laporan_aging.blade.php index 7418d5c..f5ec39d 100644 --- a/resources/views/akaun/laporan_aging.blade.php +++ b/resources/views/akaun/laporan_aging.blade.php @@ -292,15 +292,15 @@ TEMPOH BIL GADAIAN - JUM PEMBIAYAAN (RM) + BAKI PEMBIAYAAN (RM) - @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 - TEMPOH {{ ($index == 12) ? '12 >' : $index+1 }} + {{ ($index == 12) ? '12 >' : $index+1 }} BULAN {{ number_format($ag) }} {{ number_format($aging[0]['sum'][$index],2) }}