[2025-02-12 12:40:04] Production.INFO: ========================== Invoice Send Start ============================= [2025-02-12 12:40:04] Production.INFO: Regular Invoice Regenerate [2025-02-12 12:40:04] Production.INFO: BillingCycleType : monthly - StartDate : 2025-02-10 - EndDate : 2025-02-28 23:59:59 [2025-02-12 12:40:04] Production.INFO: Invoice::getAccountUsageTotal(1,258,2025-02-10,2025-02-11 23:59:59) [2025-02-12 12:40:04] Production.INFO: Reseller ==> 0 [2025-02-12 12:40: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:40:04] Production.INFO: TotalCharges - 0 [2025-02-12 12:40:04] Production.INFO: TotalUsageCharges - 0.00 [2025-02-12 12:40:04] Production.INFO: TotalSMSCharges - 0.00 [2025-02-12 12:40:04] Production.INFO: Usage Over [2025-02-12 12:40:04] Production.INFO: Call prc_getAccountSubscription(258,0) [2025-02-12 12:40:04] Production.INFO: SUBSCRIPTION 2 [2025-02-12 12:40:04] Production.INFO: ============================Subscription Start ================= [2025-02-12 12:40:04] Production.INFO: SubscriptionID - 65 [2025-02-12 12:40:04] Production.INFO: isAdvanceSubscription - 65 [2025-02-12 12:40:04] Production.INFO: SubscriptionStartDate =2025-03-01 - SubscriptionEndDate = 2025-03-31 [2025-02-12 12:40:04] Production.INFO: NewNextChargeDate =2025-03-31 00:00:00 [2025-02-12 12:40:04] Production.INFO: SubscriptionDate [2025-02-12 12:40:04] Production.INFO: Array ( [StartDate] => 2025-03-01 [EndDate] => 2025-03-31 [AlreadyCharged] => 0 ) [2025-02-12 12:40:04] Production.INFO: AccountSubscription StartDate 2025-02-10 StartDate 2025-02-10 [2025-02-12 12:40:04] Production.INFO: First Time + Advance Billing - Yes [2025-02-12 12:40:04] Production.INFO: StartDate 2025-02-10 - EndDate 2025-02-28 [2025-02-12 12:40:04] Production.INFO: ACStartDate 2025-02-10 - ACEndDate 2026-02-12 [2025-02-12 12:40:04] Production.INFO: regular Subscription if advance [2025-02-12 12:40:04] Production.INFO: First Time True 2025-02-10 2025-02-10 [2025-02-12 12:40: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:40:05] Production.INFO: days diff - 19 subscription days 28 quarter days 90 [2025-02-12 12:40:05] Production.INFO: AccountSubscription::getSubscriptionAmount(1280,2025-02-10,2025-02-28,1,0) [2025-02-12 12:40:05] Production.INFO: SubscriptionCharge - 10.07 [2025-02-12 12:40:05] Production.INFO: Already Invoice Subscription 0 [2025-02-12 12:40:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(258,1,65,2025-02-10,2025-02-28,CloudPhone.ONE Per Line License,20.14,10.07,2,1280) [2025-02-12 12:40:05] Production.INFO: DiscountAmount 0.000000 [2025-02-12 12:40:05] Production.INFO: DiscountType Flat [2025-02-12 12:40:05] Production.INFO: SubscriptionCharge 20.14 [2025-02-12 12:40:05] Production.INFO: New SubscriptionCharge 20.14 [2025-02-12 12:40:05] Production.INFO: TotalSubscriptionCharge - 20.14 [2025-02-12 12:40:05] Production.INFO: SubscriptionID - 2025-03-01=====2025-03-31 [2025-02-12 12:40:05] Production.INFO: AccountSubscriptionID - 1280 === 2025-02-10=====2026-02-12 [2025-02-12 12:40:05] Production.INFO: regular Advance Subscription [2025-02-12 12:40:05] Production.INFO: First Time False 2025-02-10 2025-03-01 [2025-02-12 12:40:05] Production.INFO: StartDate 2025-03-01 AccountSubscription->StartDate 2025-02-10 EndDate 2025-03-31 AccountSubscription->EndDate 2026-02-12 [2025-02-12 12:40:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-02-12 12:40:05] Production.INFO: AccountSubscription::getSubscriptionAmount(1280,2025-03-01,2025-03-31,,0) [2025-02-12 12:40:05] Production.INFO: SubscriptionCharge - 16 [2025-02-12 12:40:05] Production.INFO: Already Invoice Subscription 0 [2025-02-12 12:40:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(258,1,65,2025-03-01,2025-03-31,CloudPhone.ONE Per Line License,32,16,2,1280) [2025-02-12 12:40:05] Production.INFO: DiscountAmount 0.000000 [2025-02-12 12:40:05] Production.INFO: DiscountType Flat [2025-02-12 12:40:05] Production.INFO: SubscriptionCharge 32 [2025-02-12 12:40:05] Production.INFO: New SubscriptionCharge 32 [2025-02-12 12:40:05] Production.INFO: TotalSubscriptionCharge - 32.00 [2025-02-12 12:40:05] Production.INFO: ============================Subscription End ================= [2025-02-12 12:40:05] Production.INFO: ============================Subscription Start ================= [2025-02-12 12:40:05] Production.INFO: SubscriptionID - 70 [2025-02-12 12:40:05] Production.INFO: isAdvanceSubscription - 70 [2025-02-12 12:40:05] Production.INFO: SubscriptionStartDate =2025-03-01 - SubscriptionEndDate = 2025-03-31 [2025-02-12 12:40:05] Production.INFO: NewNextChargeDate =2025-03-31 00:00:00 [2025-02-12 12:40:05] Production.INFO: SubscriptionDate [2025-02-12 12:40:05] Production.INFO: Array ( [StartDate] => 2025-03-01 [EndDate] => 2025-03-31 [AlreadyCharged] => 0 ) [2025-02-12 12:40:05] Production.INFO: AccountSubscription StartDate 2025-02-10 StartDate 2025-02-10 [2025-02-12 12:40:05] Production.INFO: First Time + Advance Billing - Yes [2025-02-12 12:40:05] Production.INFO: StartDate 2025-02-10 - EndDate 2025-02-28 [2025-02-12 12:40:05] Production.INFO: ACStartDate 2025-02-10 - ACEndDate 2026-02-12 [2025-02-12 12:40:05] Production.INFO: regular Subscription if advance [2025-02-12 12:40:05] Production.INFO: First Time True 2025-02-10 2025-02-10 [2025-02-12 12:40:05] Production.INFO: StartDate 2025-02-10 AccountSubscription->StartDate 2025-02-10 EndDate 2025-02-28 AccountSubscription->EndDate 2026-02-12 [2025-02-12 12:40:05] Production.INFO: days diff - 19 subscription days 28 quarter days 90 [2025-02-12 12:40:05] Production.INFO: AccountSubscription::getSubscriptionAmount(1281,2025-02-10,2025-02-28,1,0) [2025-02-12 12:40:05] Production.INFO: SubscriptionCharge - 0.57 [2025-02-12 12:40:05] Production.INFO: Already Invoice Subscription 0 [2025-02-12 12:40:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(258,1,70,2025-02-10,2025-02-28,CloudPhone.ONE Softphone License,2.28,0.57,4,1281) [2025-02-12 12:40:05] Production.INFO: DiscountAmount 0.000000 [2025-02-12 12:40:05] Production.INFO: DiscountType Flat [2025-02-12 12:40:05] Production.INFO: SubscriptionCharge 2.28 [2025-02-12 12:40:05] Production.INFO: New SubscriptionCharge 2.28 [2025-02-12 12:40:05] Production.INFO: TotalSubscriptionCharge - 2.28 [2025-02-12 12:40:05] Production.INFO: SubscriptionID - 2025-03-01=====2025-03-31 [2025-02-12 12:40:05] Production.INFO: AccountSubscriptionID - 1281 === 2025-02-10=====2026-02-12 [2025-02-12 12:40:05] Production.INFO: regular Advance Subscription [2025-02-12 12:40:05] Production.INFO: First Time False 2025-02-10 2025-03-01 [2025-02-12 12:40:05] Production.INFO: StartDate 2025-03-01 AccountSubscription->StartDate 2025-02-10 EndDate 2025-03-31 AccountSubscription->EndDate 2026-02-12 [2025-02-12 12:40:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-02-12 12:40:05] Production.INFO: AccountSubscription::getSubscriptionAmount(1281,2025-03-01,2025-03-31,,0) [2025-02-12 12:40:05] Production.INFO: SubscriptionCharge - 0.85 [2025-02-12 12:40:05] Production.INFO: Already Invoice Subscription 0 [2025-02-12 12:40:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(258,1,70,2025-03-01,2025-03-31,CloudPhone.ONE Softphone License,3.4,0.85,4,1281) [2025-02-12 12:40:05] Production.INFO: DiscountAmount 0.000000 [2025-02-12 12:40:05] Production.INFO: DiscountType Flat [2025-02-12 12:40:05] Production.INFO: SubscriptionCharge 3.4 [2025-02-12 12:40:05] Production.INFO: New SubscriptionCharge 3.4 [2025-02-12 12:40:05] Production.INFO: TotalSubscriptionCharge - 3.40 [2025-02-12 12:40:05] Production.INFO: ============================Subscription End ================= [2025-02-12 12:40:05] Production.INFO: SUBSCRIPTION Over [2025-02-12 12:40:05] Production.INFO: Call prc_getAccountOneOffCharge(258,0,2025-02-10,2025-03-01 23:59:59) [2025-02-12 12:40:05] Production.INFO: AccountOneOffCharge 0 [2025-02-12 12:40:05] Production.INFO: AccountOneOffCharge Over [2025-02-12 12:40:05] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-02-12 12:40:05] Production.INFO: SubTotal 57.82 [2025-02-12 12:40:05] Production.INFO: SubTotalWithouttaxTotal 0 [2025-02-12 12:40:05] Production.INFO: AccountOneOffCharge Tax Over [2025-02-12 12:40:05] Production.INFO: TotalTax 7.5166 [2025-02-12 12:40:05] Production.INFO: InvoiceGrandTotal 65.3366 [2025-02-12 12:40:05] Production.INFO: InvoiceTaxAmount 7.52 [2025-02-12 12:40:05] Production.INFO: GrandTotal 65.34 [2025-02-12 12:40:05] Production.INFO: SubTotal 57.82 [2025-02-12 12:40:05] Production.INFO: TotalDue 65.34 [2025-02-12 12:40:05] Production.INFO: PDF Generation start [2025-02-12 12:40:05] Production.INFO: Reseller ==> 0 [2025-02-12 12:40: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:40: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:40:06] 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:40:06] Production.INFO: On Linux [2025-02-12 12:40:08] 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:40:08] Production.INFO: [2025-02-12 12:40:08] 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:40:08] 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:40:08] 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:40:08] Production.INFO: Invoice generation PDF path [2025-02-12 12:40:08] 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:40:08] Production.INFO: Generate Usage File Start [2025-02-12 12:40:08] 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_7529__66e9fda0-e968-11ef-a2c6-a14c7375884a.csv [2025-02-12 12:40:08] Production.INFO: Sending Email to Staff over [2025-02-12 12:40:08] Production.INFO: Email Status success [2025-02-12 12:40:08] Production.INFO: Sending Email to Customer [2025-02-12 12:40:08] Production.INFO: =========== Email Sending over =========== [2025-02-12 12:40:08] Production.INFO: =========== Returning as Success =========== AccountID 258 [2025-02-12 12:40:08] Production.INFO: Invoice created - Array ( [message] => Invoice Regenerated Lion Motors (11521) [status] => success ) [2025-02-12 12:40:08] Production.INFO: Invoice Commited AccountID = 258 [2025-02-12 12:40:08] Production.ERROR: ========================== Invoice Send End ============================= [2025-02-12 12:40:08] Production.ERROR: ========================== Invoice Send Loop End ============================= [2025-02-12 12:40:08] Production.ERROR: count($errors) 0 [2025-02-12 12:40:08] Production.ERROR: jobdata 10648Array ( [JobStatusID] => 3 [JobStatusMessage] => Invoice Recreated Successfully Invoice Regenerated Lion Motors (11521) ) [2025-02-12 12:40:08] Production.INFO: ========================== Job Updated ============================= [2025-02-12 12:40:08] Production.INFO: ==5805== Releasing lock... [2025-02-12 12:40:08] Production.INFO: regenerateinvoice-command-regenerateinvoice-companyid-1-jobid-10648 #Stops# [2025-02-12 12:40:08] Production.INFO: 35.25 MB #Memory Used#