[2025-02-09 18:40:04] Production.INFO: ========================== Invoice Send Start ============================= [2025-02-09 18:40:04] Production.INFO: Regular Invoice Regenerate [2025-02-09 18:40:04] Production.INFO: BillingCycleType : monthly_anniversary - StartDate : 2025-01-21 - EndDate : 2025-02-07 23:59:59 [2025-02-09 18:40:04] Production.INFO: Invoice::getAccountUsageTotal(1,251,2025-01-21,2025-02-07 23:59:59) [2025-02-09 18:40:04] Production.INFO: Reseller ==> 0 [2025-02-09 18:40: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:40:05] Production.INFO: TotalCharges - 0 [2025-02-09 18:40:05] Production.INFO: TotalUsageCharges - 0.00 [2025-02-09 18:40:05] Production.INFO: TotalSMSCharges - 0.00 [2025-02-09 18:40:05] Production.INFO: Usage Over [2025-02-09 18:40:05] Production.INFO: Call prc_getAccountSubscription(251,0) [2025-02-09 18:40:05] Production.INFO: SUBSCRIPTION 3 [2025-02-09 18:40:05] Production.INFO: ============================Subscription Start ================= [2025-02-09 18:40:05] Production.INFO: SubscriptionID - 64 [2025-02-09 18:40:05] Production.INFO: isAdvanceSubscription - 64 [2025-02-09 18:40:05] Production.INFO: SubscriptionStartDate =2025-02-08 - SubscriptionEndDate = 2025-03-07 [2025-02-09 18:40:05] Production.INFO: NewNextChargeDate =2025-03-07 00:00:00 [2025-02-09 18:40:05] Production.INFO: SubscriptionDate [2025-02-09 18:40:05] Production.INFO: Array ( [StartDate] => 2025-02-08 [EndDate] => 2025-03-07 [AlreadyCharged] => 0 ) [2025-02-09 18:40:05] Production.INFO: AccountSubscription StartDate 2025-02-08 StartDate 2025-01-21 [2025-02-09 18:40:05] Production.INFO: First Time + Advance Billing - Yes [2025-02-09 18:40:05] Production.INFO: StartDate 2025-01-21 - EndDate 2025-02-07 [2025-02-09 18:40:05] Production.INFO: ACStartDate 2025-02-08 - ACEndDate 2026-02-09 [2025-02-09 18:40:05] Production.INFO: SubscriptionID - 2025-02-08=====2025-03-07 [2025-02-09 18:40:05] Production.INFO: AccountSubscriptionID - 1259 === 2025-02-08=====2026-02-09 [2025-02-09 18:40:05] Production.INFO: regular Advance Subscription [2025-02-09 18:40:05] Production.INFO: First Time True 2025-02-08 2025-02-08 [2025-02-09 18:40:05] Production.INFO: StartDate 2025-02-08 AccountSubscription->StartDate 2025-02-08 EndDate 2025-03-07 AccountSubscription->EndDate 2026-02-09 [2025-02-09 18:40:05] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-09 18:40:05] Production.INFO: AccountSubscription::getSubscriptionAmount(1259,2025-02-08,2025-03-07,1,0) [2025-02-09 18:40:05] Production.INFO: SubscriptionCharge - 12.99 [2025-02-09 18:40:05] Production.INFO: Already Invoice Subscription 0 [2025-02-09 18:40:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(251,1,64,2025-02-08,2025-03-07,CloudPhone.ONE Per Person License,363.72,12.99,28,1259) [2025-02-09 18:40:05] Production.INFO: DiscountAmount 0.000000 [2025-02-09 18:40:05] Production.INFO: DiscountType Flat [2025-02-09 18:40:05] Production.INFO: SubscriptionCharge 363.72 [2025-02-09 18:40:05] Production.INFO: New SubscriptionCharge 363.72 [2025-02-09 18:40:05] Production.INFO: TotalSubscriptionCharge - 363.72 [2025-02-09 18:40:05] Production.INFO: ============================Subscription End ================= [2025-02-09 18:40:05] Production.INFO: ============================Subscription Start ================= [2025-02-09 18:40:05] Production.INFO: SubscriptionID - 70 [2025-02-09 18:40:05] Production.INFO: isAdvanceSubscription - 70 [2025-02-09 18:40:05] Production.INFO: SubscriptionStartDate =2025-02-08 - SubscriptionEndDate = 2025-03-07 [2025-02-09 18:40:05] Production.INFO: NewNextChargeDate =2025-03-07 00:00:00 [2025-02-09 18:40:05] Production.INFO: SubscriptionDate [2025-02-09 18:40:05] Production.INFO: Array ( [StartDate] => 2025-02-08 [EndDate] => 2025-03-07 [AlreadyCharged] => 0 ) [2025-02-09 18:40:05] Production.INFO: AccountSubscription StartDate 2025-02-08 StartDate 2025-01-21 [2025-02-09 18:40:05] Production.INFO: First Time + Advance Billing - Yes [2025-02-09 18:40:05] Production.INFO: StartDate 2025-01-21 - EndDate 2025-02-07 [2025-02-09 18:40:05] Production.INFO: ACStartDate 2025-02-08 - ACEndDate 2026-02-09 [2025-02-09 18:40:05] Production.INFO: SubscriptionID - 2025-02-08=====2025-03-07 [2025-02-09 18:40:05] Production.INFO: AccountSubscriptionID - 1260 === 2025-02-08=====2026-02-09 [2025-02-09 18:40:05] Production.INFO: regular Advance Subscription [2025-02-09 18:40:05] Production.INFO: First Time True 2025-02-08 2025-02-08 [2025-02-09 18:40:05] Production.INFO: StartDate 2025-02-08 AccountSubscription->StartDate 2025-02-08 EndDate 2025-03-07 AccountSubscription->EndDate 2026-02-09 [2025-02-09 18:40:05] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-09 18:40:05] Production.INFO: AccountSubscription::getSubscriptionAmount(1260,2025-02-08,2025-03-07,1,0) [2025-02-09 18:40:05] Production.INFO: SubscriptionCharge - 2 [2025-02-09 18:40:05] Production.INFO: Already Invoice Subscription 0 [2025-02-09 18:40:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(251,1,70,2025-02-08,2025-03-07,CloudPhone.ONE Softphone License,56,2,28,1260) [2025-02-09 18:40:05] Production.INFO: DiscountAmount 50.000000 [2025-02-09 18:40:05] Production.INFO: DiscountType Percentage [2025-02-09 18:40:05] Production.INFO: SubscriptionCharge 56 [2025-02-09 18:40:05] Production.INFO: New SubscriptionCharge 28 [2025-02-09 18:40:05] Production.INFO: TotalSubscriptionCharge - 28.00 [2025-02-09 18:40:05] Production.INFO: ============================Subscription End ================= [2025-02-09 18:40:05] Production.INFO: ============================Subscription Start ================= [2025-02-09 18:40:05] Production.INFO: SubscriptionID - 66 [2025-02-09 18:40:05] Production.INFO: isAdvanceSubscription - 66 [2025-02-09 18:40:05] Production.INFO: SubscriptionStartDate =2025-02-08 - SubscriptionEndDate = 2025-03-07 [2025-02-09 18:40:05] Production.INFO: NewNextChargeDate =2025-03-07 00:00:00 [2025-02-09 18:40:05] Production.INFO: SubscriptionDate [2025-02-09 18:40:05] Production.INFO: Array ( [StartDate] => 2025-02-08 [EndDate] => 2025-03-07 [AlreadyCharged] => 0 ) [2025-02-09 18:40:05] Production.INFO: AccountSubscription StartDate 2025-02-08 StartDate 2025-01-21 [2025-02-09 18:40:05] Production.INFO: First Time + Advance Billing - Yes [2025-02-09 18:40:05] Production.INFO: StartDate 2025-01-21 - EndDate 2025-02-07 [2025-02-09 18:40:05] Production.INFO: ACStartDate 2025-02-08 - ACEndDate 2026-02-09 [2025-02-09 18:40:05] Production.INFO: SubscriptionID - 2025-02-08=====2025-03-07 [2025-02-09 18:40:05] Production.INFO: AccountSubscriptionID - 1268 === 2025-02-08=====2026-02-09 [2025-02-09 18:40:05] Production.INFO: regular Advance Subscription [2025-02-09 18:40:05] Production.INFO: First Time True 2025-02-08 2025-02-08 [2025-02-09 18:40:05] Production.INFO: StartDate 2025-02-08 AccountSubscription->StartDate 2025-02-08 EndDate 2025-03-07 AccountSubscription->EndDate 2026-02-09 [2025-02-09 18:40:05] Production.INFO: days diff - 28 subscription days 28 quarter days 90 [2025-02-09 18:40:05] Production.INFO: AccountSubscription::getSubscriptionAmount(1268,2025-02-08,2025-03-07,1,0) [2025-02-09 18:40:05] Production.INFO: SubscriptionCharge - 1 [2025-02-09 18:40:05] Production.INFO: Already Invoice Subscription 0 [2025-02-09 18:40:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(251,1,66,2025-02-08,2025-03-07,CloudPhone.ONE Call Recording Per Person One Month Storage,28,1,28,1268) [2025-02-09 18:40:05] Production.INFO: DiscountAmount 0.000000 [2025-02-09 18:40:05] Production.INFO: DiscountType Flat [2025-02-09 18:40:05] Production.INFO: SubscriptionCharge 28 [2025-02-09 18:40:05] Production.INFO: New SubscriptionCharge 28 [2025-02-09 18:40:05] Production.INFO: TotalSubscriptionCharge - 28.00 [2025-02-09 18:40:05] Production.INFO: ============================Subscription End ================= [2025-02-09 18:40:05] Production.INFO: SUBSCRIPTION Over [2025-02-09 18:40:05] Production.INFO: Call prc_getAccountOneOffCharge(251,0,2025-01-21,2025-02-08 23:59:59) [2025-02-09 18:40:05] Production.INFO: AccountOneOffCharge 0 [2025-02-09 18:40:05] Production.INFO: AccountOneOffCharge Over [2025-02-09 18:40:05] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-02-09 18:40:05] Production.INFO: SubTotal 419.72 [2025-02-09 18:40:05] Production.INFO: SubTotalWithouttaxTotal 0 [2025-02-09 18:40:05] Production.INFO: AccountOneOffCharge Tax Over [2025-02-09 18:40:05] Production.INFO: TotalTax 54.5636 [2025-02-09 18:40:05] Production.INFO: InvoiceGrandTotal 474.2836 [2025-02-09 18:40:05] Production.INFO: InvoiceTaxAmount 54.56 [2025-02-09 18:40:05] Production.INFO: GrandTotal 474.28 [2025-02-09 18:40:05] Production.INFO: SubTotal 419.72 [2025-02-09 18:40:05] Production.INFO: TotalDue 3826.22 [2025-02-09 18:40:05] Production.INFO: PDF Generation start [2025-02-09 18:40:05] Production.INFO: Reseller ==> 0 [2025-02-09 18:40:05] 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:40:05] Production.INFO: CALL prc_getInvoiceUsage(1,'251','0','1','2025-01-21 00:00:00','2025-02-07 23:59:59',0) [2025-02-09 18:40:06] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/251/Invoices/2025/02/09/Invoice-coppertree-solutions-inv11498-from-01-21-2025-to-02-07-2025-10433.pdf [2025-02-09 18:40:06] Production.INFO: On Linux [2025-02-09 18: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/251/Invoices/2025/02/09/footer-coppertree-solutions-inv11498-from-01-21-2025-to-02-07-2025-10433.html" "/var/www/tmp/1/251/Invoices/2025/02/09/Invoice-coppertree-solutions-inv11498-from-01-21-2025-to-02-07-2025-10433.html" "/var/www/tmp/1/251/Invoices/2025/02/09/Invoice-coppertree-solutions-inv11498-from-01-21-2025-to-02-07-2025-10433.pdf" [2025-02-09 18:40:08] Production.INFO: [2025-02-09 18:40:08] Production.INFO: /var/www/tmp/1/251/Invoices/2025/02/09/Invoice-coppertree-solutions-inv11498-from-01-21-2025-to-02-07-2025-10433.html [2025-02-09 18:40:08] Production.INFO: /var/www/tmp/1/251/Invoices/2025/02/09/header-coppertree-solutions-inv11498-from-01-21-2025-to-02-07-2025-10433.html [2025-02-09 18:40:08] Production.INFO: /var/www/tmp/1/251/Invoices/2025/02/09/footer-coppertree-solutions-inv11498-from-01-21-2025-to-02-07-2025-10433.html [2025-02-09 18:40:08] Production.INFO: Invoice generation PDF path [2025-02-09 18:40:08] Production.INFO: PDF fullPath 1/251/Invoices/2025/02/09/Invoice-coppertree-solutions-inv11498-from-01-21-2025-to-02-07-2025-10433.pdf [2025-02-09 18:40:08] Production.INFO: Generate Usage File Start [2025-02-09 18:40:08] Production.INFO: Usage File fullPath 1/251/InvoiceUsageFile/2025/02/09/coppertree-solutions-21-01-2025-00-00-00-TO-07-02-2025-23-59-59_2884__32677390-e73f-11ef-a6e0-8f8c73721b11.csv [2025-02-09 18:40:08] Production.INFO: Sending Email to Staff over [2025-02-09 18:40:08] Production.INFO: Email Status success [2025-02-09 18:40:08] Production.INFO: Sending Email to Customer [2025-02-09 18:40:08] Production.INFO: =========== Email Sending over =========== [2025-02-09 18:40:08] Production.INFO: =========== Returning as Success =========== AccountID 251 [2025-02-09 18:40:08] Production.INFO: Invoice created - Array ( [message] => Invoice Regenerated CopperTree Solutions (11498) [status] => success ) [2025-02-09 18:40:08] Production.INFO: Invoice Commited AccountID = 251 [2025-02-09 18:40:08] Production.ERROR: ========================== Invoice Send End ============================= [2025-02-09 18:40:08] Production.ERROR: ========================== Invoice Send Loop End ============================= [2025-02-09 18:40:08] Production.ERROR: count($errors) 0 [2025-02-09 18:40:08] Production.ERROR: jobdata 10627Array ( [JobStatusID] => 3 [JobStatusMessage] => Invoice Recreated Successfully Invoice Regenerated CopperTree Solutions (11498) ) [2025-02-09 18:40:08] Production.INFO: ========================== Job Updated ============================= [2025-02-09 18:40:08] Production.INFO: ==25526== Releasing lock... [2025-02-09 18:40:08] Production.INFO: regenerateinvoice-command-regenerateinvoice-companyid-1-jobid-10627 #Stops# [2025-02-09 18:40:08] Production.INFO: 35.25 MB #Memory Used#