|
@@ -53,9 +53,9 @@
|
|
|
@for(int r=0; r<5; r++) {
|
|
@for(int r=0; r<5; r++) {
|
|
|
var resTitle = isBigSmall ? (r % 2 == 0 ? "Big" : "Small") : (r % 2 == 0 ? "Odd" : "Even");
|
|
var resTitle = isBigSmall ? (r % 2 == 0 ? "Big" : "Small") : (r % 2 == 0 ? "Odd" : "Even");
|
|
|
var resColor = isBigSmall ? (resTitle == "Big" ? "#A2FF00" : "#FF4157") : (resTitle == "Odd" ? "#FFC700" : "#B33BD0");
|
|
var resColor = isBigSmall ? (resTitle == "Big" ? "#A2FF00" : "#FF4157") : (resTitle == "Odd" ? "#FFC700" : "#B33BD0");
|
|
|
- <div class="flex flex-col items-center justify-center min-h-[56px] flex-1 rounded-lg py-1.5 border border-gray-200" style="background: linear-gradient(136deg, #FFFAE6 0%, #FFE588 100%);">
|
|
|
|
|
- <span class="text-[10px] font-bold text-black whitespace-nowrap opacity-70">Mar @(16+r)</span>
|
|
|
|
|
- <span class="text-[18px] font-black leading-tight" style="-webkit-text-stroke: 0.5px #000; color: @resColor;">@resTitle</span>
|
|
|
|
|
|
|
+ <div class="flex flex-col items-center justify-center min-h-[64px] flex-1 rounded-lg py-1.5 border border-gray-200" style="background: linear-gradient(136deg, #FFFAE6 0%, #FFE588 100%);">
|
|
|
|
|
+ <span class="text-[11px] font-bold text-black whitespace-nowrap opacity-70">Mar @(16+r)</span>
|
|
|
|
|
+ <span class="text-[22px] font-black leading-tight" style="-webkit-text-stroke: 0.5px #000; color: @resColor;">@resTitle</span>
|
|
|
</div>
|
|
</div>
|
|
|
}
|
|
}
|
|
|
</div>
|
|
</div>
|
|
@@ -71,7 +71,7 @@
|
|
|
<div class="flex flex-col items-center pt-4 pb-3 px-3 relative z-10 h-full justify-between">
|
|
<div class="flex flex-col items-center pt-4 pb-3 px-3 relative z-10 h-full justify-between">
|
|
|
<div class="flex flex-col items-center w-full">
|
|
<div class="flex flex-col items-center w-full">
|
|
|
<div class="h-[34px] flex items-center justify-center">
|
|
<div class="h-[34px] flex items-center justify-center">
|
|
|
- <div class="text-[30px] font-[800] leading-none" style="-webkit-text-stroke: 1px #000; text-shadow: 1px 2px 2px rgba(0,0,0,0.15); color: @(isBigSmall ? "#A2FF00" : "#FFC700");">@(isBigSmall ? "Big" : "Odd")</div>
|
|
|
|
|
|
|
+ <div class="text-[40px] font-[800] leading-none" style="-webkit-text-stroke: 1px #000; text-shadow: 1px 2px 2px rgba(0,0,0,0.15); color: @(isBigSmall ? "#A2FF00" : "#FFC700");">@(isBigSmall ? "Big" : "Odd")</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="text-[11px] font-medium text-gray-500 mt-1 h-[28px] text-center leading-tight">
|
|
<div class="text-[11px] font-medium text-gray-500 mt-1 h-[28px] text-center leading-tight">
|
|
|
@(isBigSmall ? "13 number from" : "Odd numbers") <br/> <b>@(isBigSmall ? "41-80" : "1, 3, 5, 7, 9")</b>
|
|
@(isBigSmall ? "13 number from" : "Odd numbers") <br/> <b>@(isBigSmall ? "41-80" : "1, 3, 5, 7, 9")</b>
|
|
@@ -99,7 +99,7 @@
|
|
|
<div class="flex flex-col items-center pt-4 pb-3 px-3 relative z-10 h-full justify-between">
|
|
<div class="flex flex-col items-center pt-4 pb-3 px-3 relative z-10 h-full justify-between">
|
|
|
<div class="flex flex-col items-center w-full">
|
|
<div class="flex flex-col items-center w-full">
|
|
|
<div class="h-[34px] flex items-center justify-center">
|
|
<div class="h-[34px] flex items-center justify-center">
|
|
|
- <div class="text-[22px] font-[800] leading-none italic" style="-webkit-text-stroke: 1px #000; text-shadow: 1px 2px 2px rgba(0,0,0,0.15); color: @(isBigSmall ? "#FF4157" : "#B33BD0");">@(isBigSmall ? "Small" : "Even")</div>
|
|
|
|
|
|
|
+ <div class="text-[40px] font-[800] leading-none italic" style="-webkit-text-stroke: 1px #000; text-shadow: 1px 2px 2px rgba(0,0,0,0.15); color: @(isBigSmall ? "#FF4157" : "#B33BD0");">@(isBigSmall ? "Small" : "Even")</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="text-[11px] font-medium text-gray-500 mt-1 h-[28px] text-center leading-tight">
|
|
<div class="text-[11px] font-medium text-gray-500 mt-1 h-[28px] text-center leading-tight">
|
|
|
@(isBigSmall ? "13 number from" : "Even numbers") <br/> <b>@(isBigSmall ? "01-40" : "0, 2, 4, 6, 8")</b>
|
|
@(isBigSmall ? "13 number from" : "Even numbers") <br/> <b>@(isBigSmall ? "01-40" : "0, 2, 4, 6, 8")</b>
|
|
@@ -125,11 +125,11 @@
|
|
|
<!-- You Choose + Prize Section -->
|
|
<!-- You Choose + Prize Section -->
|
|
|
<div class="px-5 pt-6 flex flex-col items-center gap-4">
|
|
<div class="px-5 pt-6 flex flex-col items-center gap-4">
|
|
|
<div class="flex flex-col items-center">
|
|
<div class="flex flex-col items-center">
|
|
|
- <span class="text-[12px] font-medium text-gray-500">@Lang.v2_you_choose</span>
|
|
|
|
|
- <span id="choiceDisplay" class="text-[32px] font-[800] leading-tight" style="-webkit-text-stroke: 1px #000;">—</span>
|
|
|
|
|
|
|
+ <span class="text-[15px] font-medium text-black">@Lang.v2_you_choose</span>
|
|
|
|
|
+ <span id="choiceDisplay" class="text-[42px] font-[800] leading-tight" style="-webkit-text-stroke: 1px #000;">—</span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="flex flex-col items-center">
|
|
<div class="flex flex-col items-center">
|
|
|
- <span class="text-[12px] font-medium text-gray-500">@Lang.v2_prize_if_win</span>
|
|
|
|
|
|
|
+ <span class="text-[18px] font-medium text-black">@Lang.v2_prize_if_win</span>
|
|
|
<div class="flex items-baseline gap-1">
|
|
<div class="flex items-baseline gap-1">
|
|
|
<span class="text-[28px] font-black text-black">@prizeAmount</span>
|
|
<span class="text-[28px] font-black text-black">@prizeAmount</span>
|
|
|
<span class="text-[14px] font-black text-[#E56B23]">HTG</span>
|
|
<span class="text-[14px] font-black text-[#E56B23]">HTG</span>
|
|
@@ -142,9 +142,13 @@
|
|
|
<div class="p-4 bg-white border-t border-gray-200 z-[70] shadow-[0px_-4px_10px_rgba(0,0,0,0.03)] absolute bottom-0 w-full left-0">
|
|
<div class="p-4 bg-white border-t border-gray-200 z-[70] shadow-[0px_-4px_10px_rgba(0,0,0,0.03)] absolute bottom-0 w-full left-0">
|
|
|
<div class="flex items-center justify-between">
|
|
<div class="flex items-center justify-between">
|
|
|
<div class="flex flex-col">
|
|
<div class="flex flex-col">
|
|
|
- <span class="text-[12px] text-gray-500 font-bold uppercase">@Lang.v2_estimated_ticket_price</span>
|
|
|
|
|
|
|
+ <div class="flex items-center gap-1.5 mb-0.5">
|
|
|
|
|
+ <span class="text-[11px] text-black font-black uppercase">@Lang.total_ticket:</span>
|
|
|
|
|
+ <span id="bsTotalTicketCount" class="text-[12px] font-black text-black">0</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <span class="text-[11px] text-black font-black uppercase">@Lang.v2_estimated_ticket_price</span>
|
|
|
<div class="flex items-baseline gap-1">
|
|
<div class="flex items-baseline gap-1">
|
|
|
- <span id="bsTotalPrice" class="text-[28px] font-black text-black">50</span>
|
|
|
|
|
|
|
+ <span id="bsTotalPrice" class="text-[28px] font-black text-black">0</span>
|
|
|
<span class="text-[13px] font-black" style="color: @themeColor">HTG</span>
|
|
<span class="text-[13px] font-black" style="color: @themeColor">HTG</span>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -191,7 +195,7 @@ else
|
|
|
<button onclick="removeEntry(this)" class="absolute -right-2 top-2 w-7 h-7 bg-[#EE0033] text-white rounded-full flex items-center justify-center text-[11px] shadow-sm z-[10] hover:bg-red-600 transition-all border-2 border-white">
|
|
<button onclick="removeEntry(this)" class="absolute -right-2 top-2 w-7 h-7 bg-[#EE0033] text-white rounded-full flex items-center justify-center text-[11px] shadow-sm z-[10] hover:bg-red-600 transition-all border-2 border-white">
|
|
|
<i class="fa-solid fa-xmark"></i>
|
|
<i class="fa-solid fa-xmark"></i>
|
|
|
</button>
|
|
</button>
|
|
|
- <div class="absolute left-2 top-4 w-9 h-9 rounded-full bg-[#EE0033] border-[3px] border-white flex items-center justify-center text-white font-black text-sm shadow-md ticket-index">@i</div>
|
|
|
|
|
|
|
+ <div class="absolute left-2 top-4 w-9 h-9 rounded-full border-[3px] border-white flex items-center justify-center text-white font-black text-sm shadow-md ticket-index">@i</div>
|
|
|
<div class="flex flex-col gap-1 pl-8">
|
|
<div class="flex flex-col gap-1 pl-8">
|
|
|
<span class="text-[16px] font-extrabold text-[#333]">@Lang.v2_select_10_lucky_numbers</span>
|
|
<span class="text-[16px] font-extrabold text-[#333]">@Lang.v2_select_10_lucky_numbers</span>
|
|
|
<div class="flex items-start gap-4">
|
|
<div class="flex items-start gap-4">
|
|
@@ -231,7 +235,11 @@ else
|
|
|
<div class="p-4 bg-white border-t border-gray-200 z-[70] shadow-[0px_-4px_10px_rgba(0,0,0,0.03)]">
|
|
<div class="p-4 bg-white border-t border-gray-200 z-[70] shadow-[0px_-4px_10px_rgba(0,0,0,0.03)]">
|
|
|
<div class="flex items-center justify-between">
|
|
<div class="flex items-center justify-between">
|
|
|
<div class="flex flex-col">
|
|
<div class="flex flex-col">
|
|
|
- <span class="text-[12px] text-gray-500 font-bold uppercase">@Lang.v2_estimated_ticket_price</span>
|
|
|
|
|
|
|
+ <div class="flex items-center gap-1.5 mb-0.5">
|
|
|
|
|
+ <span class="text-[11px] text-black font-black uppercase">@Lang.total_ticket:</span>
|
|
|
|
|
+ <span id="totalTicketCount" class="text-[12px] font-black text-black">0</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <span class="text-[11px] text-black font-black uppercase">@Lang.v2_estimated_ticket_price</span>
|
|
|
<div class="flex items-baseline gap-1">
|
|
<div class="flex items-baseline gap-1">
|
|
|
<span id="totalPrice" class="text-[28px] font-black text-black">0</span>
|
|
<span id="totalPrice" class="text-[28px] font-black text-black">0</span>
|
|
|
<span class="text-[13px] font-black text-[#EE0033]">HTG</span>
|
|
<span class="text-[13px] font-black text-[#EE0033]">HTG</span>
|
|
@@ -247,7 +255,7 @@ else
|
|
|
|
|
|
|
|
<!-- Order Summary Screen (from Figma) -->
|
|
<!-- Order Summary Screen (from Figma) -->
|
|
|
<div id="orderSummaryModal" class="hidden fixed inset-0 z-[150] bg-black/60 flex items-center justify-center p-0 font-bricolage backdrop-blur-[2px]">
|
|
<div id="orderSummaryModal" class="hidden fixed inset-0 z-[150] bg-black/60 flex items-center justify-center p-0 font-bricolage backdrop-blur-[2px]">
|
|
|
- <div class="w-full max-w-[414px] h-full bg-white flex flex-col animate__animated animate__fadeInRight animate__faster border-x shadow-2xl relative">
|
|
|
|
|
|
|
+ <div class="w-full h-full bg-white flex flex-col animate__animated animate__fadeInRight animate__faster shadow-2xl relative lg:max-w-[414px]">
|
|
|
<!-- Header đồng bộ tuyệt đối -->
|
|
<!-- Header đồng bộ tuyệt đối -->
|
|
|
<div class="w-full bg-[#EE0033] py-3 px-4 text-white flex items-center justify-between sticky top-0 z-[60]">
|
|
<div class="w-full bg-[#EE0033] py-3 px-4 text-white flex items-center justify-between sticky top-0 z-[60]">
|
|
|
<button onclick="hideOrderSummary()" class="w-10 h-10 flex items-center justify-center -ml-2 rounded-full active:bg-white/20 transition-all">
|
|
<button onclick="hideOrderSummary()" class="w-10 h-10 flex items-center justify-center -ml-2 rounded-full active:bg-white/20 transition-all">
|
|
@@ -300,11 +308,11 @@ else
|
|
|
<!-- Totals Section -->
|
|
<!-- Totals Section -->
|
|
|
<div class="mt-10 px-2 space-y-2">
|
|
<div class="mt-10 px-2 space-y-2">
|
|
|
<div class="flex justify-between items-center">
|
|
<div class="flex justify-between items-center">
|
|
|
- <span class="text-[14px] font-bold text-gray-400">@Lang.total_ticket</span>
|
|
|
|
|
|
|
+ <span class="text-[14px] font-bold text-black">@Lang.total_ticket</span>
|
|
|
<span id="summaryTotalCount" class="text-[16px] font-black text-black">0</span>
|
|
<span id="summaryTotalCount" class="text-[16px] font-black text-black">0</span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="flex justify-between items-center">
|
|
<div class="flex justify-between items-center">
|
|
|
- <span class="text-[14px] font-bold text-gray-400">@Lang.total_money</span>
|
|
|
|
|
|
|
+ <span class="text-[14px] font-bold text-black">@Lang.total_money</span>
|
|
|
<div class="flex items-baseline gap-1">
|
|
<div class="flex items-baseline gap-1">
|
|
|
<span id="summaryTotalAmount" class="text-[32px] font-black text-black">0</span>
|
|
<span id="summaryTotalAmount" class="text-[32px] font-black text-black">0</span>
|
|
|
<span class="text-[16px] font-black text-[#EE0033]">HTG</span>
|
|
<span class="text-[16px] font-black text-[#EE0033]">HTG</span>
|
|
@@ -358,7 +366,7 @@ else
|
|
|
|
|
|
|
|
<!-- Shield Icon: mix-blend-mode multiply to remove the white square background -->
|
|
<!-- Shield Icon: mix-blend-mode multiply to remove the white square background -->
|
|
|
<div class="relative w-full flex justify-center mb-0 mt-1">
|
|
<div class="relative w-full flex justify-center mb-0 mt-1">
|
|
|
- <img src="/LotteryV2/img/modal/otp_shield.png" alt="Success" class="w-[90px] object-contain" style="mix-blend-mode: multiply;">
|
|
|
|
|
|
|
+ <img src="/LotteryV2/img/modal/otp_shield.png" alt="Success" class="w-[90px] object-contain">
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Info Rows (Aligned exactly like screenshot) -->
|
|
<!-- Info Rows (Aligned exactly like screenshot) -->
|
|
@@ -706,6 +714,7 @@ else
|
|
|
});
|
|
});
|
|
|
const pricePerTicket = @(Model.termType == Constants.PIC10_BASIC_CODE ? "10" : "50");
|
|
const pricePerTicket = @(Model.termType == Constants.PIC10_BASIC_CODE ? "10" : "50");
|
|
|
$("#totalPrice").text(filledTickets * pricePerTicket);
|
|
$("#totalPrice").text(filledTickets * pricePerTicket);
|
|
|
|
|
+ $("#totalTicketCount").text(filledTickets);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
function addNewTicket() {
|
|
function addNewTicket() {
|
|
@@ -723,7 +732,7 @@ else
|
|
|
<button onclick="removeEntry(this)" class="absolute -right-2 top-1 w-7 h-7 bg-[#EE0033] text-white rounded-full flex items-center justify-center text-[11px] shadow-sm z-[10] hover:bg-red-600 transition-all border-2 border-white">
|
|
<button onclick="removeEntry(this)" class="absolute -right-2 top-1 w-7 h-7 bg-[#EE0033] text-white rounded-full flex items-center justify-center text-[11px] shadow-sm z-[10] hover:bg-red-600 transition-all border-2 border-white">
|
|
|
<i class="fa-solid fa-xmark"></i>
|
|
<i class="fa-solid fa-xmark"></i>
|
|
|
</button>
|
|
</button>
|
|
|
- <div class="absolute left-2 top-4 w-9 h-9 rounded-full bg-[#EE0033] border-[3px] border-white flex items-center justify-center text-white font-black text-sm shadow-md ticket-index">${currentIndex}</div>
|
|
|
|
|
|
|
+ <div class="absolute left-2 top-4 w-9 h-9 rounded-full border-[3px] border-white flex items-center justify-center text-white font-black text-sm shadow-md ticket-index">${currentIndex}</div>
|
|
|
<div class="flex flex-col gap-1 pl-8">
|
|
<div class="flex flex-col gap-1 pl-8">
|
|
|
<span class="text-[16px] font-extrabold text-[#333]">@Lang.v2_select_10_lucky_numbers</span>
|
|
<span class="text-[16px] font-extrabold text-[#333]">@Lang.v2_select_10_lucky_numbers</span>
|
|
|
<div class="flex items-start gap-4">
|
|
<div class="flex items-start gap-4">
|
|
@@ -858,7 +867,7 @@ else
|
|
|
if (numbers.length > 1) {
|
|
if (numbers.length > 1) {
|
|
|
let numbersBalls = '';
|
|
let numbersBalls = '';
|
|
|
numbers.forEach(n => {
|
|
numbers.forEach(n => {
|
|
|
- numbersBalls += `<div class="w-7 h-7 rounded-full flex items-center justify-center text-white text-[11px] font-black shadow-lg" style="background: radial-gradient(circle at 30% 30%, #ffffff 0%, #ff0f43 15%, #d1002c 100%); border: 1px solid #ffffff;">${n.trim()}</div>`;
|
|
|
|
|
|
|
+ numbersBalls += `<div class="w-7 h-7 rounded-full flex items-center justify-center text-white text-[11px] font-black shadow-[0_4px_10px_rgba(186,15,33,0.3)]" style="background: linear-gradient(135deg, #FF3D63 0%, #E3132D 60%, #BA0F21 100%); border: 1px solid rgba(255, 255, 255, 0.3); text-shadow: 0px 1px 2px rgba(0,0,0,0.1); transition: transform 0.2s;">${n.trim()}</div>`;
|
|
|
});
|
|
});
|
|
|
contentHtml = `<div class="grid grid-cols-5 gap-y-2 relative z-10 px-2 justify-items-center">${numbersBalls}</div>`;
|
|
contentHtml = `<div class="grid grid-cols-5 gap-y-2 relative z-10 px-2 justify-items-center">${numbersBalls}</div>`;
|
|
|
} else {
|
|
} else {
|
|
@@ -875,10 +884,10 @@ else
|
|
|
style="background: white; border: 1.5px solid #EE0033;">
|
|
style="background: white; border: 1.5px solid #EE0033;">
|
|
|
${contentHtml}
|
|
${contentHtml}
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="w-24 shrink-0 bg-white border border-gray-200 rounded-2xl p-2.5 flex items-center justify-between shadow-sm">
|
|
|
|
|
|
|
+ <div class="w-24 shrink-0 bg-white border border-gray-200 rounded-2xl p-2.5 flex items-center justify-center shadow-sm">
|
|
|
<div class="flex items-baseline gap-0.5">
|
|
<div class="flex items-baseline gap-0.5">
|
|
|
- <span class="text-[16px] font-black text-black">${t.money}</span>
|
|
|
|
|
- <span class="text-[10px] font-black text-[#EE0033]">HTG</span>
|
|
|
|
|
|
|
+ <span class="text-[20px] font-black text-black">${t.money}</span>
|
|
|
|
|
+ <span class="text-[12px] font-black text-[#EE0033]">HTG</span>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -1031,10 +1040,12 @@ else
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- function showReceiptSuccess(transId, amount, phone) {
|
|
|
|
|
|
|
+ function showReceiptSuccess(transId, amount, phone, totalTickets, drawDate) {
|
|
|
// Setup data dynamically
|
|
// Setup data dynamically
|
|
|
$("#receiptAmount").text(amount + " HTG");
|
|
$("#receiptAmount").text(amount + " HTG");
|
|
|
if(phone) $("#receiptPhone").text(phone);
|
|
if(phone) $("#receiptPhone").text(phone);
|
|
|
|
|
+ if(totalTickets) $("#receiptTotalTickets").text(totalTickets);
|
|
|
|
|
+ if(drawDate) $("#receiptDrawDate").text(drawDate);
|
|
|
|
|
|
|
|
let gameTypeStr = "@Model.termType";
|
|
let gameTypeStr = "@Model.termType";
|
|
|
let displayName = "Basic Pick 10";
|
|
let displayName = "Basic Pick 10";
|
|
@@ -1091,7 +1102,7 @@ else
|
|
|
|
|
|
|
|
if (res.responseCode === "0" || res.responseCode === "0000") {
|
|
if (res.responseCode === "0" || res.responseCode === "0000") {
|
|
|
// Success: Show receipt Modal
|
|
// Success: Show receipt Modal
|
|
|
- showReceiptSuccess(res.orderId || currentTransId, $("#summaryTotalAmount").text(), "@(Model.userStatus?.msisdn ?? "-")");
|
|
|
|
|
|
|
+ showReceiptSuccess(res.orderId || currentTransId, $("#summaryTotalAmount").text(), "@(Model.userStatus?.msisdn ?? "-")", $("#summaryTotalCount").text(), "@(currentTerm?.date_random ?? "-")");
|
|
|
} else {
|
|
} else {
|
|
|
// showNotification(res.responseMessage || "Payment failed", "warning");
|
|
// showNotification(res.responseMessage || "Payment failed", "warning");
|
|
|
// As requested: show error on OTP modal instead of whole page notification
|
|
// As requested: show error on OTP modal instead of whole page notification
|
|
@@ -1195,6 +1206,8 @@ else
|
|
|
choiceDisplay.style.webkitTextStroke = '1px #000';
|
|
choiceDisplay.style.webkitTextStroke = '1px #000';
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+ $("#bsTotalTicketCount").text(1);
|
|
|
|
|
+ $("#bsTotalPrice").text(50);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
function bsShowPayment(e) {
|
|
function bsShowPayment(e) {
|
|
@@ -1262,8 +1275,7 @@ else
|
|
|
<!-- Beautiful Success Receipt Modal (Matches Figma 161:3722) -->
|
|
<!-- Beautiful Success Receipt Modal (Matches Figma 161:3722) -->
|
|
|
<div id="receiptSuccessModal" class="fixed inset-0 z-[300] bg-black/80 hidden items-center justify-center px-4 font-bricolage backdrop-blur-md">
|
|
<div id="receiptSuccessModal" class="fixed inset-0 z-[300] bg-black/80 hidden items-center justify-center px-4 font-bricolage backdrop-blur-md">
|
|
|
<div class="w-full max-w-[360px] bg-[#F9F9F9] rounded-[32px] overflow-hidden flex flex-col items-center px-6 pt-4 pb-5 shadow-2xl relative animate__animated animate__zoomIn animate__faster border border-white/50">
|
|
<div class="w-full max-w-[360px] bg-[#F9F9F9] rounded-[32px] overflow-hidden flex flex-col items-center px-6 pt-4 pb-5 shadow-2xl relative animate__animated animate__zoomIn animate__faster border border-white/50">
|
|
|
- <!-- Confetti/Celebration background effect (Subtle) -->
|
|
|
|
|
- <div class="absolute top-0 inset-x-0 h-[150px] pointer-events-none opacity-40 mix-blend-multiply" style="background: url('/LotteryV2/img/modal/otp_glitter.png') no-repeat top center; background-size: cover;"></div>
|
|
|
|
|
|
|
+ <!-- Confetti/Celebration background effect (Subtle removed) -->
|
|
|
|
|
|
|
|
<h2 class="text-[#534A4A] font-[800] text-[19px] tracking-tight relative z-10 w-full text-center mt-1">@Lang.v2_payment_successfully</h2>
|
|
<h2 class="text-[#534A4A] font-[800] text-[19px] tracking-tight relative z-10 w-full text-center mt-1">@Lang.v2_payment_successfully</h2>
|
|
|
|
|
|
|
@@ -1277,10 +1289,9 @@ else
|
|
|
<div class="w-full h-px border-t-[2px] border-dashed border-gray-300 my-3 relative z-10"></div>
|
|
<div class="w-full h-px border-t-[2px] border-dashed border-gray-300 my-3 relative z-10"></div>
|
|
|
|
|
|
|
|
<div class="w-full flex justify-between items-center mb-2 relative z-10 px-1">
|
|
<div class="w-full flex justify-between items-center mb-2 relative z-10 px-1">
|
|
|
- <span class="text-[#534A4A] font-bold text-[14px]">@Lang.Number_of_ticket</span>
|
|
|
|
|
|
|
+ <span class="text-[#534A4A] font-bold text-[14px]">@Lang.phone_number</span>
|
|
|
<span class="font-black text-[14px] text-gray-800" id="receiptPhone">-</span>
|
|
<span class="font-black text-[14px] text-gray-800" id="receiptPhone">-</span>
|
|
|
</div>
|
|
</div>
|
|
|
-
|
|
|
|
|
<div class="w-full flex justify-between items-center mb-2 relative z-10 px-1">
|
|
<div class="w-full flex justify-between items-center mb-2 relative z-10 px-1">
|
|
|
<span class="text-[#534A4A] font-bold text-[14px]">@Lang.v2_your_choice</span>
|
|
<span class="text-[#534A4A] font-bold text-[14px]">@Lang.v2_your_choice</span>
|
|
|
<span class="text-[#EE0033] font-[900] text-[15px] uppercase" id="receiptChoice">-</span>
|
|
<span class="text-[#EE0033] font-[900] text-[15px] uppercase" id="receiptChoice">-</span>
|
|
@@ -1290,7 +1301,14 @@ else
|
|
|
<span class="text-[#534A4A] font-bold text-[14px]">@Lang.ticket_code</span>
|
|
<span class="text-[#534A4A] font-bold text-[14px]">@Lang.ticket_code</span>
|
|
|
<span class="font-black text-[13px] text-gray-800" id="receiptTicketCode">#</span>
|
|
<span class="font-black text-[13px] text-gray-800" id="receiptTicketCode">#</span>
|
|
|
</div>
|
|
</div>
|
|
|
-
|
|
|
|
|
|
|
+ <div class="w-full flex justify-between items-center mb-2 relative z-10 px-1">
|
|
|
|
|
+ <span class="text-[#534A4A] font-bold text-[14px]">@Lang.total_ticket</span>
|
|
|
|
|
+ <span class="font-black text-[14px] text-gray-800" id="receiptTotalTickets">-</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="w-full flex justify-between items-center mb-2 relative z-10 px-1">
|
|
|
|
|
+ <span class="text-[#534A4A] font-bold text-[14px]">@Lang.v2_draw_date</span>
|
|
|
|
|
+ <span class="font-black text-[14px] text-gray-800" id="receiptDrawDate">-</span>
|
|
|
|
|
+ </div>
|
|
|
<div class="w-full flex justify-between items-center mb-1 relative z-10 px-1">
|
|
<div class="w-full flex justify-between items-center mb-1 relative z-10 px-1">
|
|
|
<span class="text-[#534A4A] font-bold text-[14px]">@Lang.total_payment</span>
|
|
<span class="text-[#534A4A] font-bold text-[14px]">@Lang.total_payment</span>
|
|
|
<span class="text-[#EE0033] font-[900] text-[15px]" id="receiptAmount">0 HTG</span>
|
|
<span class="text-[#EE0033] font-[900] text-[15px]" id="receiptAmount">0 HTG</span>
|