[2025-02-12 12:55:04] Production.INFO: ========================== Invoice Send Start ============================= [2025-02-12 12:55:04] Production.INFO: Regular Invoice Regenerate [2025-02-12 12:55:04] Production.INFO: BillingCycleType : monthly - StartDate : 2025-02-10 - EndDate : 2025-02-28 23:59:59 [2025-02-12 12:55:04] Production.INFO: Invoice::getAccountUsageTotal(1,258,2025-02-10,2025-02-11 23:59:59) [2025-02-12 12:55:04] Production.INFO: Reseller ==> 0 [2025-02-12 12:55:04] Production.INFO: original start date ==>2025-02-10 changed start date ==>2025-02-10 00:00:00 original end date ==>2025-02-11 23:59:59 changed end date ==>2025-02-11 23:59:59 [2025-02-12 12:55:04] Production.INFO: TotalCharges - 0 [2025-02-12 12:55:04] Production.INFO: TotalUsageCharges - 0.00 [2025-02-12 12:55:04] Production.INFO: TotalSMSCharges - 0.00 [2025-02-12 12:55:04] Production.INFO: Usage Over [2025-02-12 12:55:04] Production.INFO: Call prc_getAccountSubscription(258,0) [2025-02-12 12:55:04] Production.INFO: SUBSCRIPTION 2 [2025-02-12 12:55:04] Production.INFO: ============================Subscription Start ================= [2025-02-12 12:55:04] Production.INFO: SubscriptionID - 65 [2025-02-12 12:55:04] Production.INFO: isAdvanceSubscription - 65 [2025-02-12 12:55:04] Production.INFO: SubscriptionStartDate =2025-03-01 - SubscriptionEndDate = 2025-03-31 [2025-02-12 12:55:04] Production.INFO: NewNextChargeDate =2025-03-31 00:00:00 [2025-02-12 12:55:04] Production.INFO: SubscriptionDate [2025-02-12 12:55:04] Production.INFO: Array ( [StartDate] => 2025-03-01 [EndDate] => 2025-03-31 [AlreadyCharged] => 0 ) [2025-02-12 12:55:04] Production.INFO: AccountSubscription StartDate 2025-02-10 StartDate 2025-02-10 [2025-02-12 12:55:04] Production.INFO: First Time + Advance Billing - Yes [2025-02-12 12:55:04] Production.INFO: StartDate 2025-02-10 - EndDate 2025-02-28 [2025-02-12 12:55:04] Production.INFO: ACStartDate 2025-02-10 - ACEndDate 2026-02-12 [2025-02-12 12:55:04] Production.INFO: regular Subscription if advance [2025-02-12 12:55:04] Production.INFO: First Time True 2025-02-10 2025-02-10 [2025-02-12 12:55:04] Production.INFO: StartDate 2025-02-10 AccountSubscription->StartDate 2025-02-10 EndDate 2025-02-28 AccountSubscription->EndDate 2026-02-12 [2025-02-12 12:55:04] Production.INFO: days diff - 19 subscription days 28 quarter days 90 [2025-02-12 12:55:04] Production.INFO: AccountSubscription::getSubscriptionAmount(1282,2025-02-10,2025-02-28,1,0) [2025-02-12 12:55:04] Production.INFO: SubscriptionCharge - 14.63 [2025-02-12 12:55:04] Production.INFO: Already Invoice Subscription 0 [2025-02-12 12:55:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(258,1,65,2025-02-10,2025-02-28,CloudPhone.ONE Per Line License,29.26,14.63,2,1282) [2025-02-12 12:55:04] Production.INFO: DiscountAmount 30.400000 [2025-02-12 12:55:04] Production.INFO: DiscountType Percentage [2025-02-12 12:55:04] Production.INFO: SubscriptionCharge 29.26 [2025-02-12 12:55:04] Production.INFO: New SubscriptionCharge 20.36496 [2025-02-12 12:55:04] Production.INFO: TotalSubscriptionCharge - 20.36 [2025-02-12 12:55:04] Production.INFO: SubscriptionID - 2025-03-01=====2025-03-31 [2025-02-12 12:55:04] Production.INFO: AccountSubscriptionID - 1282 === 2025-02-10=====2026-02-12 [2025-02-12 12:55:04] Production.INFO: regular Advance Subscription [2025-02-12 12:55:04] Production.INFO: First Time False 2025-02-10 2025-03-01 [2025-02-12 12:55:04] Production.INFO: StartDate 2025-03-01 AccountSubscription->StartDate 2025-02-10 EndDate 2025-03-31 AccountSubscription->EndDate 2026-02-12 [2025-02-12 12:55:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-02-12 12:55:04] Production.INFO: AccountSubscription::getSubscriptionAmount(1282,2025-03-01,2025-03-31,,0) [2025-02-12 12:55:04] Production.INFO: SubscriptionCharge - 22.99 [2025-02-12 12:55:04] Production.INFO: Already Invoice Subscription 0 [2025-02-12 12:55:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(258,1,65,2025-03-01,2025-03-31,CloudPhone.ONE Per Line License,45.98,22.99,2,1282) [2025-02-12 12:55:04] Production.INFO: DiscountAmount 30.400000 [2025-02-12 12:55:04] Production.INFO: DiscountType Percentage [2025-02-12 12:55:04] Production.INFO: SubscriptionCharge 45.98 [2025-02-12 12:55:04] Production.INFO: New SubscriptionCharge 32.00208 [2025-02-12 12:55:04] Production.INFO: TotalSubscriptionCharge - 32.00 [2025-02-12 12:55:04] Production.INFO: ============================Subscription End ================= [2025-02-12 12:55:04] Production.INFO: ============================Subscription Start ================= [2025-02-12 12:55:04] Production.INFO: SubscriptionID - 70 [2025-02-12 12:55:04] Production.INFO: isAdvanceSubscription - 70 [2025-02-12 12:55:04] Production.INFO: SubscriptionStartDate =2025-03-01 - SubscriptionEndDate = 2025-03-31 [2025-02-12 12:55:04] Production.INFO: NewNextChargeDate =2025-03-31 00:00:00 [2025-02-12 12:55:04] Production.INFO: SubscriptionDate [2025-02-12 12:55:04] Production.INFO: Array ( [StartDate] => 2025-03-01 [EndDate] => 2025-03-31 [AlreadyCharged] => 0 ) [2025-02-12 12:55:04] Production.INFO: AccountSubscription StartDate 2025-02-10 StartDate 2025-02-10 [2025-02-12 12:55:04] Production.INFO: First Time + Advance Billing - Yes [2025-02-12 12:55:04] Production.INFO: StartDate 2025-02-10 - EndDate 2025-02-28 [2025-02-12 12:55:04] Production.INFO: ACStartDate 2025-02-10 - ACEndDate 2026-02-12 [2025-02-12 12:55:04] Production.INFO: regular Subscription if advance [2025-02-12 12:55:04] Production.INFO: First Time True 2025-02-10 2025-02-10 [2025-02-12 12:55:04] Production.INFO: StartDate 2025-02-10 AccountSubscription->StartDate 2025-02-10 EndDate 2025-02-28 AccountSubscription->EndDate 2026-02-12 [2025-02-12 12:55:04] Production.INFO: days diff - 19 subscription days 28 quarter days 90 [2025-02-12 12:55:04] Production.INFO: AccountSubscription::getSubscriptionAmount(1283,2025-02-10,2025-02-28,1,0) [2025-02-12 12:55:04] Production.INFO: SubscriptionCharge - 1.33 [2025-02-12 12:55:04] Production.INFO: Already Invoice Subscription 0 [2025-02-12 12:55:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(258,1,70,2025-02-10,2025-02-28,CloudPhone.ONE Softphone License,5.32,1.33,4,1283) [2025-02-12 12:55:04] Production.INFO: DiscountAmount 57.500000 [2025-02-12 12:55:04] Production.INFO: DiscountType Percentage [2025-02-12 12:55:04] Production.INFO: SubscriptionCharge 5.32 [2025-02-12 12:55:04] Production.INFO: New SubscriptionCharge 2.261 [2025-02-12 12:55:04] Production.INFO: TotalSubscriptionCharge - 2.26 [2025-02-12 12:55:04] Production.INFO: SubscriptionID - 2025-03-01=====2025-03-31 [2025-02-12 12:55:04] Production.INFO: AccountSubscriptionID - 1283 === 2025-02-10=====2026-02-12 [2025-02-12 12:55:04] Production.INFO: regular Advance Subscription [2025-02-12 12:55:04] Production.INFO: First Time False 2025-02-10 2025-03-01 [2025-02-12 12:55:04] Production.INFO: StartDate 2025-03-01 AccountSubscription->StartDate 2025-02-10 EndDate 2025-03-31 AccountSubscription->EndDate 2026-02-12 [2025-02-12 12:55:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-02-12 12:55:04] Production.INFO: AccountSubscription::getSubscriptionAmount(1283,2025-03-01,2025-03-31,,0) [2025-02-12 12:55:04] Production.INFO: SubscriptionCharge - 2 [2025-02-12 12:55:04] Production.INFO: Already Invoice Subscription 0 [2025-02-12 12:55:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(258,1,70,2025-03-01,2025-03-31,CloudPhone.ONE Softphone License,8,2,4,1283) [2025-02-12 12:55:04] Production.INFO: DiscountAmount 57.500000 [2025-02-12 12:55:04] Production.INFO: DiscountType Percentage [2025-02-12 12:55:04] Production.INFO: SubscriptionCharge 8 [2025-02-12 12:55:04] Production.INFO: New SubscriptionCharge 3.4 [2025-02-12 12:55:04] Production.INFO: TotalSubscriptionCharge - 3.40 [2025-02-12 12:55:04] Production.INFO: ============================Subscription End ================= [2025-02-12 12:55:04] Production.INFO: SUBSCRIPTION Over [2025-02-12 12:55:04] Production.INFO: Call prc_getAccountOneOffCharge(258,0,2025-02-10,2025-03-01 23:59:59) [2025-02-12 12:55:04] Production.INFO: AccountOneOffCharge 0 [2025-02-12 12:55:04] Production.INFO: AccountOneOffCharge Over [2025-02-12 12:55:04] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-02-12 12:55:04] Production.INFO: SubTotal 58.02804 [2025-02-12 12:55:04] Production.INFO: SubTotalWithouttaxTotal 0 [2025-02-12 12:55:04] Production.INFO: AccountOneOffCharge Tax Over [2025-02-12 12:55:04] Production.INFO: TotalTax 7.5436452 [2025-02-12 12:55:04] Production.INFO: InvoiceGrandTotal 65.5716852 [2025-02-12 12:55:05] Production.INFO: InvoiceTaxAmount 7.54 [2025-02-12 12:55:05] Production.INFO: GrandTotal 65.57 [2025-02-12 12:55:05] Production.INFO: SubTotal 58.03 [2025-02-12 12:55:05] Production.INFO: TotalDue 65.57 [2025-02-12 12:55:05] Production.INFO: PDF Generation start [2025-02-12 12:55:05] Production.INFO: Reseller ==> 0 [2025-02-12 12:55:05] Production.INFO: original start date ==>2025-02-10 changed start date ==>2025-02-10 00:00:00 original end date ==>2025-02-11 23:59:59 changed end date ==>2025-02-11 23:59:59 [2025-02-12 12:55:05] Production.INFO: CALL prc_getInvoiceUsage(1,'258','0','1','2025-02-10 00:00:00','2025-02-11 23:59:59',0) [2025-02-12 12:55:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/258/Invoices/2025/02/12/Invoice-lion-motors-inv11521-from-02-10-2025-to-02-28-2025-10457.pdf [2025-02-12 12:55:05] Production.INFO: On Linux [2025-02-12 12:55:07] Production.INFO: /var/www/html/onswitch.neon.service/wkhtmltox/bin/wkhtmltopdf --header-spacing 3 --footer-spacing 1 --header-html --footer-html "/var/www/tmp/1/258/Invoices/2025/02/12/footer-lion-motors-inv11521-from-02-10-2025-to-02-28-2025-10457.html" "/var/www/tmp/1/258/Invoices/2025/02/12/Invoice-lion-motors-inv11521-from-02-10-2025-to-02-28-2025-10457.html" "/var/www/tmp/1/258/Invoices/2025/02/12/Invoice-lion-motors-inv11521-from-02-10-2025-to-02-28-2025-10457.pdf" [2025-02-12 12:55:07] Production.INFO: [2025-02-12 12:55:07] Production.INFO: /var/www/tmp/1/258/Invoices/2025/02/12/Invoice-lion-motors-inv11521-from-02-10-2025-to-02-28-2025-10457.html [2025-02-12 12:55:07] Production.INFO: /var/www/tmp/1/258/Invoices/2025/02/12/header-lion-motors-inv11521-from-02-10-2025-to-02-28-2025-10457.html [2025-02-12 12:55:07] Production.INFO: /var/www/tmp/1/258/Invoices/2025/02/12/footer-lion-motors-inv11521-from-02-10-2025-to-02-28-2025-10457.html [2025-02-12 12:55:07] Production.INFO: Invoice generation PDF path [2025-02-12 12:55:07] Production.INFO: PDF fullPath 1/258/Invoices/2025/02/12/Invoice-lion-motors-inv11521-from-02-10-2025-to-02-28-2025-10457.pdf [2025-02-12 12:55:07] Production.INFO: Generate Usage File Start [2025-02-12 12:55:07] Production.INFO: Usage File fullPath 1/258/InvoiceUsageFile/2025/02/12/lion-motors-10-02-2025-00-00-00-TO-11-02-2025-23-59-59_649__7ef86e70-e96a-11ef-bd40-bb53dc07d795.csv [2025-02-12 12:55:07] Production.INFO: Sending Email to Staff over [2025-02-12 12:55:07] Production.INFO: Email Status success [2025-02-12 12:55:07] Production.INFO: Sending Email to Customer [2025-02-12 12:55:07] Production.INFO: =========== Email Sending over =========== [2025-02-12 12:55:07] Production.INFO: =========== Returning as Success =========== AccountID 258 [2025-02-12 12:55:07] Production.INFO: Invoice created - Array ( [message] => Invoice Regenerated Lion Motors (11521) [status] => success ) [2025-02-12 12:55:07] Production.INFO: Invoice Commited AccountID = 258 [2025-02-12 12:55:07] Production.ERROR: ========================== Invoice Send End ============================= [2025-02-12 12:55:07] Production.ERROR: ========================== Invoice Send Loop End ============================= [2025-02-12 12:55:07] Production.ERROR: count($errors) 0 [2025-02-12 12:55:07] Production.ERROR: jobdata 10650Array ( [JobStatusID] => 3 [JobStatusMessage] => Invoice Recreated Successfully Invoice Regenerated Lion Motors (11521) ) [2025-02-12 12:55:07] Production.INFO: ========================== Job Updated ============================= [2025-02-12 12:55:07] Production.INFO: ==7008== Releasing lock... [2025-02-12 12:55:07] Production.INFO: regenerateinvoice-command-regenerateinvoice-companyid-1-jobid-10650 #Stops# [2025-02-12 12:55:07] Production.INFO: 35.25 MB #Memory Used#