diff --git a/src/components/list/ListItem.vue b/src/components/list/ListItem.vue index 86437de..4f2ef85 100644 --- a/src/components/list/ListItem.vue +++ b/src/components/list/ListItem.vue @@ -459,16 +459,14 @@ Tambah Ke Troli --> + + + + Loading... + + + + + + + + + + Gambar sedang disemak oleh bahagian pengurusan. Sila tunggu sebentar. + + + + + + + + # + ID Gambar + Masa Muat Naik + Gambar + Tindakan + + + {{ index + 1 }} + {{ receipt.id }} + {{ receipt.masa_upload }} + + + + + + Padam + + + + + + + + + + ADAKAH ANDA PASTI UNTUK PADAM GAMBAR INI? + ID Gambar: {{ selectPhoto.id }} + + *Tindakan ini tidak dapat dikembalikan + + + + + + + + + Tiada Gambar Yang Dimuat Naik + + + + \ No newline at end of file diff --git a/src/components/pay/ReceiptImage.vue b/src/components/pay/ReceiptImage.vue new file mode 100644 index 0000000..bb2dd44 --- /dev/null +++ b/src/components/pay/ReceiptImage.vue @@ -0,0 +1,55 @@ + + + + + + Lihat Gambar + + + + diff --git a/src/components/pay/ThePayCdm.vue b/src/components/pay/ThePayCdm.vue new file mode 100644 index 0000000..3a528e6 --- /dev/null +++ b/src/components/pay/ThePayCdm.vue @@ -0,0 +1,225 @@ + + + + + + Loading... + + + + + + + + + + Pembayaran Bidaan Menggunakan CDM + + + Tarikh Lelong : {{ tarikhLelong }} + + + + + No Account Bank: 10291029109209 + + *Sila buat bayaran menggunakan nombor akaun ini sahaja dan muat + naik gambar resit dibawah. + + + + + + Bil + Cawangan + Jumlah Harga Bida + + + * + KOTA BHARU 2 + RMXXXX + + + * + WAKAF BHARU + RMXXXX + + + Jumlah Yang Perlu Di Bank-In + RMXXXXX + + + + + + + + + + + + + + + + + + + + + + + + + + + Tiada Data. + + + Sila rujuk halaman + Keputusan + untuk maklumat rekod bidaan menang. + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/result/ResultDetail.vue b/src/components/result/ResultDetail.vue index 78eab4b..4f668c6 100644 --- a/src/components/result/ResultDetail.vue +++ b/src/components/result/ResultDetail.vue @@ -11,46 +11,64 @@ - - - - - Keputusan Tarikh Lelongan: {{ tarikhLelong }} - - - - - - - - - + + + + + + + Keputusan Tarikh Lelongan: {{ tarikhLelong }} + + + + + + + + + + *Sila klik butang diatas untuk lakukan bayaran. + + + + @@ -75,10 +93,12 @@ class="p-button-sm mb-3" v-on:click="downloadPdf(list.kodcaw)" v-if="list.status_payment_cawangan == 1" - v-tooltip="'Muat Turun'" /> - + Bil @@ -261,13 +281,11 @@ @@ -308,6 +326,21 @@ :breakpoints="{ '960px': '75vw', '640px': '90vw' }" :style="{ width: '50vw' }" :modal="true" + :show-layout="false" + :float-layout="true" + :enable-download="true" + :preview-modal="true" + :paginate-elements-by-height="1400" + filename="hee hee" + :pdf-quality="2" + :manual-pagination="false" + pdf-format="a4" + pdf-orientation="landscape" + pdf-content-width="800px" + @progress="onProgress($event)" + @hasStartedGeneration="hasStartedGeneration()" + @hasGenerated="hasGenerated($event)" + ref="html2Pdf" > SURAT KETERANGAN KEPEMILIKAN BARANG @@ -343,7 +376,7 @@ - + @@ -354,6 +387,7 @@ import jsPDF from "jspdf"; import "jspdf-autotable"; import html2canvas from "html2canvas"; +import VueHtml2pdf from "vue-html2pdf"; import axios from "axios"; import ItemMasterImageModal from "../list/ItemMasterImageModal.vue"; @@ -420,6 +454,9 @@ export default { clickPayButton(value) { this.$router.push({ name: "pay", params: { lelongId: value } }); }, + clickPayCdmButton(value) { + this.$router.push({ name: "pay-cdm", params: { lelongId: value } }); + }, clickBackButton() { this.$router.push({ name: "result" }); }, @@ -449,6 +486,32 @@ export default { }); }, muatTurunPdf() { + // var doc = new jsPDF(); + + // doc.html(document.body, { + // callback: function (doc) { + // doc.save(); + // }, + // x: 1, + // y: 1, + // }); + + // const doc = new jsPDF(); + // const html = this.$refs.content.innerHTML; + + // doc.html(html, 15, 15, { + // width: 150, + // }); + + // doc.save("output.pdf"); + + this.$refs.html2Pdf.generatePdf(); + + // var imgData = canvas.toDataURL("image/png"); + // var doc = new jsPDF("p", "mm"); + // doc.addImage(imgData, "PNG", 10, 10); + // doc.save("sample-file.pdf"); + // const doc = new jsPDF(); // doc.autoTable({ html: "#hak-barang" }); // const html = this.$refs.hakbarang.innerHTML; @@ -480,26 +543,7 @@ export default { background: #fff !important; } -.button-custom { - height: 20px; - width: 10px !important; -} - .container-height { min-height: 70vh; } - -.style-info { - background: #e4f8f0; - border: solid #1ea97c; - border-width: 0px; - color: #1ea97c; - font-size: 1rem; - align-items: center; - display: flex; - padding: 0.4rem 0.9rem; - margin: 0; - border-radius: 6px; - font-weight: 400; -} \ No newline at end of file diff --git a/src/components/result/ResultMain.vue b/src/components/result/ResultMain.vue index 9de6728..7752cf4 100644 --- a/src/components/result/ResultMain.vue +++ b/src/components/result/ResultMain.vue @@ -19,7 +19,7 @@ Bidaan Yang Berjaya *Pembayaran hendaklah diselesaikan SEGERA dan barang lelongan - mesti DITUNTUT di cawangan terlibat SEBELUM jam 4.00 petang + mesti DITUNTUT di cawangan terlibat SEBELUM jam 4.00 petang hari lelongan. @@ -57,12 +57,14 @@ > - + + +
+ *Tindakan ini tidak dapat dikembalikan +
SURAT KETERANGAN KEPEMILIKAN BARANG