From 35785169288f5ba75aacc3e4cf321ead63b53af5 Mon Sep 17 00:00:00 2001 From: Srinivas-Saravanan Date: Fri, 24 Jan 2025 15:01:39 +0530 Subject: [PATCH] FIX_REQUIRED_FIELDS_IN_SUBSCRIPTION --- app/Views/invoice_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Views/invoice_form.php b/app/Views/invoice_form.php index e09ac5cd..c51f63ff 100755 --- a/app/Views/invoice_form.php +++ b/app/Views/invoice_form.php @@ -1650,7 +1650,7 @@ if (isset($invoice_item_details[0]['to_subscription']) && !empty($invoice_item_d text2 = cm[0].status == 0 ? " - Expried" : ""; $(".subscribedetails").show(); // Change this line to use the class selector let messages = "Earlier Membership :
"; - for (let i = 0; i < cm.length; i++) {console.log(typeof cm[i].to_subscription); + for (let i = 0; i < cm.length; i++) { let text1 = cm[i].is_renew > 1 ? " - Renewed" : ""; let text2 = cm[i].invoice_status == 'Approved' ? "" :" - Draft"; let text3 = cm[i].status == 0 ? ' - Expired ': " - Active";