[2024-12-19 04:30:04] Production.INFO: Call prc_getBillingAccounts(1,2024-12-19,'','0') [2024-12-19 04:30:04] Production.INFO: Array ( [0] => stdClass Object ( [AccountID] => 23 [NextInvoiceDate] => 2024-12-19 [AccountName] => Dominos 10295 & 10516 (Werner Lomker) [ServiceID] => 0 ) [1] => stdClass Object ( [AccountID] => 67 [NextInvoiceDate] => 2024-12-19 [AccountName] => Stars & Maple Tours [ServiceID] => 0 ) [2] => stdClass Object ( [AccountID] => 78 [NextInvoiceDate] => 2024-12-19 [AccountName] => Halcyon Travel [ServiceID] => 0 ) [3] => stdClass Object ( [AccountID] => 102 [NextInvoiceDate] => 2024-12-19 [AccountName] => Dominos 39013 (Mudassar Zia) [ServiceID] => 0 ) [4] => stdClass Object ( [AccountID] => 108 [NextInvoiceDate] => 2024-12-19 [AccountName] => Jamie Lauer [ServiceID] => 0 ) [5] => stdClass Object ( [AccountID] => 143 [NextInvoiceDate] => 2024-12-19 [AccountName] => Orange Contracting [ServiceID] => 0 ) ) [2024-12-19 04:30:04] Production.INFO: AccountID =23 FirstInvoiceSend 0 [2024-12-19 04:30:04] Production.INFO: LastInvoiceDate 2024-11-19 NextInvoiceDate 2024-12-19 [2024-12-19 04:30:04] Production.INFO: LastChargeDate 2024-11-19 NextChargeDate 2024-12-18 [2024-12-19 04:30:04] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2024-12-19 04:30:04] Production.INFO: ========================== Invoice Send Start ============================= [2024-12-19 04:30:04] Production.INFO: Invoice::sendInvoice(1,23,2024-11-19,2024-12-19,billing@onswitchit.ca) [2024-12-19 04:30:04] Production.INFO: start Date =2024-11-19 EndDate =2024-12-18 23:59:59 [2024-12-19 04:30:04] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2024-12-19 04:30:04] Production.INFO: InvoiceTemplate->Terms =



This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.


[2024-12-19 04:30:04] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2024-12-19 04:30:04] Production.INFO: AlreadyBilled [2024-12-19 04:30:04] Production.INFO: Reseller ==> 0 [2024-12-19 04:30:04] Production.INFO: original start date ==>2024-11-19 changed start date ==>2024-11-19 00:00:00 original end date ==>2024-12-18 23:59:59 changed end date ==>2024-12-18 23:59:59 [2024-12-19 04:30:04] Production.INFO: Invoice::getAccountUsageTotal(1,23,2024-11-19,2024-12-18 23:59:59) [2024-12-19 04:30:04] Production.INFO: TotalCharges - 0 [2024-12-19 04:30:04] Production.INFO: TotalUsageCharges - 0.00 [2024-12-19 04:30:04] Production.INFO: Usage Over [2024-12-19 04:30:04] Production.INFO: Call prc_getAccountSubscription(23,0) [2024-12-19 04:30:04] Production.INFO: SUBSCRIPTION 5 [2024-12-19 04:30:04] Production.INFO: ============================Subscription Start ================= [2024-12-19 04:30:04] Production.INFO: SubscriptionID - 5 [2024-12-19 04:30:04] Production.INFO: isAdvanceSubscription - 5 [2024-12-19 04:30:05] Production.INFO: SubscriptionStartDate =2024-12-19 - SubscriptionEndDate = 2025-01-18 [2024-12-19 04:30:05] Production.INFO: NewNextChargeDate =2025-01-18 00:00:00 [2024-12-19 04:30:05] Production.INFO: EndDate =2022-03-18 00:00:00 [2024-12-19 04:30:05] Production.INFO: NewEndDate1 =2022-03-19 [2024-12-19 04:30:05] Production.INFO: SubscriptionDate [2024-12-19 04:30:05] Production.INFO: Array ( [StartDate] => 2022-03-19 [EndDate] => 2025-01-18 00:00:00 [AlreadyCharged] => 0 ) [2024-12-19 04:30:05] Production.INFO: AccountSubscription StartDate 2017-05-18 StartDate 2024-11-19 [2024-12-19 04:30:05] Production.INFO: SubscriptionID - 2022-03-19=====2025-01-18 00:00:00 [2024-12-19 04:30:05] Production.INFO: AccountSubscriptionID - 33 === 2017-05-18=====2021-11-30 [2024-12-19 04:30:05] Production.INFO: ============================Subscription End ================= [2024-12-19 04:30:05] Production.INFO: ============================Subscription Start ================= [2024-12-19 04:30:05] Production.INFO: SubscriptionID - 5 [2024-12-19 04:30:05] Production.INFO: isAdvanceSubscription - 5 [2024-12-19 04:30:05] Production.INFO: SubscriptionStartDate =2024-12-19 - SubscriptionEndDate = 2025-01-18 [2024-12-19 04:30:05] Production.INFO: NewNextChargeDate =2025-01-18 00:00:00 [2024-12-19 04:30:05] Production.INFO: EndDate =2022-03-18 00:00:00 [2024-12-19 04:30:05] Production.INFO: NewEndDate1 =2022-03-19 [2024-12-19 04:30:05] Production.INFO: SubscriptionDate [2024-12-19 04:30:05] Production.INFO: Array ( [StartDate] => 2022-03-19 [EndDate] => 2025-01-18 00:00:00 [AlreadyCharged] => 0 ) [2024-12-19 04:30:05] Production.INFO: AccountSubscription StartDate 2017-05-18 StartDate 2024-11-19 [2024-12-19 04:30:05] Production.INFO: SubscriptionID - 2022-03-19=====2025-01-18 00:00:00 [2024-12-19 04:30:05] Production.INFO: AccountSubscriptionID - 34 === 2017-05-18=====2021-11-30 [2024-12-19 04:30:05] Production.INFO: ============================Subscription End ================= [2024-12-19 04:30:05] Production.INFO: ============================Subscription Start ================= [2024-12-19 04:30:05] Production.INFO: SubscriptionID - 4 [2024-12-19 04:30:05] Production.INFO: isAdvanceSubscription - 4 [2024-12-19 04:30:05] Production.INFO: SubscriptionStartDate =2024-12-19 - SubscriptionEndDate = 2025-01-18 [2024-12-19 04:30:05] Production.INFO: NewNextChargeDate =2025-01-18 00:00:00 [2024-12-19 04:30:05] Production.INFO: EndDate =2022-03-18 00:00:00 [2024-12-19 04:30:05] Production.INFO: NewEndDate1 =2022-03-19 [2024-12-19 04:30:05] Production.INFO: SubscriptionDate [2024-12-19 04:30:05] Production.INFO: Array ( [StartDate] => 2022-03-19 [EndDate] => 2025-01-18 00:00:00 [AlreadyCharged] => 0 ) [2024-12-19 04:30:05] Production.INFO: AccountSubscription StartDate 2017-05-18 StartDate 2024-11-19 [2024-12-19 04:30:05] Production.INFO: SubscriptionID - 2022-03-19=====2025-01-18 00:00:00 [2024-12-19 04:30:05] Production.INFO: AccountSubscriptionID - 35 === 2017-05-18=====2021-11-30 [2024-12-19 04:30:05] Production.INFO: ============================Subscription End ================= [2024-12-19 04:30:05] Production.INFO: ============================Subscription Start ================= [2024-12-19 04:30:05] Production.INFO: SubscriptionID - 4 [2024-12-19 04:30:05] Production.INFO: isAdvanceSubscription - 4 [2024-12-19 04:30:05] Production.INFO: SubscriptionStartDate =2024-12-19 - SubscriptionEndDate = 2025-01-18 [2024-12-19 04:30:05] Production.INFO: NewNextChargeDate =2025-01-18 00:00:00 [2024-12-19 04:30:05] Production.INFO: EndDate =2022-03-18 00:00:00 [2024-12-19 04:30:05] Production.INFO: NewEndDate1 =2022-03-19 [2024-12-19 04:30:05] Production.INFO: SubscriptionDate [2024-12-19 04:30:05] Production.INFO: Array ( [StartDate] => 2022-03-19 [EndDate] => 2025-01-18 00:00:00 [AlreadyCharged] => 0 ) [2024-12-19 04:30:05] Production.INFO: AccountSubscription StartDate 2017-05-18 StartDate 2024-11-19 [2024-12-19 04:30:05] Production.INFO: SubscriptionID - 2022-03-19=====2025-01-18 00:00:00 [2024-12-19 04:30:05] Production.INFO: AccountSubscriptionID - 36 === 2017-05-18=====2021-11-30 [2024-12-19 04:30:05] Production.INFO: ============================Subscription End ================= [2024-12-19 04:30:05] Production.INFO: ============================Subscription Start ================= [2024-12-19 04:30:05] Production.INFO: SubscriptionID - 11 [2024-12-19 04:30:05] Production.INFO: isAdvanceSubscription - 11 [2024-12-19 04:30:05] Production.INFO: SubscriptionStartDate =2024-12-19 - SubscriptionEndDate = 2025-01-18 [2024-12-19 04:30:05] Production.INFO: NewNextChargeDate =2025-01-18 00:00:00 [2024-12-19 04:30:05] Production.INFO: EndDate =2022-03-18 00:00:00 [2024-12-19 04:30:05] Production.INFO: NewEndDate1 =2022-03-19 [2024-12-19 04:30:05] Production.INFO: SubscriptionDate [2024-12-19 04:30:05] Production.INFO: Array ( [StartDate] => 2022-03-19 [EndDate] => 2025-01-18 00:00:00 [AlreadyCharged] => 0 ) [2024-12-19 04:30:05] Production.INFO: AccountSubscription StartDate 2018-02-07 StartDate 2024-11-19 [2024-12-19 04:30:05] Production.INFO: SubscriptionID - 2022-03-19=====2025-01-18 00:00:00 [2024-12-19 04:30:05] Production.INFO: AccountSubscriptionID - 219 === 2018-02-07=====2021-11-30 [2024-12-19 04:30:05] Production.INFO: ============================Subscription End ================= [2024-12-19 04:30:05] Production.INFO: SUBSCRIPTION Over [2024-12-19 04:30:05] Production.INFO: Call prc_getAccountOneOffCharge(23,0,2024-11-19,2024-12-19 23:59:59) [2024-12-19 04:30:05] Production.INFO: AccountOneOffCharge 0 [2024-12-19 04:30:05] Production.INFO: AccountOneOffCharge Over [2024-12-19 04:30:05] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2024-12-19 04:30:05] Production.INFO: New UsageDates 2024-11-19 - 2024-12-18 23:59:59 [2024-12-19 04:30:05] Production.INFO: SubTotal 0 [2024-12-19 04:30:05] Production.INFO: SubTotalWithouttaxTotal 0 [2024-12-19 04:30:05] Production.INFO: AccountOneOffCharge Tax Over [2024-12-19 04:30:05] Production.INFO: TotalTax 0 [2024-12-19 04:30:05] Production.INFO: InvoiceGrandTotal 0 [2024-12-19 04:30:05] Production.INFO: InvoiceTaxAmount 0 [2024-12-19 04:30:05] Production.INFO: GrandTotal 0 [2024-12-19 04:30:05] Production.INFO: SubTotal 0.00 [2024-12-19 04:30:05] Production.INFO: TotalDue 0.00 [2024-12-19 04:30:05] Production.INFO: Reseller ==> 0 [2024-12-19 04:30:05] Production.INFO: original start date ==>2024-11-19 changed start date ==>2024-11-19 00:00:00 original end date ==>2024-12-18 23:59:59 changed end date ==>2024-12-18 23:59:59 [2024-12-19 04:30:05] Production.INFO: CALL prc_getInvoiceUsage(1,'23','0','1','2024-11-19 00:00:00','2024-12-18 23:59:59',0) [2024-12-19 04:30:05] Production.INFO: PDF Generation start [2024-12-19 04:30:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/23/Invoices/2024/12/19/Invoice-dominos-10295-10516-werner-lomker-inv11240-from-11-19-2024-to-12-18-2024-10162.pdf [2024-12-19 04:30:05] Production.INFO: On Linux [2024-12-19 04:30: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/23/Invoices/2024/12/19/footer-dominos-10295-10516-werner-lomker-inv11240-from-11-19-2024-to-12-18-2024-10162.html" "/var/www/tmp/1/23/Invoices/2024/12/19/Invoice-dominos-10295-10516-werner-lomker-inv11240-from-11-19-2024-to-12-18-2024-10162.html" "/var/www/tmp/1/23/Invoices/2024/12/19/Invoice-dominos-10295-10516-werner-lomker-inv11240-from-11-19-2024-to-12-18-2024-10162.pdf" [2024-12-19 04:30:07] Production.INFO: [2024-12-19 04:30:07] Production.INFO: /var/www/tmp/1/23/Invoices/2024/12/19/Invoice-dominos-10295-10516-werner-lomker-inv11240-from-11-19-2024-to-12-18-2024-10162.html [2024-12-19 04:30:07] Production.INFO: /var/www/tmp/1/23/Invoices/2024/12/19/header-dominos-10295-10516-werner-lomker-inv11240-from-11-19-2024-to-12-18-2024-10162.html [2024-12-19 04:30:07] Production.INFO: /var/www/tmp/1/23/Invoices/2024/12/19/footer-dominos-10295-10516-werner-lomker-inv11240-from-11-19-2024-to-12-18-2024-10162.html [2024-12-19 04:30:07] Production.INFO: Invoice generation PDF path [2024-12-19 04:30:07] Production.INFO: PDF fullPath 1/23/Invoices/2024/12/19/Invoice-dominos-10295-10516-werner-lomker-inv11240-from-11-19-2024-to-12-18-2024-10162.pdf [2024-12-19 04:30:07] Production.INFO: Generate Usage File Start [2024-12-19 04:30:07] Production.INFO: Usage File fullPath 1/23/InvoiceUsageFile/2024/12/19/dominos-10295-10516-werner-lomker-19-11-2024-00-00-00-TO-18-12-2024-23-59-59_5421__d6110f40-bdeb-11ef-8794-6103bde1eda2.csv [2024-12-19 04:30:10] Production.INFO: Sending Email to Staff over [2024-12-19 04:30:10] Production.INFO: Email Status 1 [2024-12-19 04:30:10] Production.INFO: Sending Email to Customer [2024-12-19 04:30:10] Production.INFO: =========== Email Sending over =========== [2024-12-19 04:30:10] Production.INFO: =========== Returning as Success =========== AccountID 23 [2024-12-19 04:30:10] Production.INFO: Invoice::sendInvoice done [2024-12-19 04:30:10] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2024-12-19 04:30:10] Production.INFO: Invoice Committed AccountID = 23 [2024-12-19 04:30:10] Production.INFO: =========== Updating InvoiceDate =========== [2024-12-19 04:30:10] Production.INFO: NextInvoice 2024-12-19 2025-01-18 [2024-12-19 04:30:10] Production.INFO: new dates [2024-12-19 04:30:10] Production.INFO: LastInvoiceDate 2024-12-19 NextInvoiceDate 2025-01-19 [2024-12-19 04:30:10] Production.INFO: LastChargeDate 2024-12-19 NextChargeDate 2025-01-18 [2024-12-19 04:30:10] Production.INFO: =========== Updated InvoiceDate =========== [2024-12-19 04:30:10] Production.INFO: ========================== Invoice Send End ============================= [2024-12-19 04:30:10] Production.INFO: AccountID =67 FirstInvoiceSend 0 [2024-12-19 04:30:10] Production.INFO: LastInvoiceDate 2024-11-19 NextInvoiceDate 2024-12-19 [2024-12-19 04:30:10] Production.INFO: LastChargeDate 2024-11-19 NextChargeDate 2024-12-18 [2024-12-19 04:30:10] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2024-12-19 04:30:10] Production.INFO: ========================== Invoice Send Start ============================= [2024-12-19 04:30:10] Production.INFO: Invoice::sendInvoice(1,67,2024-11-19,2024-12-19,billing@onswitchit.ca) [2024-12-19 04:30:10] Production.INFO: start Date =2024-11-19 EndDate =2024-12-18 23:59:59 [2024-12-19 04:30:10] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2024-12-19 04:30:10] Production.INFO: InvoiceTemplate->Terms =



This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.


[2024-12-19 04:30:10] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2024-12-19 04:30:10] Production.INFO: AlreadyBilled [2024-12-19 04:30:10] Production.INFO: Reseller ==> 0 [2024-12-19 04:30:10] Production.INFO: original start date ==>2024-11-19 changed start date ==>2024-11-19 00:00:00 original end date ==>2024-12-18 23:59:59 changed end date ==>2024-12-18 23:59:59 [2024-12-19 04:30:10] Production.INFO: Invoice::getAccountUsageTotal(1,67,2024-11-19,2024-12-18 23:59:59) [2024-12-19 04:30:10] Production.INFO: TotalCharges - 0 [2024-12-19 04:30:10] Production.INFO: TotalUsageCharges - 0.00 [2024-12-19 04:30:10] Production.INFO: Usage Over [2024-12-19 04:30:10] Production.INFO: Call prc_getAccountSubscription(67,0) [2024-12-19 04:30:10] Production.INFO: SUBSCRIPTION 8 [2024-12-19 04:30:10] Production.INFO: ============================Subscription Start ================= [2024-12-19 04:30:10] Production.INFO: SubscriptionID - 2 [2024-12-19 04:30:10] Production.INFO: isAdvanceSubscription - 2 [2024-12-19 04:30:10] Production.INFO: SubscriptionStartDate =2024-12-19 - SubscriptionEndDate = 2025-01-18 [2024-12-19 04:30:10] Production.INFO: NewNextChargeDate =2025-01-18 00:00:00 [2024-12-19 04:30:10] Production.INFO: EndDate =2024-12-18 00:00:00 [2024-12-19 04:30:10] Production.INFO: NewEndDate1 =2024-12-19 [2024-12-19 04:30:10] Production.INFO: SubscriptionDate [2024-12-19 04:30:10] Production.INFO: Array ( [StartDate] => 2024-12-19 [EndDate] => 2025-01-18 00:00:00 [AlreadyCharged] => 0 ) [2024-12-19 04:30:10] Production.INFO: AccountSubscription StartDate 2018-03-15 StartDate 2024-11-19 [2024-12-19 04:30:10] Production.INFO: SubscriptionID - 2024-12-19=====2025-01-18 00:00:00 [2024-12-19 04:30:10] Production.INFO: AccountSubscriptionID - 238 === 2018-03-15=====2025-12-19 [2024-12-19 04:30:10] Production.INFO: regular Advance Subscription [2024-12-19 04:30:10] Production.INFO: First Time False 2018-03-15 2024-12-19 [2024-12-19 04:30:10] Production.INFO: StartDate 2024-12-19 AccountSubscription->StartDate 2018-03-15 EndDate 2025-01-18 00:00:00 AccountSubscription->EndDate 2025-12-19 [2024-12-19 04:30:10] Production.INFO: days diff - 31 subscription days 31 quarter days 92 [2024-12-19 04:30:10] Production.INFO: AccountSubscription::getSubscriptionAmount(238,2024-12-19,2025-01-18 00:00:00,,0) [2024-12-19 04:30:10] Production.INFO: SubscriptionCharge - 5 [2024-12-19 04:30:10] Production.INFO: Already Invoice Subscription 0 [2024-12-19 04:30:10] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(67,1,2,2024-12-19,2025-01-18 00:00:00,License for an Unlimited Canada/US Cloud Phone extension,25,5,5,238) [2024-12-19 04:30:10] Production.INFO: DiscountAmount 0.000000 [2024-12-19 04:30:10] Production.INFO: DiscountType [2024-12-19 04:30:10] Production.INFO: SubscriptionCharge 25 [2024-12-19 04:30:10] Production.INFO: New SubscriptionCharge 25 [2024-12-19 04:30:10] Production.INFO: TotalSubscriptionCharge - 25.00 [2024-12-19 04:30:10] Production.INFO: ============================Subscription End ================= [2024-12-19 04:30:10] Production.INFO: ============================Subscription Start ================= [2024-12-19 04:30:10] Production.INFO: SubscriptionID - 24 [2024-12-19 04:30:10] Production.INFO: SubscriptionID - 2024-11-19=====2024-12-18 [2024-12-19 04:30:10] Production.INFO: AccountSubscriptionID - 476 === 2020-03-17=====2020-08-31 [2024-12-19 04:30:10] Production.INFO: ============================Subscription End ================= [2024-12-19 04:30:10] Production.INFO: ============================Subscription Start ================= [2024-12-19 04:30:10] Production.INFO: SubscriptionID - 8 [2024-12-19 04:30:10] Production.INFO: isAdvanceSubscription - 8 [2024-12-19 04:30:10] Production.INFO: SubscriptionStartDate =2024-12-19 - SubscriptionEndDate = 2025-01-18 [2024-12-19 04:30:10] Production.INFO: NewNextChargeDate =2025-01-18 00:00:00 [2024-12-19 04:30:10] Production.INFO: EndDate =2024-12-18 00:00:00 [2024-12-19 04:30:10] Production.INFO: NewEndDate1 =2024-12-19 [2024-12-19 04:30:10] Production.INFO: SubscriptionDate [2024-12-19 04:30:10] Production.INFO: Array ( [StartDate] => 2024-12-19 [EndDate] => 2025-01-18 00:00:00 [AlreadyCharged] => 0 ) [2024-12-19 04:30:10] Production.INFO: AccountSubscription StartDate 2020-06-18 StartDate 2024-11-19 [2024-12-19 04:30:10] Production.INFO: SubscriptionID - 2024-12-19=====2025-01-18 00:00:00 [2024-12-19 04:30:10] Production.INFO: AccountSubscriptionID - 493 === 2020-06-18=====2025-12-19 [2024-12-19 04:30:10] Production.INFO: regular Advance Subscription [2024-12-19 04:30:10] Production.INFO: First Time False 2020-06-18 2024-12-19 [2024-12-19 04:30:10] Production.INFO: StartDate 2024-12-19 AccountSubscription->StartDate 2020-06-18 EndDate 2025-01-18 00:00:00 AccountSubscription->EndDate 2025-12-19 [2024-12-19 04:30:10] Production.INFO: days diff - 31 subscription days 31 quarter days 92 [2024-12-19 04:30:10] Production.INFO: AccountSubscription::getSubscriptionAmount(493,2024-12-19,2025-01-18 00:00:00,,0) [2024-12-19 04:30:10] Production.INFO: SubscriptionCharge - 12 [2024-12-19 04:30:10] Production.INFO: Already Invoice Subscription 0 [2024-12-19 04:30:10] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(67,1,8,2024-12-19,2025-01-18 00:00:00,Additional DID (611800431330) - Australia Toll Free,12,12,1,493) [2024-12-19 04:30:10] Production.INFO: DiscountAmount 0.000000 [2024-12-19 04:30:10] Production.INFO: DiscountType [2024-12-19 04:30:10] Production.INFO: SubscriptionCharge 12 [2024-12-19 04:30:10] Production.INFO: New SubscriptionCharge 12 [2024-12-19 04:30:10] Production.INFO: TotalSubscriptionCharge - 12.00 [2024-12-19 04:30:10] Production.INFO: ============================Subscription End ================= [2024-12-19 04:30:10] Production.INFO: ============================Subscription Start ================= [2024-12-19 04:30:10] Production.INFO: SubscriptionID - 8 [2024-12-19 04:30:11] Production.INFO: isAdvanceSubscription - 8 [2024-12-19 04:30:11] Production.INFO: SubscriptionStartDate =2024-12-19 - SubscriptionEndDate = 2025-01-18 [2024-12-19 04:30:11] Production.INFO: NewNextChargeDate =2025-01-18 00:00:00 [2024-12-19 04:30:11] Production.INFO: EndDate =2024-12-18 00:00:00 [2024-12-19 04:30:11] Production.INFO: NewEndDate1 =2024-12-19 [2024-12-19 04:30:11] Production.INFO: SubscriptionDate [2024-12-19 04:30:11] Production.INFO: Array ( [StartDate] => 2024-12-19 [EndDate] => 2025-01-18 00:00:00 [AlreadyCharged] => 0 ) [2024-12-19 04:30:11] Production.INFO: AccountSubscription StartDate 2020-06-18 StartDate 2024-11-19 [2024-12-19 04:30:11] Production.INFO: SubscriptionID - 2024-12-19=====2025-01-18 00:00:00 [2024-12-19 04:30:11] Production.INFO: AccountSubscriptionID - 494 === 2020-06-18=====2025-12-19 [2024-12-19 04:30:11] Production.INFO: regular Advance Subscription [2024-12-19 04:30:11] Production.INFO: First Time False 2020-06-18 2024-12-19 [2024-12-19 04:30:11] Production.INFO: StartDate 2024-12-19 AccountSubscription->StartDate 2020-06-18 EndDate 2025-01-18 00:00:00 AccountSubscription->EndDate 2025-12-19 [2024-12-19 04:30:11] Production.INFO: days diff - 31 subscription days 31 quarter days 92 [2024-12-19 04:30:11] Production.INFO: AccountSubscription::getSubscriptionAmount(494,2024-12-19,2025-01-18 00:00:00,,0) [2024-12-19 04:30:11] Production.INFO: SubscriptionCharge - 5 [2024-12-19 04:30:11] Production.INFO: Already Invoice Subscription 0 [2024-12-19 04:30:11] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(67,1,8,2024-12-19,2025-01-18 00:00:00,Additional DID (18772928528) - North America Toll Free,5,5,1,494) [2024-12-19 04:30:11] Production.INFO: DiscountAmount 0.000000 [2024-12-19 04:30:11] Production.INFO: DiscountType [2024-12-19 04:30:11] Production.INFO: SubscriptionCharge 5 [2024-12-19 04:30:11] Production.INFO: New SubscriptionCharge 5 [2024-12-19 04:30:11] Production.INFO: TotalSubscriptionCharge - 5.00 [2024-12-19 04:30:11] Production.INFO: ============================Subscription End ================= [2024-12-19 04:30:11] Production.INFO: ============================Subscription Start ================= [2024-12-19 04:30:11] Production.INFO: SubscriptionID - 12 [2024-12-19 04:30:11] Production.INFO: isAdvanceSubscription - 12 [2024-12-19 04:30:11] Production.INFO: SubscriptionStartDate =2024-12-19 - SubscriptionEndDate = 2025-01-18 [2024-12-19 04:30:11] Production.INFO: NewNextChargeDate =2025-01-18 00:00:00 [2024-12-19 04:30:11] Production.INFO: EndDate =2024-12-18 00:00:00 [2024-12-19 04:30:11] Production.INFO: NewEndDate1 =2024-12-19 [2024-12-19 04:30:11] Production.INFO: SubscriptionDate [2024-12-19 04:30:11] Production.INFO: Array ( [StartDate] => 2024-12-19 [EndDate] => 2025-01-18 00:00:00 [AlreadyCharged] => 0 ) [2024-12-19 04:30:11] Production.INFO: AccountSubscription StartDate 2020-06-18 StartDate 2024-11-19 [2024-12-19 04:30:11] Production.INFO: SubscriptionID - 2024-12-19=====2025-01-18 00:00:00 [2024-12-19 04:30:11] Production.INFO: AccountSubscriptionID - 495 === 2020-06-18=====2025-12-19 [2024-12-19 04:30:11] Production.INFO: regular Advance Subscription [2024-12-19 04:30:11] Production.INFO: First Time False 2020-06-18 2024-12-19 [2024-12-19 04:30:11] Production.INFO: StartDate 2024-12-19 AccountSubscription->StartDate 2020-06-18 EndDate 2025-01-18 00:00:00 AccountSubscription->EndDate 2025-12-19 [2024-12-19 04:30:11] Production.INFO: days diff - 31 subscription days 31 quarter days 92 [2024-12-19 04:30:11] Production.INFO: AccountSubscription::getSubscriptionAmount(495,2024-12-19,2025-01-18 00:00:00,,0) [2024-12-19 04:30:11] Production.INFO: SubscriptionCharge - 0 [2024-12-19 04:30:11] Production.INFO: Already Invoice Subscription 0 [2024-12-19 04:30:11] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(67,1,12,2024-12-19,2025-01-18 00:00:00,Included DID (14074567067),0,0,1,495) [2024-12-19 04:30:11] Production.INFO: DiscountAmount 0.000000 [2024-12-19 04:30:11] Production.INFO: DiscountType [2024-12-19 04:30:11] Production.INFO: SubscriptionCharge 0 [2024-12-19 04:30:11] Production.INFO: New SubscriptionCharge 0 [2024-12-19 04:30:11] Production.INFO: TotalSubscriptionCharge - 0.00 [2024-12-19 04:30:11] Production.INFO: ============================Subscription End ================= [2024-12-19 04:30:11] Production.INFO: ============================Subscription Start ================= [2024-12-19 04:30:11] Production.INFO: SubscriptionID - 12 [2024-12-19 04:30:11] Production.INFO: isAdvanceSubscription - 12 [2024-12-19 04:30:11] Production.INFO: SubscriptionStartDate =2024-12-19 - SubscriptionEndDate = 2025-01-18 [2024-12-19 04:30:11] Production.INFO: NewNextChargeDate =2025-01-18 00:00:00 [2024-12-19 04:30:11] Production.INFO: EndDate =2024-12-18 00:00:00 [2024-12-19 04:30:11] Production.INFO: NewEndDate1 =2024-12-19 [2024-12-19 04:30:11] Production.INFO: SubscriptionDate [2024-12-19 04:30:11] Production.INFO: Array ( [StartDate] => 2024-12-19 [EndDate] => 2025-01-18 00:00:00 [AlreadyCharged] => 0 ) [2024-12-19 04:30:11] Production.INFO: AccountSubscription StartDate 2020-06-03 StartDate 2024-11-19 [2024-12-19 04:30:11] Production.INFO: SubscriptionID - 2024-12-19=====2025-01-18 00:00:00 [2024-12-19 04:30:11] Production.INFO: AccountSubscriptionID - 498 === 2020-06-03=====2025-12-19 [2024-12-19 04:30:11] Production.INFO: regular Advance Subscription [2024-12-19 04:30:11] Production.INFO: First Time False 2020-06-03 2024-12-19 [2024-12-19 04:30:11] Production.INFO: StartDate 2024-12-19 AccountSubscription->StartDate 2020-06-03 EndDate 2025-01-18 00:00:00 AccountSubscription->EndDate 2025-12-19 [2024-12-19 04:30:11] Production.INFO: days diff - 31 subscription days 31 quarter days 92 [2024-12-19 04:30:11] Production.INFO: AccountSubscription::getSubscriptionAmount(498,2024-12-19,2025-01-18 00:00:00,,0) [2024-12-19 04:30:11] Production.INFO: SubscriptionCharge - 0 [2024-12-19 04:30:11] Production.INFO: Already Invoice Subscription 0 [2024-12-19 04:30:11] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(67,1,12,2024-12-19,2025-01-18 00:00:00,Included DID (16477944040),0,0,1,498) [2024-12-19 04:30:11] Production.INFO: DiscountAmount 0.000000 [2024-12-19 04:30:11] Production.INFO: DiscountType [2024-12-19 04:30:11] Production.INFO: SubscriptionCharge 0 [2024-12-19 04:30:11] Production.INFO: New SubscriptionCharge 0 [2024-12-19 04:30:11] Production.INFO: TotalSubscriptionCharge - 0.00 [2024-12-19 04:30:11] Production.INFO: ============================Subscription End ================= [2024-12-19 04:30:11] Production.INFO: ============================Subscription Start ================= [2024-12-19 04:30:11] Production.INFO: SubscriptionID - 24 [2024-12-19 04:30:11] Production.INFO: SubscriptionID - 2024-11-19=====2024-12-18 [2024-12-19 04:30:11] Production.INFO: AccountSubscriptionID - 570 === 2021-01-14=====2022-01-14 [2024-12-19 04:30:11] Production.INFO: ============================Subscription End ================= [2024-12-19 04:30:11] Production.INFO: ============================Subscription Start ================= [2024-12-19 04:30:11] Production.INFO: SubscriptionID - 24 [2024-12-19 04:30:11] Production.INFO: SubscriptionID - 2024-11-19=====2024-12-18 [2024-12-19 04:30:11] Production.INFO: AccountSubscriptionID - 571 === 2021-01-14=====2025-12-19 [2024-12-19 04:30:11] Production.INFO: regular Subscription [2024-12-19 04:30:11] Production.INFO: First Time False 2021-01-14 2024-11-19 [2024-12-19 04:30:11] Production.INFO: StartDate 2024-11-19 AccountSubscription->StartDate 2021-01-14 EndDate 2024-12-18 AccountSubscription->EndDate 2025-12-19 [2024-12-19 04:30:11] Production.INFO: days diff - 30 subscription days 30 quarter days 92 [2024-12-19 04:30:11] Production.INFO: AccountSubscription::getSubscriptionAmount(571,2024-11-19,2024-12-18,,0) [2024-12-19 04:30:11] Production.INFO: SubscriptionCharge - -10 [2024-12-19 04:30:11] Production.INFO: Already Invoice Subscription 0 [2024-12-19 04:30:11] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(67,1,24,2024-11-19,2024-12-18,Loyalty discount - $10/month - No expiry (XR),-10,-10,1,571) [2024-12-19 04:30:11] Production.INFO: DiscountAmount 0.000000 [2024-12-19 04:30:11] Production.INFO: DiscountType [2024-12-19 04:30:11] Production.INFO: SubscriptionCharge -10 [2024-12-19 04:30:11] Production.INFO: New SubscriptionCharge -10 [2024-12-19 04:30:11] Production.INFO: TotalSubscriptionCharge - -10.00 [2024-12-19 04:30:11] Production.INFO: ============================Subscription End ================= [2024-12-19 04:30:11] Production.INFO: SUBSCRIPTION Over [2024-12-19 04:30:11] Production.INFO: Call prc_getAccountOneOffCharge(67,0,2024-11-19,2024-12-19 23:59:59) [2024-12-19 04:30:11] Production.INFO: AccountOneOffCharge 0 [2024-12-19 04:30:11] Production.INFO: AccountOneOffCharge Over [2024-12-19 04:30:11] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2024-12-19 04:30:11] Production.INFO: New UsageDates 2024-11-19 - 2024-12-18 23:59:59 [2024-12-19 04:30:11] Production.INFO: SubTotal 32 [2024-12-19 04:30:11] Production.INFO: SubTotalWithouttaxTotal 0 [2024-12-19 04:30:11] Production.INFO: AccountOneOffCharge Tax Over [2024-12-19 04:30:11] Production.INFO: TotalTax 4.16 [2024-12-19 04:30:11] Production.INFO: InvoiceGrandTotal 36.16 [2024-12-19 04:30:11] Production.INFO: InvoiceTaxAmount 4.16 [2024-12-19 04:30:11] Production.INFO: GrandTotal 36.16 [2024-12-19 04:30:11] Production.INFO: SubTotal 32.00 [2024-12-19 04:30:11] Production.INFO: TotalDue 36.16 [2024-12-19 04:30:11] Production.INFO: Reseller ==> 0 [2024-12-19 04:30:11] Production.INFO: original start date ==>2024-11-19 changed start date ==>2024-11-19 00:00:00 original end date ==>2024-12-18 23:59:59 changed end date ==>2024-12-18 23:59:59 [2024-12-19 04:30:11] Production.INFO: CALL prc_getInvoiceUsage(1,'67','0','1','2024-11-19 00:00:00','2024-12-18 23:59:59',0) [2024-12-19 04:30:11] Production.INFO: PDF Generation start [2024-12-19 04:30:11] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/67/Invoices/2024/12/19/Invoice-stars-maple-tours-inv11241-from-11-19-2024-to-12-18-2024-10163.pdf [2024-12-19 04:30:11] Production.INFO: On Linux [2024-12-19 04:30:13] 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/67/Invoices/2024/12/19/footer-stars-maple-tours-inv11241-from-11-19-2024-to-12-18-2024-10163.html" "/var/www/tmp/1/67/Invoices/2024/12/19/Invoice-stars-maple-tours-inv11241-from-11-19-2024-to-12-18-2024-10163.html" "/var/www/tmp/1/67/Invoices/2024/12/19/Invoice-stars-maple-tours-inv11241-from-11-19-2024-to-12-18-2024-10163.pdf" [2024-12-19 04:30:13] Production.INFO: [2024-12-19 04:30:13] Production.INFO: /var/www/tmp/1/67/Invoices/2024/12/19/Invoice-stars-maple-tours-inv11241-from-11-19-2024-to-12-18-2024-10163.html [2024-12-19 04:30:13] Production.INFO: /var/www/tmp/1/67/Invoices/2024/12/19/header-stars-maple-tours-inv11241-from-11-19-2024-to-12-18-2024-10163.html [2024-12-19 04:30:13] Production.INFO: /var/www/tmp/1/67/Invoices/2024/12/19/footer-stars-maple-tours-inv11241-from-11-19-2024-to-12-18-2024-10163.html [2024-12-19 04:30:13] Production.INFO: Invoice generation PDF path [2024-12-19 04:30:13] Production.INFO: PDF fullPath 1/67/Invoices/2024/12/19/Invoice-stars-maple-tours-inv11241-from-11-19-2024-to-12-18-2024-10163.pdf [2024-12-19 04:30:13] Production.INFO: Generate Usage File Start [2024-12-19 04:30:13] Production.INFO: Usage File fullPath 1/67/InvoiceUsageFile/2024/12/19/stars-maple-tours-19-11-2024-00-00-00-TO-18-12-2024-23-59-59_8270__d941d9c0-bdeb-11ef-9794-69739e0ef5c3.csv [2024-12-19 04:30:14] Production.INFO: Sending Email to Staff over [2024-12-19 04:30:14] Production.INFO: Email Status 1 [2024-12-19 04:30:14] Production.INFO: Sending Email to Customer [2024-12-19 04:30:15] Production.INFO: Email Try 10163 1 [2024-12-19 04:30:15] Production.INFO: =========== Email Sending over =========== [2024-12-19 04:30:15] Production.INFO: =========== Returning as Success =========== AccountID 67 [2024-12-19 04:30:15] Production.INFO: Invoice::sendInvoice done [2024-12-19 04:30:15] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2024-12-19 04:30:15] Production.INFO: Invoice Committed AccountID = 67 [2024-12-19 04:30:15] Production.INFO: =========== Updating InvoiceDate =========== [2024-12-19 04:30:15] Production.INFO: NextInvoice 2024-12-19 2025-01-18 [2024-12-19 04:30:15] Production.INFO: new dates [2024-12-19 04:30:15] Production.INFO: LastInvoiceDate 2024-12-19 NextInvoiceDate 2025-01-19 [2024-12-19 04:30:15] Production.INFO: LastChargeDate 2024-12-19 NextChargeDate 2025-01-18 [2024-12-19 04:30:15] Production.INFO: =========== Updated InvoiceDate =========== [2024-12-19 04:30:15] Production.INFO: ========================== Invoice Send End ============================= [2024-12-19 04:30:15] Production.INFO: AccountID =78 FirstInvoiceSend 0 [2024-12-19 04:30:15] Production.INFO: LastInvoiceDate 2024-11-19 NextInvoiceDate 2024-12-19 [2024-12-19 04:30:15] Production.INFO: LastChargeDate 2024-11-19 NextChargeDate 2024-12-18 [2024-12-19 04:30:15] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2024-12-19 04:30:15] Production.INFO: ========================== Invoice Send Start ============================= [2024-12-19 04:30:15] Production.INFO: Invoice::sendInvoice(1,78,2024-11-19,2024-12-19,billing@onswitchit.ca) [2024-12-19 04:30:15] Production.INFO: start Date =2024-11-19 EndDate =2024-12-18 23:59:59 [2024-12-19 04:30:15] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2024-12-19 04:30:15] Production.INFO: InvoiceTemplate->Terms =



This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.


[2024-12-19 04:30:15] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2024-12-19 04:30:15] Production.INFO: AlreadyBilled [2024-12-19 04:30:15] Production.INFO: Reseller ==> 0 [2024-12-19 04:30:15] Production.INFO: original start date ==>2024-11-19 changed start date ==>2024-11-19 00:00:00 original end date ==>2024-12-18 23:59:59 changed end date ==>2024-12-18 23:59:59 [2024-12-19 04:30:15] Production.INFO: CompanyGatewayID 1 TotalCharges ==>2.55000000 [2024-12-19 04:30:15] Production.INFO: Invoice::getAccountUsageTotal(1,78,2024-11-19,2024-12-18 23:59:59) [2024-12-19 04:30:15] Production.INFO: TotalCharges - 2.55 [2024-12-19 04:30:15] Production.INFO: TotalUsageCharges - 2.55 [2024-12-19 04:30:15] Production.INFO: Usage Over [2024-12-19 04:30:15] Production.INFO: Call prc_getAccountSubscription(78,0) [2024-12-19 04:30:15] Production.INFO: SUBSCRIPTION 2 [2024-12-19 04:30:15] Production.INFO: ============================Subscription Start ================= [2024-12-19 04:30:15] Production.INFO: SubscriptionID - 1 [2024-12-19 04:30:15] Production.INFO: isAdvanceSubscription - 1 [2024-12-19 04:30:15] Production.INFO: SubscriptionStartDate =2024-12-19 - SubscriptionEndDate = 2025-01-18 [2024-12-19 04:30:15] Production.INFO: NewNextChargeDate =2025-01-18 00:00:00 [2024-12-19 04:30:15] Production.INFO: EndDate =2024-12-18 00:00:00 [2024-12-19 04:30:15] Production.INFO: NewEndDate1 =2024-12-19 [2024-12-19 04:30:15] Production.INFO: SubscriptionDate [2024-12-19 04:30:15] Production.INFO: Array ( [StartDate] => 2024-12-19 [EndDate] => 2025-01-18 00:00:00 [AlreadyCharged] => 0 ) [2024-12-19 04:30:15] Production.INFO: AccountSubscription StartDate 2018-07-19 StartDate 2024-11-19 [2024-12-19 04:30:15] Production.INFO: SubscriptionID - 2024-12-19=====2025-01-18 00:00:00 [2024-12-19 04:30:15] Production.INFO: AccountSubscriptionID - 314 === 2018-07-19=====2025-12-19 [2024-12-19 04:30:15] Production.INFO: regular Advance Subscription [2024-12-19 04:30:15] Production.INFO: First Time False 2018-07-19 2024-12-19 [2024-12-19 04:30:15] Production.INFO: StartDate 2024-12-19 AccountSubscription->StartDate 2018-07-19 EndDate 2025-01-18 00:00:00 AccountSubscription->EndDate 2025-12-19 [2024-12-19 04:30:15] Production.INFO: days diff - 31 subscription days 31 quarter days 92 [2024-12-19 04:30:15] Production.INFO: AccountSubscription::getSubscriptionAmount(314,2024-12-19,2025-01-18 00:00:00,,0) [2024-12-19 04:30:15] Production.INFO: SubscriptionCharge - 10 [2024-12-19 04:30:15] Production.INFO: Already Invoice Subscription 0 [2024-12-19 04:30:15] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(78,1,1,2024-12-19,2025-01-18 00:00:00,License for a Pay As You Go Cloud Phone extension,10,10,1,314) [2024-12-19 04:30:15] Production.INFO: DiscountAmount 0.000000 [2024-12-19 04:30:15] Production.INFO: DiscountType [2024-12-19 04:30:15] Production.INFO: SubscriptionCharge 10 [2024-12-19 04:30:15] Production.INFO: New SubscriptionCharge 10 [2024-12-19 04:30:15] Production.INFO: TotalSubscriptionCharge - 10.00 [2024-12-19 04:30:15] Production.INFO: ============================Subscription End ================= [2024-12-19 04:30:15] Production.INFO: ============================Subscription Start ================= [2024-12-19 04:30:15] Production.INFO: SubscriptionID - 4 [2024-12-19 04:30:15] Production.INFO: isAdvanceSubscription - 4 [2024-12-19 04:30:15] Production.INFO: SubscriptionStartDate =2024-12-19 - SubscriptionEndDate = 2025-01-18 [2024-12-19 04:30:15] Production.INFO: NewNextChargeDate =2025-01-18 00:00:00 [2024-12-19 04:30:15] Production.INFO: EndDate =2024-12-18 00:00:00 [2024-12-19 04:30:15] Production.INFO: NewEndDate1 =2024-12-19 [2024-12-19 04:30:15] Production.INFO: SubscriptionDate [2024-12-19 04:30:15] Production.INFO: Array ( [StartDate] => 2024-12-19 [EndDate] => 2025-01-18 00:00:00 [AlreadyCharged] => 0 ) [2024-12-19 04:30:15] Production.INFO: AccountSubscription StartDate 2018-07-19 StartDate 2024-11-19 [2024-12-19 04:30:15] Production.INFO: SubscriptionID - 2024-12-19=====2025-01-18 00:00:00 [2024-12-19 04:30:15] Production.INFO: AccountSubscriptionID - 315 === 2018-07-19=====2025-12-19 [2024-12-19 04:30:15] Production.INFO: regular Advance Subscription [2024-12-19 04:30:15] Production.INFO: First Time False 2018-07-19 2024-12-19 [2024-12-19 04:30:15] Production.INFO: StartDate 2024-12-19 AccountSubscription->StartDate 2018-07-19 EndDate 2025-01-18 00:00:00 AccountSubscription->EndDate 2025-12-19 [2024-12-19 04:30:15] Production.INFO: days diff - 31 subscription days 31 quarter days 92 [2024-12-19 04:30:15] Production.INFO: AccountSubscription::getSubscriptionAmount(315,2024-12-19,2025-01-18 00:00:00,,0) [2024-12-19 04:30:15] Production.INFO: SubscriptionCharge - 2.5 [2024-12-19 04:30:15] Production.INFO: Already Invoice Subscription 0 [2024-12-19 04:30:15] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(78,1,4,2024-12-19,2025-01-18 00:00:00,e911 address registration (19052019009 - 50 Anderson Ave., Markham, ON L6E 1A6 Canada),2.5,2.5,1,315) [2024-12-19 04:30:15] Production.INFO: DiscountAmount 0.000000 [2024-12-19 04:30:15] Production.INFO: DiscountType [2024-12-19 04:30:15] Production.INFO: SubscriptionCharge 2.5 [2024-12-19 04:30:15] Production.INFO: New SubscriptionCharge 2.5 [2024-12-19 04:30:15] Production.INFO: TotalSubscriptionCharge - 2.50 [2024-12-19 04:30:15] Production.INFO: ============================Subscription End ================= [2024-12-19 04:30:15] Production.INFO: SUBSCRIPTION Over [2024-12-19 04:30:15] Production.INFO: Call prc_getAccountOneOffCharge(78,0,2024-11-19,2024-12-19 23:59:59) [2024-12-19 04:30:15] Production.INFO: AccountOneOffCharge 0 [2024-12-19 04:30:15] Production.INFO: AccountOneOffCharge Over [2024-12-19 04:30:15] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2024-12-19 04:30:15] Production.INFO: New UsageDates 2024-11-19 - 2024-12-18 23:59:59 [2024-12-19 04:30:15] Production.INFO: SubTotal 15.05 [2024-12-19 04:30:15] Production.INFO: SubTotalWithouttaxTotal 0 [2024-12-19 04:30:15] Production.INFO: AccountOneOffCharge Tax Over [2024-12-19 04:30:15] Production.INFO: TotalTax 1.9565 [2024-12-19 04:30:15] Production.INFO: InvoiceGrandTotal 17.0065 [2024-12-19 04:30:15] Production.INFO: InvoiceTaxAmount 1.96 [2024-12-19 04:30:15] Production.INFO: GrandTotal 17.01 [2024-12-19 04:30:15] Production.INFO: SubTotal 15.05 [2024-12-19 04:30:15] Production.INFO: TotalDue 17.01 [2024-12-19 04:30:15] Production.INFO: Reseller ==> 0 [2024-12-19 04:30:15] Production.INFO: original start date ==>2024-11-19 changed start date ==>2024-11-19 00:00:00 original end date ==>2024-12-18 23:59:59 changed end date ==>2024-12-18 23:59:59 [2024-12-19 04:30:15] Production.INFO: CALL prc_getInvoiceUsage(1,'78','0','1','2024-11-19 00:00:00','2024-12-18 23:59:59',0) [2024-12-19 04:30:15] Production.INFO: PDF Generation start [2024-12-19 04:30:16] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/78/Invoices/2024/12/19/Invoice-halcyon-travel-inv11242-from-11-19-2024-to-12-18-2024-10164.pdf [2024-12-19 04:30:16] Production.INFO: On Linux [2024-12-19 04:30:17] 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/78/Invoices/2024/12/19/footer-halcyon-travel-inv11242-from-11-19-2024-to-12-18-2024-10164.html" "/var/www/tmp/1/78/Invoices/2024/12/19/Invoice-halcyon-travel-inv11242-from-11-19-2024-to-12-18-2024-10164.html" "/var/www/tmp/1/78/Invoices/2024/12/19/Invoice-halcyon-travel-inv11242-from-11-19-2024-to-12-18-2024-10164.pdf" [2024-12-19 04:30:17] Production.INFO: [2024-12-19 04:30:17] Production.INFO: /var/www/tmp/1/78/Invoices/2024/12/19/Invoice-halcyon-travel-inv11242-from-11-19-2024-to-12-18-2024-10164.html [2024-12-19 04:30:17] Production.INFO: /var/www/tmp/1/78/Invoices/2024/12/19/header-halcyon-travel-inv11242-from-11-19-2024-to-12-18-2024-10164.html [2024-12-19 04:30:17] Production.INFO: /var/www/tmp/1/78/Invoices/2024/12/19/footer-halcyon-travel-inv11242-from-11-19-2024-to-12-18-2024-10164.html [2024-12-19 04:30:17] Production.INFO: Invoice generation PDF path [2024-12-19 04:30:17] Production.INFO: PDF fullPath 1/78/Invoices/2024/12/19/Invoice-halcyon-travel-inv11242-from-11-19-2024-to-12-18-2024-10164.pdf [2024-12-19 04:30:17] Production.INFO: Generate Usage File Start [2024-12-19 04:30:17] Production.INFO: Usage File fullPath 1/78/InvoiceUsageFile/2024/12/19/halcyon-travel-19-11-2024-00-00-00-TO-18-12-2024-23-59-59_8863__dbf65230-bdeb-11ef-873f-57b83c0e2ea5.csv [2024-12-19 04:30:18] Production.INFO: Sending Email to Staff over [2024-12-19 04:30:18] Production.INFO: Email Status 1 [2024-12-19 04:30:18] Production.INFO: Sending Email to Customer [2024-12-19 04:30:19] Production.INFO: Email Try 10164 1 [2024-12-19 04:30:19] Production.INFO: =========== Email Sending over =========== [2024-12-19 04:30:19] Production.INFO: =========== Returning as Success =========== AccountID 78 [2024-12-19 04:30:19] Production.INFO: Invoice::sendInvoice done [2024-12-19 04:30:19] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2024-12-19 04:30:19] Production.INFO: Invoice Committed AccountID = 78 [2024-12-19 04:30:19] Production.INFO: =========== Updating InvoiceDate =========== [2024-12-19 04:30:19] Production.INFO: NextInvoice 2024-12-19 2025-01-18 [2024-12-19 04:30:19] Production.INFO: new dates [2024-12-19 04:30:19] Production.INFO: LastInvoiceDate 2024-12-19 NextInvoiceDate 2025-01-19 [2024-12-19 04:30:19] Production.INFO: LastChargeDate 2024-12-19 NextChargeDate 2025-01-18 [2024-12-19 04:30:19] Production.INFO: =========== Updated InvoiceDate =========== [2024-12-19 04:30:19] Production.INFO: ========================== Invoice Send End ============================= [2024-12-19 04:30:19] Production.INFO: AccountID =102 FirstInvoiceSend 0 [2024-12-19 04:30:19] Production.INFO: LastInvoiceDate 2024-11-19 NextInvoiceDate 2024-12-19 [2024-12-19 04:30:19] Production.INFO: LastChargeDate 2024-11-19 NextChargeDate 2024-12-18 [2024-12-19 04:30:19] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2024-12-19 04:30:19] Production.INFO: ========================== Invoice Send Start ============================= [2024-12-19 04:30:19] Production.INFO: Invoice::sendInvoice(1,102,2024-11-19,2024-12-19,billing@onswitchit.ca) [2024-12-19 04:30:19] Production.INFO: start Date =2024-11-19 EndDate =2024-12-18 23:59:59 [2024-12-19 04:30:19] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2024-12-19 04:30:19] Production.INFO: InvoiceTemplate->Terms =



This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.


[2024-12-19 04:30:19] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2024-12-19 04:30:19] Production.INFO: AlreadyBilled [2024-12-19 04:30:19] Production.INFO: Reseller ==> 0 [2024-12-19 04:30:19] Production.INFO: original start date ==>2024-11-19 changed start date ==>2024-11-19 02:00:00 original end date ==>2024-12-18 23:59:59 changed end date ==>2024-12-19 01:59:59 [2024-12-19 04:30:19] Production.INFO: Invoice::getAccountUsageTotal(1,102,2024-11-19,2024-12-18 23:59:59) [2024-12-19 04:30:19] Production.INFO: TotalCharges - 0 [2024-12-19 04:30:19] Production.INFO: TotalUsageCharges - 0.00 [2024-12-19 04:30:19] Production.INFO: Usage Over [2024-12-19 04:30:19] Production.INFO: Call prc_getAccountSubscription(102,0) [2024-12-19 04:30:19] Production.INFO: SUBSCRIPTION 3 [2024-12-19 04:30:19] Production.INFO: ============================Subscription Start ================= [2024-12-19 04:30:19] Production.INFO: SubscriptionID - 5 [2024-12-19 04:30:19] Production.INFO: isAdvanceSubscription - 5 [2024-12-19 04:30:19] Production.INFO: SubscriptionStartDate =2024-12-19 - SubscriptionEndDate = 2025-01-18 [2024-12-19 04:30:19] Production.INFO: NewNextChargeDate =2025-01-18 00:00:00 [2024-12-19 04:30:19] Production.INFO: EndDate =2024-12-18 00:00:00 [2024-12-19 04:30:19] Production.INFO: NewEndDate1 =2024-12-19 [2024-12-19 04:30:19] Production.INFO: SubscriptionDate [2024-12-19 04:30:19] Production.INFO: Array ( [StartDate] => 2024-12-19 [EndDate] => 2025-01-18 00:00:00 [AlreadyCharged] => 0 ) [2024-12-19 04:30:19] Production.INFO: AccountSubscription StartDate 2018-12-17 StartDate 2024-11-19 [2024-12-19 04:30:19] Production.INFO: SubscriptionID - 2024-12-19=====2025-01-18 00:00:00 [2024-12-19 04:30:19] Production.INFO: AccountSubscriptionID - 350 === 2018-12-17=====2025-12-19 [2024-12-19 04:30:19] Production.INFO: regular Advance Subscription [2024-12-19 04:30:19] Production.INFO: First Time False 2018-12-17 2024-12-19 [2024-12-19 04:30:19] Production.INFO: StartDate 2024-12-19 AccountSubscription->StartDate 2018-12-17 EndDate 2025-01-18 00:00:00 AccountSubscription->EndDate 2025-12-19 [2024-12-19 04:30:19] Production.INFO: days diff - 31 subscription days 31 quarter days 92 [2024-12-19 04:30:19] Production.INFO: AccountSubscription::getSubscriptionAmount(350,2024-12-19,2025-01-18 00:00:00,,0) [2024-12-19 04:30:19] Production.INFO: SubscriptionCharge - 75 [2024-12-19 04:30:19] Production.INFO: Already Invoice Subscription 0 [2024-12-19 04:30:19] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(102,1,5,2024-12-19,2025-01-18 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,350) [2024-12-19 04:30:19] Production.INFO: DiscountAmount 0.000000 [2024-12-19 04:30:19] Production.INFO: DiscountType [2024-12-19 04:30:19] Production.INFO: SubscriptionCharge 75 [2024-12-19 04:30:19] Production.INFO: New SubscriptionCharge 75 [2024-12-19 04:30:19] Production.INFO: TotalSubscriptionCharge - 75.00 [2024-12-19 04:30:19] Production.INFO: ============================Subscription End ================= [2024-12-19 04:30:19] Production.INFO: ============================Subscription Start ================= [2024-12-19 04:30:19] Production.INFO: SubscriptionID - 4 [2024-12-19 04:30:19] Production.INFO: isAdvanceSubscription - 4 [2024-12-19 04:30:19] Production.INFO: SubscriptionStartDate =2024-12-19 - SubscriptionEndDate = 2025-01-18 [2024-12-19 04:30:19] Production.INFO: NewNextChargeDate =2025-01-18 00:00:00 [2024-12-19 04:30:19] Production.INFO: EndDate =2024-12-18 00:00:00 [2024-12-19 04:30:19] Production.INFO: NewEndDate1 =2024-12-19 [2024-12-19 04:30:19] Production.INFO: SubscriptionDate [2024-12-19 04:30:19] Production.INFO: Array ( [StartDate] => 2024-12-19 [EndDate] => 2025-01-18 00:00:00 [AlreadyCharged] => 0 ) [2024-12-19 04:30:19] Production.INFO: AccountSubscription StartDate 2018-12-17 StartDate 2024-11-19 [2024-12-19 04:30:19] Production.INFO: SubscriptionID - 2024-12-19=====2025-01-18 00:00:00 [2024-12-19 04:30:19] Production.INFO: AccountSubscriptionID - 351 === 2018-12-17=====2025-12-19 [2024-12-19 04:30:19] Production.INFO: regular Advance Subscription [2024-12-19 04:30:19] Production.INFO: First Time False 2018-12-17 2024-12-19 [2024-12-19 04:30:19] Production.INFO: StartDate 2024-12-19 AccountSubscription->StartDate 2018-12-17 EndDate 2025-01-18 00:00:00 AccountSubscription->EndDate 2025-12-19 [2024-12-19 04:30:19] Production.INFO: days diff - 31 subscription days 31 quarter days 92 [2024-12-19 04:30:19] Production.INFO: AccountSubscription::getSubscriptionAmount(351,2024-12-19,2025-01-18 00:00:00,,0) [2024-12-19 04:30:19] Production.INFO: SubscriptionCharge - 0 [2024-12-19 04:30:19] Production.INFO: Already Invoice Subscription 0 [2024-12-19 04:30:19] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(102,1,4,2024-12-19,2025-01-18 00:00:00,e911 address registration (15876007700 - 2700 Main Street SE 360 Airdrie, AB T4B 2Y1 Canada),0,0,1,351) [2024-12-19 04:30:19] Production.INFO: DiscountAmount 0.000000 [2024-12-19 04:30:19] Production.INFO: DiscountType [2024-12-19 04:30:19] Production.INFO: SubscriptionCharge 0 [2024-12-19 04:30:19] Production.INFO: New SubscriptionCharge 0 [2024-12-19 04:30:19] Production.INFO: TotalSubscriptionCharge - 0.00 [2024-12-19 04:30:19] Production.INFO: ============================Subscription End ================= [2024-12-19 04:30:19] Production.INFO: ============================Subscription Start ================= [2024-12-19 04:30:19] Production.INFO: SubscriptionID - 11 [2024-12-19 04:30:19] Production.INFO: isAdvanceSubscription - 11 [2024-12-19 04:30:19] Production.INFO: SubscriptionStartDate =2024-12-19 - SubscriptionEndDate = 2025-01-18 [2024-12-19 04:30:19] Production.INFO: NewNextChargeDate =2025-01-18 00:00:00 [2024-12-19 04:30:19] Production.INFO: EndDate =2024-12-18 00:00:00 [2024-12-19 04:30:19] Production.INFO: NewEndDate1 =2024-12-19 [2024-12-19 04:30:19] Production.INFO: SubscriptionDate [2024-12-19 04:30:19] Production.INFO: Array ( [StartDate] => 2024-12-19 [EndDate] => 2025-01-18 00:00:00 [AlreadyCharged] => 0 ) [2024-12-19 04:30:19] Production.INFO: AccountSubscription StartDate 2019-05-20 StartDate 2024-11-19 [2024-12-19 04:30:19] Production.INFO: SubscriptionID - 2024-12-19=====2025-01-18 00:00:00 [2024-12-19 04:30:19] Production.INFO: AccountSubscriptionID - 419 === 2019-05-20=====2025-12-19 [2024-12-19 04:30:19] Production.INFO: regular Advance Subscription [2024-12-19 04:30:19] Production.INFO: First Time False 2019-05-20 2024-12-19 [2024-12-19 04:30:19] Production.INFO: StartDate 2024-12-19 AccountSubscription->StartDate 2019-05-20 EndDate 2025-01-18 00:00:00 AccountSubscription->EndDate 2025-12-19 [2024-12-19 04:30:19] Production.INFO: days diff - 31 subscription days 31 quarter days 92 [2024-12-19 04:30:19] Production.INFO: AccountSubscription::getSubscriptionAmount(419,2024-12-19,2025-01-18 00:00:00,,0) [2024-12-19 04:30:19] Production.INFO: SubscriptionCharge - -5 [2024-12-19 04:30:19] Production.INFO: Already Invoice Subscription 0 [2024-12-19 04:30:19] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(102,1,11,2024-12-19,2025-01-18 00:00:00,Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service,-15,-5,3,419) [2024-12-19 04:30:19] Production.INFO: DiscountAmount 0.000000 [2024-12-19 04:30:19] Production.INFO: DiscountType [2024-12-19 04:30:19] Production.INFO: SubscriptionCharge -15 [2024-12-19 04:30:19] Production.INFO: New SubscriptionCharge -15 [2024-12-19 04:30:19] Production.INFO: TotalSubscriptionCharge - -15.00 [2024-12-19 04:30:19] Production.INFO: ============================Subscription End ================= [2024-12-19 04:30:19] Production.INFO: SUBSCRIPTION Over [2024-12-19 04:30:19] Production.INFO: Call prc_getAccountOneOffCharge(102,0,2024-11-19,2024-12-19 23:59:59) [2024-12-19 04:30:19] Production.INFO: AccountOneOffCharge 0 [2024-12-19 04:30:19] Production.INFO: AccountOneOffCharge Over [2024-12-19 04:30:19] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2024-12-19 04:30:19] Production.INFO: New UsageDates 2024-11-19 - 2024-12-18 23:59:59 [2024-12-19 04:30:19] Production.INFO: SubTotal 60 [2024-12-19 04:30:19] Production.INFO: SubTotalWithouttaxTotal 0 [2024-12-19 04:30:19] Production.INFO: AccountOneOffCharge Tax Over [2024-12-19 04:30:19] Production.INFO: TotalTax 3 [2024-12-19 04:30:19] Production.INFO: InvoiceGrandTotal 63 [2024-12-19 04:30:19] Production.INFO: InvoiceTaxAmount 3 [2024-12-19 04:30:19] Production.INFO: GrandTotal 63 [2024-12-19 04:30:19] Production.INFO: SubTotal 60.00 [2024-12-19 04:30:19] Production.INFO: TotalDue 63.00 [2024-12-19 04:30:19] Production.INFO: Reseller ==> 0 [2024-12-19 04:30:19] Production.INFO: original start date ==>2024-11-19 changed start date ==>2024-11-19 02:00:00 original end date ==>2024-12-18 23:59:59 changed end date ==>2024-12-19 01:59:59 [2024-12-19 04:30:19] Production.INFO: CALL prc_getInvoiceUsage(1,'102','0','1','2024-11-19 02:00:00','2024-12-19 01:59:59',0) [2024-12-19 04:30:19] Production.INFO: PDF Generation start [2024-12-19 04:30:20] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/102/Invoices/2024/12/19/Invoice-dominos-39013-mudassar-zia-inv11243-from-11-19-2024-to-12-18-2024-10165.pdf [2024-12-19 04:30:20] Production.INFO: On Linux [2024-12-19 04:30:21] 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/102/Invoices/2024/12/19/footer-dominos-39013-mudassar-zia-inv11243-from-11-19-2024-to-12-18-2024-10165.html" "/var/www/tmp/1/102/Invoices/2024/12/19/Invoice-dominos-39013-mudassar-zia-inv11243-from-11-19-2024-to-12-18-2024-10165.html" "/var/www/tmp/1/102/Invoices/2024/12/19/Invoice-dominos-39013-mudassar-zia-inv11243-from-11-19-2024-to-12-18-2024-10165.pdf" [2024-12-19 04:30:21] Production.INFO: [2024-12-19 04:30:21] Production.INFO: /var/www/tmp/1/102/Invoices/2024/12/19/Invoice-dominos-39013-mudassar-zia-inv11243-from-11-19-2024-to-12-18-2024-10165.html [2024-12-19 04:30:21] Production.INFO: /var/www/tmp/1/102/Invoices/2024/12/19/header-dominos-39013-mudassar-zia-inv11243-from-11-19-2024-to-12-18-2024-10165.html [2024-12-19 04:30:21] Production.INFO: /var/www/tmp/1/102/Invoices/2024/12/19/footer-dominos-39013-mudassar-zia-inv11243-from-11-19-2024-to-12-18-2024-10165.html [2024-12-19 04:30:21] Production.INFO: Invoice generation PDF path [2024-12-19 04:30:21] Production.INFO: PDF fullPath 1/102/Invoices/2024/12/19/Invoice-dominos-39013-mudassar-zia-inv11243-from-11-19-2024-to-12-18-2024-10165.pdf [2024-12-19 04:30:21] Production.INFO: Generate Usage File Start [2024-12-19 04:30:21] Production.INFO: Usage File fullPath 1/102/InvoiceUsageFile/2024/12/19/dominos-39013-mudassar-zia-19-11-2024-00-00-00-TO-18-12-2024-23-59-59_8811__de555c60-bdeb-11ef-bbc2-c17f62643f69.csv [2024-12-19 04:30:22] Production.INFO: Sending Email to Staff over [2024-12-19 04:30:22] Production.INFO: Email Status 1 [2024-12-19 04:30:22] Production.INFO: Sending Email to Customer [2024-12-19 04:30:23] Production.INFO: Email Try 10165 1 [2024-12-19 04:30:23] Production.INFO: =========== Email Sending over =========== [2024-12-19 04:30:23] Production.INFO: =========== Returning as Success =========== AccountID 102 [2024-12-19 04:30:23] Production.INFO: Invoice::sendInvoice done [2024-12-19 04:30:23] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2024-12-19 04:30:23] Production.INFO: Invoice Committed AccountID = 102 [2024-12-19 04:30:23] Production.INFO: =========== Updating InvoiceDate =========== [2024-12-19 04:30:23] Production.INFO: NextInvoice 2024-12-19 2025-01-18 [2024-12-19 04:30:23] Production.INFO: new dates [2024-12-19 04:30:23] Production.INFO: LastInvoiceDate 2024-12-19 NextInvoiceDate 2025-01-19 [2024-12-19 04:30:23] Production.INFO: LastChargeDate 2024-12-19 NextChargeDate 2025-01-18 [2024-12-19 04:30:23] Production.INFO: =========== Updated InvoiceDate =========== [2024-12-19 04:30:23] Production.INFO: ========================== Invoice Send End ============================= [2024-12-19 04:30:23] Production.INFO: AccountID =108 FirstInvoiceSend 0 [2024-12-19 04:30:23] Production.INFO: LastInvoiceDate 2024-11-19 NextInvoiceDate 2024-12-19 [2024-12-19 04:30:23] Production.INFO: LastChargeDate 2024-11-19 NextChargeDate 2024-12-18 [2024-12-19 04:30:23] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2024-12-19 04:30:23] Production.INFO: ========================== Invoice Send Start ============================= [2024-12-19 04:30:23] Production.INFO: Invoice::sendInvoice(1,108,2024-11-19,2024-12-19,billing@onswitchit.ca) [2024-12-19 04:30:23] Production.INFO: start Date =2024-11-19 EndDate =2024-12-18 23:59:59 [2024-12-19 04:30:23] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2024-12-19 04:30:23] Production.INFO: InvoiceTemplate->Terms =



This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.


[2024-12-19 04:30:23] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2024-12-19 04:30:23] Production.INFO: AlreadyBilled [2024-12-19 04:30:23] Production.INFO: Reseller ==> 0 [2024-12-19 04:30:23] Production.INFO: original start date ==>2024-11-19 changed start date ==>2024-11-19 00:00:00 original end date ==>2024-12-18 23:59:59 changed end date ==>2024-12-18 23:59:59 [2024-12-19 04:30:23] Production.INFO: Invoice::getAccountUsageTotal(1,108,2024-11-19,2024-12-18 23:59:59) [2024-12-19 04:30:23] Production.INFO: TotalCharges - 0 [2024-12-19 04:30:23] Production.INFO: TotalUsageCharges - 0.00 [2024-12-19 04:30:23] Production.INFO: Usage Over [2024-12-19 04:30:23] Production.INFO: Call prc_getAccountSubscription(108,0) [2024-12-19 04:30:23] Production.INFO: SUBSCRIPTION 2 [2024-12-19 04:30:23] Production.INFO: ============================Subscription Start ================= [2024-12-19 04:30:23] Production.INFO: SubscriptionID - 1 [2024-12-19 04:30:23] Production.INFO: isAdvanceSubscription - 1 [2024-12-19 04:30:23] Production.INFO: SubscriptionStartDate =2024-12-19 - SubscriptionEndDate = 2025-01-18 [2024-12-19 04:30:23] Production.INFO: NewNextChargeDate =2025-01-18 00:00:00 [2024-12-19 04:30:23] Production.INFO: EndDate =2024-12-18 00:00:00 [2024-12-19 04:30:23] Production.INFO: NewEndDate1 =2024-12-19 [2024-12-19 04:30:23] Production.INFO: SubscriptionDate [2024-12-19 04:30:23] Production.INFO: Array ( [StartDate] => 2024-12-19 [EndDate] => 2025-01-18 00:00:00 [AlreadyCharged] => 0 ) [2024-12-19 04:30:23] Production.INFO: AccountSubscription StartDate 2019-02-12 StartDate 2024-11-19 [2024-12-19 04:30:23] Production.INFO: SubscriptionID - 2024-12-19=====2025-01-18 00:00:00 [2024-12-19 04:30:23] Production.INFO: AccountSubscriptionID - 375 === 2019-02-12=====2025-12-19 [2024-12-19 04:30:23] Production.INFO: regular Advance Subscription [2024-12-19 04:30:23] Production.INFO: First Time False 2019-02-12 2024-12-19 [2024-12-19 04:30:23] Production.INFO: StartDate 2024-12-19 AccountSubscription->StartDate 2019-02-12 EndDate 2025-01-18 00:00:00 AccountSubscription->EndDate 2025-12-19 [2024-12-19 04:30:23] Production.INFO: days diff - 31 subscription days 31 quarter days 92 [2024-12-19 04:30:23] Production.INFO: AccountSubscription::getSubscriptionAmount(375,2024-12-19,2025-01-18 00:00:00,,0) [2024-12-19 04:30:23] Production.INFO: SubscriptionCharge - 10 [2024-12-19 04:30:23] Production.INFO: Already Invoice Subscription 0 [2024-12-19 04:30:23] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(108,1,1,2024-12-19,2025-01-18 00:00:00,License for a Pay As You Go Cloud Phone extension,10,10,1,375) [2024-12-19 04:30:23] Production.INFO: DiscountAmount 0.000000 [2024-12-19 04:30:23] Production.INFO: DiscountType [2024-12-19 04:30:23] Production.INFO: SubscriptionCharge 10 [2024-12-19 04:30:23] Production.INFO: New SubscriptionCharge 10 [2024-12-19 04:30:23] Production.INFO: TotalSubscriptionCharge - 10.00 [2024-12-19 04:30:23] Production.INFO: ============================Subscription End ================= [2024-12-19 04:30:23] Production.INFO: ============================Subscription Start ================= [2024-12-19 04:30:23] Production.INFO: SubscriptionID - 24 [2024-12-19 04:30:23] Production.INFO: SubscriptionID - 2024-11-19=====2024-12-18 [2024-12-19 04:30:23] Production.INFO: AccountSubscriptionID - 547 === 2020-10-08=====2025-12-19 [2024-12-19 04:30:23] Production.INFO: regular Subscription [2024-12-19 04:30:23] Production.INFO: First Time False 2020-10-08 2024-11-19 [2024-12-19 04:30:23] Production.INFO: StartDate 2024-11-19 AccountSubscription->StartDate 2020-10-08 EndDate 2024-12-18 AccountSubscription->EndDate 2025-12-19 [2024-12-19 04:30:23] Production.INFO: days diff - 30 subscription days 30 quarter days 92 [2024-12-19 04:30:23] Production.INFO: AccountSubscription::getSubscriptionAmount(547,2024-11-19,2024-12-18,,0) [2024-12-19 04:30:23] Production.INFO: SubscriptionCharge - -10 [2024-12-19 04:30:23] Production.INFO: Already Invoice Subscription 0 [2024-12-19 04:30:23] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(108,1,24,2024-11-19,2024-12-18,Discount - 100% (Approved by Xander Robar),-10,-10,1,547) [2024-12-19 04:30:23] Production.INFO: DiscountAmount 0.000000 [2024-12-19 04:30:23] Production.INFO: DiscountType [2024-12-19 04:30:23] Production.INFO: SubscriptionCharge -10 [2024-12-19 04:30:23] Production.INFO: New SubscriptionCharge -10 [2024-12-19 04:30:23] Production.INFO: TotalSubscriptionCharge - -10.00 [2024-12-19 04:30:23] Production.INFO: ============================Subscription End ================= [2024-12-19 04:30:23] Production.INFO: SUBSCRIPTION Over [2024-12-19 04:30:23] Production.INFO: Call prc_getAccountOneOffCharge(108,0,2024-11-19,2024-12-19 23:59:59) [2024-12-19 04:30:23] Production.INFO: AccountOneOffCharge 0 [2024-12-19 04:30:23] Production.INFO: AccountOneOffCharge Over [2024-12-19 04:30:23] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2024-12-19 04:30:23] Production.INFO: New UsageDates 2024-11-19 - 2024-12-18 23:59:59 [2024-12-19 04:30:23] Production.INFO: SubTotal 0 [2024-12-19 04:30:23] Production.INFO: SubTotalWithouttaxTotal 0 [2024-12-19 04:30:23] Production.INFO: AccountOneOffCharge Tax Over [2024-12-19 04:30:23] Production.INFO: TotalTax 0 [2024-12-19 04:30:23] Production.INFO: InvoiceGrandTotal 0 [2024-12-19 04:30:23] Production.INFO: InvoiceTaxAmount 0 [2024-12-19 04:30:23] Production.INFO: GrandTotal 0 [2024-12-19 04:30:23] Production.INFO: SubTotal 0.00 [2024-12-19 04:30:23] Production.INFO: TotalDue 0.00 [2024-12-19 04:30:23] Production.INFO: Reseller ==> 0 [2024-12-19 04:30:23] Production.INFO: original start date ==>2024-11-19 changed start date ==>2024-11-19 00:00:00 original end date ==>2024-12-18 23:59:59 changed end date ==>2024-12-18 23:59:59 [2024-12-19 04:30:23] Production.INFO: CALL prc_getInvoiceUsage(1,'108','0','1','2024-11-19 00:00:00','2024-12-18 23:59:59',0) [2024-12-19 04:30:23] Production.INFO: PDF Generation start [2024-12-19 04:30:23] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/108/Invoices/2024/12/19/Invoice-jamie-lauer-inv11244-from-11-19-2024-to-12-18-2024-10166.pdf [2024-12-19 04:30:23] Production.INFO: On Linux [2024-12-19 04:30:24] 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/108/Invoices/2024/12/19/footer-jamie-lauer-inv11244-from-11-19-2024-to-12-18-2024-10166.html" "/var/www/tmp/1/108/Invoices/2024/12/19/Invoice-jamie-lauer-inv11244-from-11-19-2024-to-12-18-2024-10166.html" "/var/www/tmp/1/108/Invoices/2024/12/19/Invoice-jamie-lauer-inv11244-from-11-19-2024-to-12-18-2024-10166.pdf" [2024-12-19 04:30:24] Production.INFO: [2024-12-19 04:30:24] Production.INFO: /var/www/tmp/1/108/Invoices/2024/12/19/Invoice-jamie-lauer-inv11244-from-11-19-2024-to-12-18-2024-10166.html [2024-12-19 04:30:24] Production.INFO: /var/www/tmp/1/108/Invoices/2024/12/19/header-jamie-lauer-inv11244-from-11-19-2024-to-12-18-2024-10166.html [2024-12-19 04:30:24] Production.INFO: /var/www/tmp/1/108/Invoices/2024/12/19/footer-jamie-lauer-inv11244-from-11-19-2024-to-12-18-2024-10166.html [2024-12-19 04:30:24] Production.INFO: Invoice generation PDF path [2024-12-19 04:30:24] Production.INFO: PDF fullPath 1/108/Invoices/2024/12/19/Invoice-jamie-lauer-inv11244-from-11-19-2024-to-12-18-2024-10166.pdf [2024-12-19 04:30:24] Production.INFO: Generate Usage File Start [2024-12-19 04:30:24] Production.INFO: Usage File fullPath 1/108/InvoiceUsageFile/2024/12/19/jamie-lauer-19-11-2024-00-00-00-TO-18-12-2024-23-59-59_760__e02654c0-bdeb-11ef-828a-11836e010ffe.csv [2024-12-19 04:30:25] Production.INFO: Sending Email to Staff over [2024-12-19 04:30:25] Production.INFO: Email Status 1 [2024-12-19 04:30:25] Production.INFO: Sending Email to Customer [2024-12-19 04:30:25] Production.INFO: =========== Email Sending over =========== [2024-12-19 04:30:25] Production.INFO: =========== Returning as Success =========== AccountID 108 [2024-12-19 04:30:25] Production.INFO: Invoice::sendInvoice done [2024-12-19 04:30:25] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2024-12-19 04:30:25] Production.INFO: Invoice Committed AccountID = 108 [2024-12-19 04:30:25] Production.INFO: =========== Updating InvoiceDate =========== [2024-12-19 04:30:25] Production.INFO: NextInvoice 2024-12-19 2025-01-18 [2024-12-19 04:30:25] Production.INFO: new dates [2024-12-19 04:30:25] Production.INFO: LastInvoiceDate 2024-12-19 NextInvoiceDate 2025-01-19 [2024-12-19 04:30:25] Production.INFO: LastChargeDate 2024-12-19 NextChargeDate 2025-01-18 [2024-12-19 04:30:25] Production.INFO: =========== Updated InvoiceDate =========== [2024-12-19 04:30:25] Production.INFO: ========================== Invoice Send End ============================= [2024-12-19 04:30:25] Production.INFO: AccountID =143 FirstInvoiceSend 0 [2024-12-19 04:30:25] Production.INFO: LastInvoiceDate 2024-11-19 NextInvoiceDate 2024-12-19 [2024-12-19 04:30:25] Production.INFO: LastChargeDate 2024-11-19 NextChargeDate 2024-12-18 [2024-12-19 04:30:25] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2024-12-19 04:30:25] Production.INFO: ========================== Invoice Send Start ============================= [2024-12-19 04:30:25] Production.INFO: Invoice::sendInvoice(1,143,2024-11-19,2024-12-19,billing@onswitchit.ca) [2024-12-19 04:30:25] Production.INFO: start Date =2024-11-19 EndDate =2024-12-18 23:59:59 [2024-12-19 04:30:25] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2024-12-19 04:30:25] Production.INFO: InvoiceTemplate->Terms =



This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.


[2024-12-19 04:30:25] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2024-12-19 04:30:25] Production.INFO: AlreadyBilled [2024-12-19 04:30:25] Production.INFO: Reseller ==> 0 [2024-12-19 04:30:25] Production.INFO: Invoice::getAccountUsageTotal(1,143,2024-11-19,2024-12-18 23:59:59) [2024-12-19 04:30:25] Production.INFO: TotalCharges - 0 [2024-12-19 04:30:25] Production.INFO: TotalUsageCharges - 0.00 [2024-12-19 04:30:25] Production.INFO: Usage Over [2024-12-19 04:30:25] Production.INFO: Call prc_getAccountSubscription(143,0) [2024-12-19 04:30:25] Production.INFO: SUBSCRIPTION 1 [2024-12-19 04:30:25] Production.INFO: ============================Subscription Start ================= [2024-12-19 04:30:25] Production.INFO: SubscriptionID - 7 [2024-12-19 04:30:25] Production.INFO: isAdvanceSubscription - 7 [2024-12-19 04:30:25] Production.INFO: SubscriptionStartDate =2024-12-19 - SubscriptionEndDate = 2025-01-18 [2024-12-19 04:30:25] Production.INFO: NewNextChargeDate =2025-01-18 00:00:00 [2024-12-19 04:30:25] Production.INFO: EndDate =2024-12-18 00:00:00 [2024-12-19 04:30:25] Production.INFO: NewEndDate1 =2024-12-19 [2024-12-19 04:30:25] Production.INFO: SubscriptionDate [2024-12-19 04:30:25] Production.INFO: Array ( [StartDate] => 2024-12-19 [EndDate] => 2025-01-18 00:00:00 [AlreadyCharged] => 0 ) [2024-12-19 04:30:25] Production.INFO: New Account Subscription Start [2024-12-19 04:30:25] Production.INFO: AccountSubscription StartDate 2020-12-19 StartDate 2024-11-19 [2024-12-19 04:30:25] Production.INFO: SubscriptionID - 2024-12-19=====2025-01-18 00:00:00 [2024-12-19 04:30:25] Production.INFO: AccountSubscriptionID - 558 === 2020-12-19=====2025-02-28 [2024-12-19 04:30:25] Production.INFO: regular Advance Subscription [2024-12-19 04:30:25] Production.INFO: First Time False 2020-12-19 2024-12-19 [2024-12-19 04:30:25] Production.INFO: StartDate 2024-12-19 AccountSubscription->StartDate 2020-12-19 EndDate 2025-01-18 00:00:00 AccountSubscription->EndDate 2025-02-28 [2024-12-19 04:30:25] Production.INFO: days diff - 31 subscription days 31 quarter days 92 [2024-12-19 04:30:25] Production.INFO: AccountSubscription::getSubscriptionAmount(558,2024-12-19,2025-01-18 00:00:00,,0) [2024-12-19 04:30:25] Production.INFO: SubscriptionCharge - 8.1 [2024-12-19 04:30:25] Production.INFO: Already Invoice Subscription 0 [2024-12-19 04:30:25] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(143,2,7,2024-12-19,2025-01-18 00:00:00,Collaboration and productivity suite, managed by OnSwitch.,24.3,8.1,3,558) [2024-12-19 04:30:25] Production.INFO: DiscountAmount 0.000000 [2024-12-19 04:30:25] Production.INFO: DiscountType [2024-12-19 04:30:25] Production.INFO: SubscriptionCharge 24.3 [2024-12-19 04:30:25] Production.INFO: New SubscriptionCharge 24.3 [2024-12-19 04:30:25] Production.INFO: TotalSubscriptionCharge - 24.30 [2024-12-19 04:30:25] Production.INFO: ============================Subscription End ================= [2024-12-19 04:30:25] Production.INFO: SUBSCRIPTION Over [2024-12-19 04:30:25] Production.INFO: Call prc_getAccountOneOffCharge(143,0,2024-11-19,2024-12-19 23:59:59) [2024-12-19 04:30:25] Production.INFO: AccountOneOffCharge 0 [2024-12-19 04:30:25] Production.INFO: AccountOneOffCharge Over [2024-12-19 04:30:25] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2024-12-19 04:30:25] Production.INFO: New UsageDates 2024-11-19 - 2024-12-18 23:59:59 [2024-12-19 04:30:25] Production.INFO: SubTotal 24.3 [2024-12-19 04:30:25] Production.INFO: SubTotalWithouttaxTotal 0 [2024-12-19 04:30:25] Production.INFO: AccountOneOffCharge Tax Over [2024-12-19 04:30:25] Production.INFO: TotalTax 3.159 [2024-12-19 04:30:25] Production.INFO: InvoiceGrandTotal 27.459 [2024-12-19 04:30:25] Production.INFO: InvoiceTaxAmount 3.16 [2024-12-19 04:30:25] Production.INFO: GrandTotal 27.46 [2024-12-19 04:30:25] Production.INFO: SubTotal 24.30 [2024-12-19 04:30:25] Production.INFO: TotalDue 27.46 [2024-12-19 04:30:25] Production.INFO: Reseller ==> 0 [2024-12-19 04:30:25] Production.INFO: PDF Generation start [2024-12-19 04:30:25] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/143/Invoices/2024/12/19/Invoice-orange-contracting-inv11245-from-11-19-2024-to-12-18-2024-10167.pdf [2024-12-19 04:30:25] Production.INFO: On Linux [2024-12-19 04:30:27] 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/143/Invoices/2024/12/19/footer-orange-contracting-inv11245-from-11-19-2024-to-12-18-2024-10167.html" "/var/www/tmp/1/143/Invoices/2024/12/19/Invoice-orange-contracting-inv11245-from-11-19-2024-to-12-18-2024-10167.html" "/var/www/tmp/1/143/Invoices/2024/12/19/Invoice-orange-contracting-inv11245-from-11-19-2024-to-12-18-2024-10167.pdf" [2024-12-19 04:30:27] Production.INFO: [2024-12-19 04:30:27] Production.INFO: /var/www/tmp/1/143/Invoices/2024/12/19/Invoice-orange-contracting-inv11245-from-11-19-2024-to-12-18-2024-10167.html [2024-12-19 04:30:27] Production.INFO: /var/www/tmp/1/143/Invoices/2024/12/19/header-orange-contracting-inv11245-from-11-19-2024-to-12-18-2024-10167.html [2024-12-19 04:30:27] Production.INFO: /var/www/tmp/1/143/Invoices/2024/12/19/footer-orange-contracting-inv11245-from-11-19-2024-to-12-18-2024-10167.html [2024-12-19 04:30:27] Production.INFO: Invoice generation PDF path [2024-12-19 04:30:27] Production.INFO: PDF fullPath 1/143/Invoices/2024/12/19/Invoice-orange-contracting-inv11245-from-11-19-2024-to-12-18-2024-10167.pdf [2024-12-19 04:30:27] Production.INFO: Generate Usage File Start [2024-12-19 04:30:27] Production.INFO: Usage File fullPath 1/143/InvoiceUsageFile/2024/12/19/orange-contracting-19-11-2024-00-00-00-TO-18-12-2024-23-59-59_144__e18f67b0-bdeb-11ef-9bca-a1ead1e74539.csv [2024-12-19 04:30:27] Production.INFO: Sending Email to Staff over [2024-12-19 04:30:27] Production.INFO: Email Status 1 [2024-12-19 04:30:27] Production.INFO: Sending Email to Customer [2024-12-19 04:30:28] Production.INFO: Email Try 10167 1 [2024-12-19 04:30:28] Production.INFO: =========== Email Sending over =========== [2024-12-19 04:30:28] Production.INFO: =========== Returning as Success =========== AccountID 143 [2024-12-19 04:30:28] Production.INFO: Invoice::sendInvoice done [2024-12-19 04:30:28] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2024-12-19 04:30:28] Production.INFO: Invoice Committed AccountID = 143 [2024-12-19 04:30:28] Production.INFO: =========== Updating InvoiceDate =========== [2024-12-19 04:30:28] Production.INFO: NextInvoice 2024-12-19 2025-01-18 [2024-12-19 04:30:28] Production.INFO: new dates [2024-12-19 04:30:28] Production.INFO: LastInvoiceDate 2024-12-19 NextInvoiceDate 2025-01-19 [2024-12-19 04:30:28] Production.INFO: LastChargeDate 2024-12-19 NextChargeDate 2025-01-18 [2024-12-19 04:30:28] Production.INFO: =========== Updated InvoiceDate =========== [2024-12-19 04:30:28] Production.INFO: ========================== Invoice Send End ============================= [2024-12-19 04:30:28] Production.INFO: ========================== Recurring invoice Start ============================= [2024-12-19 04:30:28] Production.INFO: recurring invoices ID [2024-12-19 04:30:28] Production.INFO: [2024-12-19 04:30:28] Production.INFO: recurring errorsArray ( ) [2024-12-19 04:30:28] Production.INFO: ========================== Recurring invoice End ============================= [2024-12-19 04:30:28] Production.INFO: ========================== Job Updated ============================= [2024-12-19 04:30:29] Production.INFO: ========================== Job Email Sent ============================= [2024-12-19 04:30:30] Production.ERROR: **Email Sent Status 1 [2024-12-19 04:30:30] Production.ERROR: **Email Sent message Email has been sent [2024-12-19 04:30:30] Production.ERROR: CronJobId end6 [2024-12-19 04:30:30] Production.INFO: ==7052== Releasing lock... [2024-12-19 04:30:30] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops# [2024-12-19 04:30:30] Production.INFO: 39.25 MB #Memory Used#