student 1 неделя назад
Родитель
Сommit
3504bd10a6

+ 2 - 2
website/.gitignore

@@ -97,9 +97,9 @@ project.lock.json
 .vscode
 appsettings.Development.json
 
-# =========================
+# ====
 # Java
-# =========================
+# ====
 *.class
 *.log
 

+ 8 - 18
website/Areas/LotteryV2/Views/Home/BuyTicket.cshtml

@@ -18,7 +18,7 @@
     var gameTitle = isBigSmall ? Lang.v2_big_small : Lang.v2_odd_even;
     var prizeAmount = isBigSmall ? "100.000" : "200.000";
     
-    <!-- ==================== CARD SELECTION GAME UI (BIG/SMALL or ODD/EVEN) ==================== -->
+    <!-- ====== CARD SELECTION GAME UI (BIG/SMALL or ODD/EVEN) ====== -->
     <div class="main-container animate__animated animate__fadeIn bg-[#F5F5F5] h-screen flex flex-col font-bricolage overflow-hidden max-w-[414px] mx-auto relative">
         <!-- Header -->
         <div class="w-full py-3 px-4 text-white flex items-center justify-between sticky top-0 z-[60]" style="background: @themeColor;">
@@ -202,7 +202,7 @@
 }
 else
 {
-<!-- ==================== Basic Pick 10 / Odd-Even GAME UI ==================== -->
+<!-- ====== Basic Pick 10 / Odd-Even GAME UI ====== -->
 <div class="main-container animate__animated animate__fadeIn bg-[#F5F5F5] h-screen flex flex-col font-bricolage overflow-hidden max-w-[414px] mx-auto relative">
     <!-- Header -->
     <div class="w-full bg-[#EE0033] py-3 px-4 text-white flex items-center justify-between sticky top-0 z-[60]">
@@ -888,12 +888,9 @@ else
 
         // --- Order Summary Modal Logic ---
         // --- Payment Preparation & Order Summary Logic ---
-<<<<<<< HEAD
         let pendingPaymentRequest = null;
-=======
         let pendingTickets = [];
         let currentChannelPayment = '@Constants.BASIC_WALLET_TICKET';
->>>>>>> websiteNoNatCash
 
         function preparePayment(event) {
             const isBSMode = @(Model.termType == Constants.PIC10_BIGSMALL_CODE || Model.termType == Constants.PIC10_ODDEVEN_CODE ? "true" : "false");
@@ -936,9 +933,9 @@ else
                 }
             }
 
-<<<<<<< HEAD
+
             pendingPaymentRequest = {
-=======
+
             pendingTickets = tickets;
             $("#paymentChannelModal").removeClass("hidden").addClass("flex");
         }
@@ -952,15 +949,12 @@ else
             hidePaymentChannelModal();
 
             const requestData = {
->>>>>>> websiteNoNatCash
                 gameId: "@Model.termType",
                 ticket: pendingTickets,
                 channelPayment: channelPayment
             };
 
-<<<<<<< HEAD
             showOrderSummary(null, tickets);
-=======
             $.ajax({
                 url: subDomain + '@Url.Action("ConfirmTicketData", "Home")',
                 type: 'POST',
@@ -979,7 +973,6 @@ else
                     showNotification("Network error occurred.", "warning");
                 }
             });
->>>>>>> websiteNoNatCash
         }
 
         let currentTransId = null;
@@ -1045,12 +1038,10 @@ else
         }
 
         function confirmCheckout(btn) {
-<<<<<<< HEAD
             if (!pendingPaymentRequest) {
                 showNotification("@Lang.v2_ticket_not_valid", "warning");
                 return;
             }
-=======
             if (currentChannelPayment === '@Constants.NATCASH_WALLET_TICKET') {
                 showOtpModal(true);
                 return;
@@ -1058,7 +1049,6 @@ else
 
             const originalText = $(btn).html();
             $(btn).prop('disabled', true).html('<i class="fa-solid fa-spinner fa-spin mr-2"></i>Processing...');
->>>>>>> websiteNoNatCash
 
             $("#paymentSourceModal").removeClass("hidden").addClass("flex");
         }
@@ -1116,12 +1106,12 @@ else
                 type: 'POST',
                 success: function(data) {
                     if (data.responseCode === "0") {
-<<<<<<< HEAD
+
                         hidePaymentSourceModal();
                         showOtpModal();
-=======
+
                         showOtpModal(false);
->>>>>>> websiteNoNatCash
+
                     } else {
                         showNotification(data.responseMessage || "Failed to send OTP", data.responseCode);
                     }
@@ -1397,7 +1387,7 @@ else
             }
         }
 
-        // ==================== CARD SELECTION GAME LOGIC (BIG/SMALL / ODD/EVEN) ====================
+        // ====== CARD SELECTION GAME LOGIC (BIG/SMALL / ODD/EVEN) ======
         var bsChoice = null; // 'big' or 'small' (reused as 'odd' or 'even')
         const isBigSmall = @(Model.termType == Constants.PIC10_BIGSMALL_CODE ? "true" : "false");
         const themeColor = isBigSmall ? "#0A9800" : "#AA3DC8";

+ 18 - 18
website/Areas/Millions/Views/Home/BuyTicket.cshtml

@@ -33,7 +33,7 @@
     var gameTitle = isBigSmall ? Lang.millions_big_small : Lang.millions_odd_even;
     var prizeAmount = isBigSmall ? "100.000" : "200.000";
     
-    <!-- ==================== CARD SELECTION GAME UI (BIG/SMALL or ODD/EVEN) ==================== -->
+    <!-- ====== CARD SELECTION GAME UI (BIG/SMALL or ODD/EVEN) ====== -->
     <div class="millions-buy-ticket-page main-container animate__animated animate__fadeIn overflow-hidden">
         <!-- Header -->
         <div class="header">
@@ -218,7 +218,7 @@
 }
 else
 {
-<!-- ==================== Basic Pick 10 / Odd-Even GAME UI ==================== -->
+<!-- ====== Basic Pick 10 / Odd-Even GAME UI ====== -->
 <div class="millions-buy-ticket-page main-container animate__animated animate__fadeIn overflow-hidden">
     <!-- Header -->
     <div class="header">
@@ -1036,9 +1036,9 @@ else
 
         // --- Order Summary Modal Logic ---
         // --- Payment Preparation & Order Summary Logic ---
-<<<<<<< HEAD
+
         let pendingPaymentRequest = null;
-=======
+
         let pendingTickets = [];
         let currentChannelPayment = '@Constants.BASIC_WALLET_TICKET';
         let isPreparingCheckout = false;
@@ -1055,7 +1055,7 @@ else
                 paymentClickArmedAt = Date.now();
             }
         }
->>>>>>> websiteNoNatCash
+
 
         function preparePayment(event) {
             // Never prepare or confirm a ticket during page initialization.
@@ -1107,14 +1107,14 @@ else
                 }
             }
 
-<<<<<<< HEAD
+
             pendingPaymentRequest = {
                 gameId: "@Model.termType",
                 ticket: tickets
             };
 
             showOrderSummary(null, tickets);
-=======
+
             pendingTickets = tickets;
             if (hasFreeTicketPromotion) {
                 selectPaymentChannel('@Constants.BASIC_WALLET_TICKET');
@@ -1162,7 +1162,7 @@ else
                     isPreparingCheckout = false;
                 }
             });
->>>>>>> websiteNoNatCash
+
         }
 
         let currentTransId = null;
@@ -1221,15 +1221,15 @@ else
             });
 
             $("#summaryTotalCount").text(displayTickets.length);
-<<<<<<< HEAD
+
             const totalMoney = apiData
                 ? (apiData.totalMoneyPayment || apiData.totalMoney || "0")
                 : displayTickets.reduce((sum, ticket) => sum + (parseInt(ticket.money, 10) || 0), 0);
-=======
+
             const totalMoney = hasFreeTicketPromotion
                 ? "0"
                 : (apiData.totalMoneyPayment || apiData.totalMoney || "0");
->>>>>>> websiteNoNatCash
+
             $("#summaryTotalAmount").text(formatMoneyV2(totalMoney));
 
             summaryModal.removeClass("hidden").addClass("flex");
@@ -1240,12 +1240,12 @@ else
         }
 
         function confirmCheckout(btn) {
-<<<<<<< HEAD
+
             if (!pendingPaymentRequest) {
                 showNotification("@Lang.millions_ticket_not_valid", "warning");
                 return;
             }
-=======
+
             if (isSendingOtp) return;
 
             if (currentChannelPayment === '@Constants.NATCASH_WALLET_TICKET') {
@@ -1256,7 +1256,7 @@ else
             isSendingOtp = true;
             const originalText = $(btn).html();
             $(btn).prop('disabled', true).html('<i class="fa-solid fa-spinner fa-spin mr-2"></i>Processing...');
->>>>>>> websiteNoNatCash
+
 
             $("#paymentSourceModal").removeClass("hidden").addClass("flex");
         }
@@ -1314,12 +1314,12 @@ else
                 type: 'POST',
                 success: function(data) {
                     if (data.responseCode === "0") {
-<<<<<<< HEAD
+
                         hidePaymentSourceModal();
                         showOtpModal();
-=======
+
                         showOtpModal(false);
->>>>>>> websiteNoNatCash
+
                     } else {
                         showNotification(data.responseMessage || "Failed to send OTP", data.responseCode);
                     }
@@ -1647,7 +1647,7 @@ else
             }
         }
 
-        // ==================== CARD SELECTION GAME LOGIC (BIG/SMALL / ODD/EVEN) ====================
+        // ====== CARD SELECTION GAME LOGIC (BIG/SMALL / ODD/EVEN) ======
         var bsChoice = null; // 'big' or 'small' (reused as 'odd' or 'even')
         const isBigSmall = @(Model.termType == Constants.PIC10_BIGSMALL_CODE ? "true" : "false");
         const themeColor = isBigSmall ? "#0A9800" : "#AA3DC8";

+ 1 - 1
website/Properties/PublishProfiles/FolderProfile1.pubxml

@@ -8,7 +8,7 @@
     <LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
     <LastUsedPlatform>Any CPU</LastUsedPlatform>
     <PublishProvider>FileSystem</PublishProvider>
-    <PublishUrl>E:\Ex_publish\NatCashLotoNatcomV2</PublishUrl>
+    <PublishUrl>E:\Ex_publish\LotoNatcomV2</PublishUrl>
     <WebPublishMethod>FileSystem</WebPublishMethod>
     <_TargetId>Folder</_TargetId>
     <SiteUrlToLaunchAfterPublish />

+ 1 - 1
website/Views/Account/ChooseApp.cshtml

@@ -38,7 +38,7 @@
         display: none !important;
     }
 
-    /* ========== CHOOSE APP CUSTOM STYLES ========== */
+    /* === CHOOSE APP CUSTOM STYLES === */
     .ca-wrap {
         position: relative;
         width: 100%;

+ 2 - 2
website/wwwroot/css/css/style.css

@@ -1,9 +1,9 @@
-/*================================================================================
+/*===
 	Item Name: Robust - Responsive Admin Theme
 	Version: 1.0
 	Author: PIXINVENT
 	Author URL: http://www.themeforest.net/user/pixinvent
-================================================================================
+===
 
 NOTE:
 ------

+ 2 - 2
website/wwwroot/css/vendors/vendors.min.css

@@ -1,4 +1,4 @@
-/* ================================================================================================
+/* =====
  	File Name: vendors.scss
  	Description: Common vendors file to includ all theme specific common vendors.
  	----------------------------------------------------------------------------------------------
@@ -6,7 +6,7 @@
  	Version: 3.0
  	Author: PIXINVENT
  	Author URL: http://www.themeforest.net/user/pixinvent
- ================================================================================================ */
+ ===== */
 
 
 /* Feather icons */

+ 1 - 1
website/wwwroot/fonts/Inter/README.txt

@@ -1,5 +1,5 @@
 Inter Variable Font
-===================
+=====
 
 This download contains Inter as both a variable font and static fonts.
 

+ 1 - 1
website/wwwroot/js/vendors/jquery.sticky.js

@@ -1,5 +1,5 @@
 // Sticky Plugin v1.0.4 for jQuery
-// =============
+// ======
 // Author: Anthony Garand
 // Improvements by German M. Bravo (Kronuz) and Ruud Kamphuis (ruudk)
 // Improvements by Leonardo C. Daronco (daronco)

+ 1 - 1
website/wwwroot/lib/jquery-validation/LICENSE.md

@@ -1,5 +1,5 @@
 The MIT License (MIT)
-=====================
+
 
 Copyright Jörn Zaefferer