diff --git a/.env.example b/.env.example
index 08f12b4..287668c 100644
--- a/.env.example
+++ b/.env.example
@@ -1,3 +1,3 @@
FOLDER_PATH="public/content"
-URL_BASE="ws://10.10.150.222:8080/api/v1/ws"
+URL_BASE="ws://10.10.150.239:8080/api/v1/ws"
QUERY="user_id=QRIS&room=BANKJATIM"
\ No newline at end of file
diff --git a/components/QRISPayment.vue b/components/QRISPayment.vue
index a8e1da2..c1732bb 100644
--- a/components/QRISPayment.vue
+++ b/components/QRISPayment.vue
@@ -23,7 +23,7 @@
@@ -47,7 +47,22 @@
+
+
+
+ mdi-credit-card-outline
+ No Virtual Account
+
+
+ {{ paymentStore.qrData.qrvalue }}
+
+
+
+
windowHeight.value > windowWidth.value);
const qrSize = computed(() => (isPortrait.value ? 280 : 240));
+// Computed untuk mengecek apakah invoice number sama dengan qrvalue
+const isInvoiceMatchQR = computed(() => {
+ const invoiceNumber = paymentStore.qrData.invoice_number;
+ const qrValue = paymentStore.qrData.qrvalue;
+ return invoiceNumber && qrValue && invoiceNumber === qrValue;
+});
+
const expiryDisplayTime = ref("Menghitung...");
let countdownInterval = null;
@@ -407,7 +429,7 @@ watch(isPortrait, () => {
justify-content: center;
}
-.qris-logo {
+.jatim-logo {
filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
transition: transform 0.3s ease;
align-items: baseline;
@@ -520,6 +542,20 @@ watch(isPortrait, () => {
animation: scanning 2s ease-in-out infinite;
}
+.qris-logo {
+ filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
+ transition: transform 0.3s ease;
+ align-items: baseline;
+ margin-right: 5px;
+}
+
+.invoice-text {
+ color: #1a1a1a;
+ font-weight: 700;
+ font-size: 1.2rem;
+ margin-left: 1.5rem;
+}
+
@keyframes scanning {
0% {
top: 2rem;
@@ -795,6 +831,11 @@ watch(isPortrait, () => {
margin-right: 20px;
}
+ .invoice-text {
+ font-size: 2rem;
+ padding: 1rem 1.5rem;
+ }
+
.scan-line {
top: 2.5rem;
}
diff --git a/stores/payment.ts b/stores/payment.ts
index 3fdb3a7..9346e97 100644
--- a/stores/payment.ts
+++ b/stores/payment.ts
@@ -35,6 +35,7 @@ export const usePaymentStore = defineStore("payment", {
expiry: "",
},
qrData: {
+ invoice_number: null,
qrvalue: null,
display_nobill: null,
display_name: null,