-
-
Pembiayaan
-
-
-
BULAN : RM {{ gadaianharian }}
-
HARI INI : RM {{ gadaianharian }}
-
BAJET : RM {{ bajetgadaian }}
-
VARIANS : RM {{ bajetgadaian }}
+
+
+
+
+
{{ this.percentcumgadai }}%
+
+
+
+ RM {{ gadaianremaining }}
+
-
-
- {{ percentgadaian.toFixed(2) }}%
-
-
-
- {{ percentgadaian.toFixed(2) }}%
-
+
+
+
+
+
+ RM {{ gadaianharian }}
+ RM {{ bajetgadaian }}
+
+
+
Pembiayaan
+ {{ this.bulan }}
+
+
+
{{ percentgadaian.toFixed(2) }}%
+
+
+
{{ percentgadaian.toFixed(2) }}%
+
-
-
- {{ percentgadaian.toFixed(2) }}%
-
+
+
{{ percentgadaian.toFixed(2) }}%
+
-
-
+
+
+
Varians.
+
+
+
-
-
- RM {{ penebusanharian }} / RM {{ bajetpenebusan }}
-
Penebusan Hari Ini
-
-
- {{ percentpenebusan.toFixed(2) }}%
-
-
-
- {{ percentpenebusan.toFixed(2) }}%
-
+
+
Varians.
+
+
-
-
- RM {{ keuntunganharian }} / RM {{ bajetkeuntungan }}
-
Keuntungan Hari Ini
-
-
- {{ percentkeuntungan.toFixed(2) }}%
-
-
-
-
-
- {{ percentkeuntungan.toFixed(2) }}%
-
+
+
+
+
{{percentcumkeuntungan}}%
+
+
+
+ RM {{ keuntunganremaining }}
+
+
+
+
+
+
+
+
+
+ RM {{ keuntunganharian }}
+ RM {{ bajetkeuntungan }}
+
+
+
Keuntungan
+ {{ this.bulan }}
+
+
+
{{ percentkeuntungan.toFixed(2) }}%
+
+
+
+
+
{{ percentkeuntungan.toFixed(2) }}%
+
-
-
-
- {{ percentkeuntungan.toFixed(2) }}%
-
+
+
+
{{ percentkeuntungan.toFixed(2) }}%
+
-
-
-
+
+
+
Varians.
+
+
+
+
@@ -100,12 +156,19 @@ export default {
keuntunganharian:0,
bajetkeuntungan:0,
percentkeuntungan:0,
+ keuntunganremaining:0,
+ percentcumkeuntungan:0,
penebusanharian:0,
bajetpenebusan:0,
percentpenebusan:0,
+ tebusremaining:0,
+ percentcumtebus:0,
gadaianharian:0,
- bajetgadai:0,
- percentgadaian:0
+ gadaianremaining:0,
+ bajetgadaian:0,
+ percentgadaian:0,
+ percentcumgadai:0,
+ bulan:'',
};
},
created() {
@@ -120,9 +183,12 @@ export default {
kodcaw: this.$props.kodcaw
}
}).then(response => {
- this.gadaianharian = formatter.format(response.data[0].gadaiToday)
- this.bajetgadaian = formatter.format(response.data[0].bajetharian)
- this.percentgadaian = response.data[0].percentDiff
+ this.gadaianharian = formatter.format(response.data[0].gadaiToday),
+ this.bajetgadaian = formatter.format(response.data[0].bajetharian.toFixed(2)),
+ this.percentgadaian = response.data[0].percentDiff,
+ this.bulan = response.data[0].bulan,
+ this.gadaianremaining = formatter.format(response.data[0].remaining.toFixed(2)),
+ this.percentcumgadai = (100 - response.data[0].percentcum)
}).catch(error => {
console.log(error)
})
@@ -133,9 +199,11 @@ export default {
kodcaw: this.$props.kodcaw
}
}).then(response => {
- this.penebusanharian = formatter.format(response.data[0].tebusToday)
- this.bajetpenebusan = formatter.format(response.data[0].bajetharian)
- this.percentpenebusan = response.data[0].percentDiff
+ this.penebusanharian = formatter.format(response.data[0].tebusToday),
+ this.bajetpenebusan = formatter.format(response.data[0].bajetharian.toFixed(2)),
+ this.percentpenebusan = response.data[0].percentDiff,
+ this.tebusremaining = formatter.format(response.data[0].remaining.toFixed(2)),
+ this.percentcumtebus = (100 - response.data[0].percentcum)
}).catch(error => {
console.log(error)
})
@@ -146,9 +214,11 @@ export default {
kodcaw: this.$props.kodcaw
}
}).then(response => {
- this.keuntunganharian = formatter.format(response.data[0].upahToday)
- this.bajetkeuntungan = formatter.format(response.data[0].bajetharian)
- this.percentkeuntungan = response.data[0].percentDiff
+ this.keuntunganharian = formatter.format(response.data[0].upahToday),
+ this.bajetkeuntungan = formatter.format(response.data[0].bajetharian.toFixed(2)),
+ this.percentkeuntungan = response.data[0].percentDiff,
+ this.keuntunganremaining = formatter.format(response.data[0].remaining.toFixed(2)),
+ this.percentcumkeuntungan = (100 - response.data[0].percentcum)
}).catch(error => {
console.log(error)
})
diff --git a/resources/js/components/Chart/KeuntunganChart.vue b/resources/js/components/Chart/KeuntunganChart.vue
index 3a7fba6..fa219c4 100644
--- a/resources/js/components/Chart/KeuntunganChart.vue
+++ b/resources/js/components/Chart/KeuntunganChart.vue
@@ -112,6 +112,13 @@ export default {
console.log(`${response}`);
this.getDatakeuntungan()
});
+
+ var channel2 = this.$pusher.subscribe('tebus-notify');
+
+ channel2.bind('trigger-tebus', ({ response }) => {
+ console.log(`${response}`);
+ this.getDatakeuntungan()
+ });
}
}
diff --git a/resources/js/components/Searchpelanggan.vue b/resources/js/components/Searchpelanggan.vue
index d089a30..0585bc0 100644
--- a/resources/js/components/Searchpelanggan.vue
+++ b/resources/js/components/Searchpelanggan.vue
@@ -135,14 +135,13 @@ export default{
// window.location.href = route('admin.detailspelanggan', options.cust);
// return route('admin.detailspelanggan', options.cust)
- return window.route('pelanggan.detailspelanggan', options.cust)
+
+ return window.route('pelanggan.detailspelanggan', options.cust)
},
ClickUrl: function(e){
window.location.href = e.target.getAttribute('href');
}
-
-
}
}
diff --git a/resources/js/components/util/Clock.vue b/resources/js/components/util/Clock.vue
new file mode 100644
index 0000000..a41ef7b
--- /dev/null
+++ b/resources/js/components/util/Clock.vue
@@ -0,0 +1,42 @@
+
+ {{ time }} {{ date }}
+
+
+
\ No newline at end of file
diff --git a/resources/js/pages/Blacklist.vue b/resources/js/pages/Blacklist.vue
new file mode 100644
index 0000000..37df50c
--- /dev/null
+++ b/resources/js/pages/Blacklist.vue
@@ -0,0 +1,8 @@
+
+
+
+
\ No newline at end of file
diff --git a/resources/views/akaun/laporan_lejer_am_pdf.blade.php b/resources/views/akaun/laporan_lejer_am_pdf.blade.php
new file mode 100644
index 0000000..f1d37c5
--- /dev/null
+++ b/resources/views/akaun/laporan_lejer_am_pdf.blade.php
@@ -0,0 +1,375 @@
+
+
+
+
+| LEJER AM - {{ $cawangan_detail['namacaw'] }} |
+
+
+
+
+
+ [ TARIKH DARI :
+ @php
+ // $myDateTime = DateTime::createFromFormat('Y-m-d', $tarikh_mula);
+ // $tarikhmula = $myDateTime->format('d-m-Y');
+ echo($tarikh_mula)
+ @endphp
+ .....
+ HINGGA : @php
+ // $myDateTime = DateTime::createFromFormat('Y-m-d', $tarikh_akhir);
+ // $tarikhakhir = $myDateTime->format('d-m-Y');
+ echo($tarikh_akhir)
+ @endphp ]
+ TARIKH CETAK : @php
+ // $myDateTime = DateTime::createFromFormat('Y-m-d', $tarikh_cetak);
+ // $tarikh_cetak = $myDateTime->format('d-m-Y');
+ echo($tarikh_cetak)
+ @endphp
+
+
+
+
+
+
+ | KOD GL |
+ KETERANGAN |
+ DEBIT |
+ KREDIT |
+ JUMLAH |
+
+
+ @foreach($lejeram as $index => $lejer)
+
+ | {{ $lejer['glcode'] }} |
+ {{ $lejer['descpt'] }} |
+ {{ number_format($lejer['debit'],2) }} |
+ {{ number_format($lejer['kredit'],2) }} |
+ @php $Totalsama = $lejer['debit'] - $lejer['kredit']; echo number_format($Totalsama,2); @endphp |
+
+ @endforeach
+
+
+ | Jumlah: |
+ {{ number_format($totalsamadebit,2) }} |
+ {{ number_format($totalsamakredit,2) }} |
+ @php $Total = $totalsamadebit - $totalsamakredit; echo number_format($Total,2); @endphp |
+
+
+
+
+
+
+
+ |
+ .................................................................. |
+ |
+ .................................................................. |
+ |
+
+
+ |
+ DI SEMAK |
+ |
+ DI SAHKAN |
+ |
+
+
diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php
index ab3f86d..46c6143 100644
--- a/resources/views/layouts/app.blade.php
+++ b/resources/views/layouts/app.blade.php
@@ -119,6 +119,14 @@
@auth
+ {{--