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";