[2025-02-09 18:33:04] Production.INFO: ========================== Invoice Send Start ============================= [2025-02-09 18:33:04] Production.INFO: Regular Invoice Regenerate [2025-02-09 18:33:04] Production.INFO: BillingCycleType : monthly_anniversary - StartDate : 2025-01-21 - EndDate : 2025-02-07 23:59:59 [2025-02-09 18:33:04] Production.INFO: Invoice::getAccountUsageTotal(1,254,2025-01-21,2025-02-07 23:59:59) [2025-02-09 18:33:04] Production.INFO: Reseller ==> 0 [2025-02-09 18:33:04] Production.INFO: original start date ==>2025-01-21 changed start date ==>2025-01-21 00:00:00 original end date ==>2025-02-07 23:59:59 changed end date ==>2025-02-07 23:59:59 [2025-02-09 18:33:04] Production.INFO: TotalCharges - 0 [2025-02-09 18:33:04] Production.INFO: TotalUsageCharges - 0.00 [2025-02-09 18:33:04] Production.INFO: TotalSMSCharges - 0.00 [2025-02-09 18:33:04] Production.INFO: Usage Over [2025-02-09 18:33:04] Production.INFO: Call prc_getAccountSubscription(254,0) [2025-02-09 18:33:04] Production.INFO: SUBSCRIPTION 3 [2025-02-09 18:33:04] Production.INFO: ============================Subscription Start ================= [2025-02-09 18:33:04] Production.INFO: SubscriptionID - 64 [2025-02-09 18:33:04] Production.INFO: isAdvanceSubscription - 64 [2025-02-09 18:33:04] Production.INFO: SubscriptionStartDate =2025-02-08 - SubscriptionEndDate = 2025-03-07 [2025-02-09 18:33:04] Production.INFO: NewNextChargeDate =2025-03-07 00:00:00 [2025-02-09 18:33:04] Production.INFO: SubscriptionDate [2025-02-09 18:33:04] Production.INFO: Array ( [StartDate] => 2025-02-08 [EndDate] => 2025-03-07 [AlreadyCharged] => 0 ) [2025-02-09 18:33:04] Production.INFO: AccountSubscription StartDate 2025-02-08 StartDate 2025-01-21 [2025-02-09 18:33:04] Production.INFO: First Time + Advance Billing - Yes [2025-02-09 18:33:04] Production.INFO: StartDate 2025-01-21 - EndDate 2025-02-07 [2025-02-09 18:33:04] Production.INFO: ACStartDate 2025-02-08 - ACEndDate 2026-02-09 [2025-02-09 18:33:04] Production.INFO: SubscriptionID - 2025-02-08=====2025-03-07 [2025-02-09 18:33:04] Production.INFO: AccountSubscriptionID - 1269 === 2025-02-08=====2026-02-09 [2025-02-09 18:33:04] Production.INFO: regular Advance Subscription [2025-02-09 18:33:04] Production.INFO: First Time True 2025-02-08 2025-02-08 [2025-02-09 18:33:04] Production.INFO: StartDate 2025-02-08 AccountSubscription->StartDate 2025-02-08 EndDate 2025-03-07 AccountSubscription->EndDate 2026-02-09 [2025-02-09 18:33:04] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-09 18:33:04] Production.INFO: AccountSubscription::getSubscriptionAmount(1269,2025-02-08,2025-03-07,1,0) [2025-02-09 18:33:04] Production.INFO: SubscriptionCharge - 12.99 [2025-02-09 18:33:04] Production.INFO: Already Invoice Subscription 0 [2025-02-09 18:33:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(254,1,64,2025-02-08,2025-03-07,CloudPhone.ONE Per Person License,480.63,12.99,37,1269) [2025-02-09 18:33:04] Production.INFO: DiscountAmount 0.000000 [2025-02-09 18:33:04] Production.INFO: DiscountType Flat [2025-02-09 18:33:04] Production.INFO: SubscriptionCharge 480.63 [2025-02-09 18:33:04] Production.INFO: New SubscriptionCharge 480.63 [2025-02-09 18:33:04] Production.INFO: TotalSubscriptionCharge - 480.63 [2025-02-09 18:33:04] Production.INFO: ============================Subscription End ================= [2025-02-09 18:33:04] Production.INFO: ============================Subscription Start ================= [2025-02-09 18:33:04] Production.INFO: SubscriptionID - 70 [2025-02-09 18:33:04] Production.INFO: isAdvanceSubscription - 70 [2025-02-09 18:33:04] Production.INFO: SubscriptionStartDate =2025-02-08 - SubscriptionEndDate = 2025-03-07 [2025-02-09 18:33:04] Production.INFO: NewNextChargeDate =2025-03-07 00:00:00 [2025-02-09 18:33:04] Production.INFO: SubscriptionDate [2025-02-09 18:33:04] Production.INFO: Array ( [StartDate] => 2025-02-08 [EndDate] => 2025-03-07 [AlreadyCharged] => 0 ) [2025-02-09 18:33:04] Production.INFO: AccountSubscription StartDate 2025-02-08 StartDate 2025-01-21 [2025-02-09 18:33:04] Production.INFO: First Time + Advance Billing - Yes [2025-02-09 18:33:04] Production.INFO: StartDate 2025-01-21 - EndDate 2025-02-07 [2025-02-09 18:33:04] Production.INFO: ACStartDate 2025-02-08 - ACEndDate 2026-02-09 [2025-02-09 18:33:04] Production.INFO: SubscriptionID - 2025-02-08=====2025-03-07 [2025-02-09 18:33:04] Production.INFO: AccountSubscriptionID - 1270 === 2025-02-08=====2026-02-09 [2025-02-09 18:33:04] Production.INFO: regular Advance Subscription [2025-02-09 18:33:04] Production.INFO: First Time True 2025-02-08 2025-02-08 [2025-02-09 18:33:04] Production.INFO: StartDate 2025-02-08 AccountSubscription->StartDate 2025-02-08 EndDate 2025-03-07 AccountSubscription->EndDate 2026-02-09 [2025-02-09 18:33:04] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-09 18:33:04] Production.INFO: AccountSubscription::getSubscriptionAmount(1270,2025-02-08,2025-03-07,1,0) [2025-02-09 18:33:04] Production.INFO: SubscriptionCharge - 2 [2025-02-09 18:33:04] Production.INFO: Already Invoice Subscription 0 [2025-02-09 18:33:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(254,1,70,2025-02-08,2025-03-07,CloudPhone.ONE Softphone License,36,2,18,1270) [2025-02-09 18:33:04] Production.INFO: DiscountAmount 0.000000 [2025-02-09 18:33:04] Production.INFO: DiscountType Flat [2025-02-09 18:33:04] Production.INFO: SubscriptionCharge 36 [2025-02-09 18:33:04] Production.INFO: New SubscriptionCharge 36 [2025-02-09 18:33:04] Production.INFO: TotalSubscriptionCharge - 36.00 [2025-02-09 18:33:04] Production.INFO: ============================Subscription End ================= [2025-02-09 18:33:04] Production.INFO: ============================Subscription Start ================= [2025-02-09 18:33:04] Production.INFO: SubscriptionID - 45 [2025-02-09 18:33:04] Production.INFO: isAdvanceSubscription - 45 [2025-02-09 18:33:04] Production.INFO: SubscriptionStartDate =2025-02-08 - SubscriptionEndDate = 2025-03-07 [2025-02-09 18:33:04] Production.INFO: NewNextChargeDate =2025-03-07 00:00:00 [2025-02-09 18:33:04] Production.INFO: SubscriptionDate [2025-02-09 18:33:04] Production.INFO: Array ( [StartDate] => 2025-02-08 [EndDate] => 2025-03-07 [AlreadyCharged] => 0 ) [2025-02-09 18:33:04] Production.INFO: AccountSubscription StartDate 2025-02-08 StartDate 2025-01-21 [2025-02-09 18:33:04] Production.INFO: First Time + Advance Billing - Yes [2025-02-09 18:33:04] Production.INFO: StartDate 2025-01-21 - EndDate 2025-02-07 [2025-02-09 18:33:04] Production.INFO: ACStartDate 2025-02-08 - ACEndDate 2026-02-09 [2025-02-09 18:33:04] Production.INFO: SubscriptionID - 2025-02-08=====2025-03-07 [2025-02-09 18:33:04] Production.INFO: AccountSubscriptionID - 1271 === 2025-02-08=====2026-02-09 [2025-02-09 18:33:04] Production.INFO: regular Advance Subscription [2025-02-09 18:33:04] Production.INFO: First Time True 2025-02-08 2025-02-08 [2025-02-09 18:33:04] Production.INFO: StartDate 2025-02-08 AccountSubscription->StartDate 2025-02-08 EndDate 2025-03-07 AccountSubscription->EndDate 2026-02-09 [2025-02-09 18:33:04] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-09 18:33:04] Production.INFO: AccountSubscription::getSubscriptionAmount(1271,2025-02-08,2025-03-07,1,0) [2025-02-09 18:33:04] Production.INFO: SubscriptionCharge - 5 [2025-02-09 18:33:04] Production.INFO: Already Invoice Subscription 0 [2025-02-09 18:33:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(254,1,45,2025-02-08,2025-03-07,CloudPhone.ONE Add-On - Fax Line,5,5,1,1271) [2025-02-09 18:33:04] Production.INFO: DiscountAmount 0.000000 [2025-02-09 18:33:04] Production.INFO: DiscountType Flat [2025-02-09 18:33:04] Production.INFO: SubscriptionCharge 5 [2025-02-09 18:33:04] Production.INFO: New SubscriptionCharge 5 [2025-02-09 18:33:04] Production.INFO: TotalSubscriptionCharge - 5.00 [2025-02-09 18:33:04] Production.INFO: ============================Subscription End ================= [2025-02-09 18:33:04] Production.INFO: SUBSCRIPTION Over [2025-02-09 18:33:04] Production.INFO: Call prc_getAccountOneOffCharge(254,0,2025-01-21,2025-02-08 23:59:59) [2025-02-09 18:33:04] Production.INFO: AccountOneOffCharge 0 [2025-02-09 18:33:04] Production.INFO: AccountOneOffCharge Over [2025-02-09 18:33:04] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-02-09 18:33:04] Production.INFO: SubTotal 521.63 [2025-02-09 18:33:04] Production.INFO: SubTotalWithouttaxTotal 0 [2025-02-09 18:33:04] Production.INFO: AccountOneOffCharge Tax Over [2025-02-09 18:33:04] Production.INFO: TotalTax 67.8119 [2025-02-09 18:33:04] Production.INFO: InvoiceGrandTotal 589.4419 [2025-02-09 18:33:04] Production.INFO: InvoiceTaxAmount 67.81 [2025-02-09 18:33:04] Production.INFO: GrandTotal 589.44 [2025-02-09 18:33:04] Production.INFO: SubTotal 521.63 [2025-02-09 18:33:04] Production.INFO: TotalDue 5973.94 [2025-02-09 18:33:04] Production.INFO: PDF Generation start [2025-02-09 18:33:04] Production.INFO: Reseller ==> 0 [2025-02-09 18:33:04] Production.INFO: original start date ==>2025-01-21 changed start date ==>2025-01-21 00:00:00 original end date ==>2025-02-07 23:59:59 changed end date ==>2025-02-07 23:59:59 [2025-02-09 18:33:04] Production.INFO: CALL prc_getInvoiceUsage(1,'254','0','1','2025-01-21 00:00:00','2025-02-07 23:59:59',0) [2025-02-09 18:33:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/254/Invoices/2025/02/09/Invoice-robson-carpenter-llp-inv11501-from-01-21-2025-to-02-07-2025-10436.pdf [2025-02-09 18:33:05] Production.INFO: On Linux [2025-02-09 18:33:06] 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/254/Invoices/2025/02/09/footer-robson-carpenter-llp-inv11501-from-01-21-2025-to-02-07-2025-10436.html" "/var/www/tmp/1/254/Invoices/2025/02/09/Invoice-robson-carpenter-llp-inv11501-from-01-21-2025-to-02-07-2025-10436.html" "/var/www/tmp/1/254/Invoices/2025/02/09/Invoice-robson-carpenter-llp-inv11501-from-01-21-2025-to-02-07-2025-10436.pdf" [2025-02-09 18:33:06] Production.INFO: [2025-02-09 18:33:06] Production.INFO: /var/www/tmp/1/254/Invoices/2025/02/09/Invoice-robson-carpenter-llp-inv11501-from-01-21-2025-to-02-07-2025-10436.html [2025-02-09 18:33:06] Production.INFO: /var/www/tmp/1/254/Invoices/2025/02/09/header-robson-carpenter-llp-inv11501-from-01-21-2025-to-02-07-2025-10436.html [2025-02-09 18:33:06] Production.INFO: /var/www/tmp/1/254/Invoices/2025/02/09/footer-robson-carpenter-llp-inv11501-from-01-21-2025-to-02-07-2025-10436.html [2025-02-09 18:33:06] Production.INFO: Invoice generation PDF path [2025-02-09 18:33:07] Production.INFO: PDF fullPath 1/254/Invoices/2025/02/09/Invoice-robson-carpenter-llp-inv11501-from-01-21-2025-to-02-07-2025-10436.pdf [2025-02-09 18:33:07] Production.INFO: Generate Usage File Start [2025-02-09 18:33:07] Production.INFO: Usage File fullPath 1/254/InvoiceUsageFile/2025/02/09/robson-carpenter-llp-21-01-2025-00-00-00-TO-07-02-2025-23-59-59_2407__3717c120-e73e-11ef-b712-f7ee59a52961.csv [2025-02-09 18:33:07] Production.INFO: Sending Email to Staff over [2025-02-09 18:33:07] Production.INFO: Email Status success [2025-02-09 18:33:07] Production.INFO: Sending Email to Customer [2025-02-09 18:33:07] Production.INFO: =========== Email Sending over =========== [2025-02-09 18:33:07] Production.INFO: =========== Returning as Success =========== AccountID 254 [2025-02-09 18:33:07] Production.INFO: Invoice created - Array ( [message] => Invoice Regenerated Robson Carpenter LLP (11501) [status] => success ) [2025-02-09 18:33:07] Production.INFO: Invoice Commited AccountID = 254 [2025-02-09 18:33:07] Production.ERROR: ========================== Invoice Send End ============================= [2025-02-09 18:33:07] Production.ERROR: ========================== Invoice Send Loop End ============================= [2025-02-09 18:33:07] Production.ERROR: count($errors) 0 [2025-02-09 18:33:07] Production.ERROR: jobdata 10625Array ( [JobStatusID] => 3 [JobStatusMessage] => Invoice Recreated Successfully Invoice Regenerated Robson Carpenter LLP (11501) ) [2025-02-09 18:33:07] Production.INFO: ========================== Job Updated ============================= [2025-02-09 18:33:07] Production.INFO: ==24929== Releasing lock... [2025-02-09 18:33:07] Production.INFO: regenerateinvoice-command-regenerateinvoice-companyid-1-jobid-10625 #Stops# [2025-02-09 18:33:07] Production.INFO: 35.25 MB #Memory Used#