[2025-03-11 04:31:04] Production.INFO: Call prc_getBillingAccounts(1,2025-03-11,'','0')
[2025-03-11 04:31:04] Production.INFO: Array
(
[0] => stdClass Object
(
[AccountID] => 98
[NextInvoiceDate] => 2025-03-11
[AccountName] => Dominos 10537 (Brandon Meyers)
[ServiceID] => 0
)
[1] => stdClass Object
(
[AccountID] => 106
[NextInvoiceDate] => 2025-03-11
[AccountName] => G4 Broker
[ServiceID] => 0
)
[2] => stdClass Object
(
[AccountID] => 119
[NextInvoiceDate] => 2025-03-11
[AccountName] => Dominos 10402 (Anwar Hossain)
[ServiceID] => 0
)
[3] => stdClass Object
(
[AccountID] => 123
[NextInvoiceDate] => 2025-03-11
[AccountName] => Dominos 10547 (Nathan Krishnan)
[ServiceID] => 0
)
[4] => stdClass Object
(
[AccountID] => 134
[NextInvoiceDate] => 2025-03-11
[AccountName] => Sidhu Law Chambers
[ServiceID] => 0
)
[5] => stdClass Object
(
[AccountID] => 229
[NextInvoiceDate] => 2025-03-11
[AccountName] => Dominos 10096 (Albert Chan)
[ServiceID] => 0
)
[6] => stdClass Object
(
[AccountID] => 258
[NextInvoiceDate] => 2025-03-10
[AccountName] => Lion Motors
[ServiceID] => 0
)
)
[2025-03-11 04:31:04] Production.INFO: AccountID =98 FirstInvoiceSend 0
[2025-03-11 04:31:04] Production.INFO: LastInvoiceDate 2025-02-11 NextInvoiceDate 2025-03-11
[2025-03-11 04:31:04] Production.INFO: LastChargeDate 2025-02-11 NextChargeDate 2025-03-10
[2025-03-11 04:31:04] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-03-11 04:31:04] Production.INFO: ========================== Invoice Send Start =============================
[2025-03-11 04:31:04] Production.INFO: Invoice::sendInvoice(1,98,2025-02-11,2025-03-11,billing@onswitchit.ca)
[2025-03-11 04:31:04] Production.INFO: start Date =2025-02-11 EndDate =2025-03-10 23:59:59
[2025-03-11 04:31:04] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-03-11 04:31: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.
[2025-03-11 04:31:04] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-03-11 04:31:04] Production.INFO: AlreadyBilled
[2025-03-11 04:31:04] Production.INFO: Reseller ==> 0
[2025-03-11 04:31:04] Production.INFO: original start date ==>2025-02-11 changed start date ==>2025-02-11 00:00:00 original end date ==>2025-03-10 23:59:59 changed end date ==>2025-03-10 23:59:59
[2025-03-11 04:31:04] Production.INFO: Invoice::getAccountUsageTotal(1,98,2025-02-11,2025-03-10 23:59:59)
[2025-03-11 04:31:04] Production.INFO: TotalCharges - 0
[2025-03-11 04:31:04] Production.INFO: TotalUsageCharges - 0.00
[2025-03-11 04:31:04] Production.INFO: Usage Over
[2025-03-11 04:31:04] Production.INFO: Call prc_getAccountSubscription(98,0)
[2025-03-11 04:31:04] Production.INFO: SUBSCRIPTION 3
[2025-03-11 04:31:04] Production.INFO: ============================Subscription Start =================
[2025-03-11 04:31:04] Production.INFO: SubscriptionID - 5
[2025-03-11 04:31:04] Production.INFO: isAdvanceSubscription - 5
[2025-03-11 04:31:04] Production.INFO: SubscriptionStartDate =2025-03-11 - SubscriptionEndDate = 2025-04-10
[2025-03-11 04:31:04] Production.INFO: NewNextChargeDate =2025-04-10 00:00:00
[2025-03-11 04:31:04] Production.INFO: EndDate =2025-03-10 00:00:00
[2025-03-11 04:31:04] Production.INFO: NewEndDate1 =2025-03-11
[2025-03-11 04:31:04] Production.INFO: SubscriptionDate
[2025-03-11 04:31:04] Production.INFO: Array
(
[StartDate] => 2025-03-11
[EndDate] => 2025-04-10 00:00:00
[AlreadyCharged] => 0
)
[2025-03-11 04:31:04] Production.INFO: AccountSubscription StartDate 2018-12-11 StartDate 2025-02-11
[2025-03-11 04:31:04] Production.INFO: SubscriptionID - 2025-03-11=====2025-04-10 00:00:00
[2025-03-11 04:31:04] Production.INFO: AccountSubscriptionID - 324 === 2018-12-11=====2026-03-11
[2025-03-11 04:31:04] Production.INFO: regular Advance Subscription
[2025-03-11 04:31:04] Production.INFO: First Time False 2018-12-11 2025-03-11
[2025-03-11 04:31:04] Production.INFO: StartDate 2025-03-11 AccountSubscription->StartDate 2018-12-11 EndDate 2025-04-10 00:00:00 AccountSubscription->EndDate 2026-03-11
[2025-03-11 04:31:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-11 04:31:04] Production.INFO: AccountSubscription::getSubscriptionAmount(324,2025-03-11,2025-04-10 00:00:00,,0)
[2025-03-11 04:31:04] Production.INFO: SubscriptionCharge - 55
[2025-03-11 04:31:04] Production.INFO: Already Invoice Subscription 0
[2025-03-11 04:31:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(98,1,5,2025-03-11,2025-04-10 00:00:00,Restaurant - 4 Line Flat Rate,55,55,1,324)
[2025-03-11 04:31:04] Production.INFO: DiscountAmount 0.000000
[2025-03-11 04:31:04] Production.INFO: DiscountType
[2025-03-11 04:31:04] Production.INFO: SubscriptionCharge 55
[2025-03-11 04:31:04] Production.INFO: New SubscriptionCharge 55
[2025-03-11 04:31:04] Production.INFO: TotalSubscriptionCharge - 55.00
[2025-03-11 04:31:04] Production.INFO: ============================Subscription End =================
[2025-03-11 04:31:04] Production.INFO: ============================Subscription Start =================
[2025-03-11 04:31:04] Production.INFO: SubscriptionID - 4
[2025-03-11 04:31:04] Production.INFO: isAdvanceSubscription - 4
[2025-03-11 04:31:04] Production.INFO: SubscriptionStartDate =2025-03-11 - SubscriptionEndDate = 2025-04-10
[2025-03-11 04:31:04] Production.INFO: NewNextChargeDate =2025-04-10 00:00:00
[2025-03-11 04:31:04] Production.INFO: EndDate =2025-03-10 00:00:00
[2025-03-11 04:31:04] Production.INFO: NewEndDate1 =2025-03-11
[2025-03-11 04:31:04] Production.INFO: SubscriptionDate
[2025-03-11 04:31:04] Production.INFO: Array
(
[StartDate] => 2025-03-11
[EndDate] => 2025-04-10 00:00:00
[AlreadyCharged] => 0
)
[2025-03-11 04:31:04] Production.INFO: AccountSubscription StartDate 2018-12-11 StartDate 2025-02-11
[2025-03-11 04:31:04] Production.INFO: SubscriptionID - 2025-03-11=====2025-04-10 00:00:00
[2025-03-11 04:31:04] Production.INFO: AccountSubscriptionID - 325 === 2018-12-11=====2026-03-11
[2025-03-11 04:31:04] Production.INFO: regular Advance Subscription
[2025-03-11 04:31:04] Production.INFO: First Time False 2018-12-11 2025-03-11
[2025-03-11 04:31:04] Production.INFO: StartDate 2025-03-11 AccountSubscription->StartDate 2018-12-11 EndDate 2025-04-10 00:00:00 AccountSubscription->EndDate 2026-03-11
[2025-03-11 04:31:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-11 04:31:04] Production.INFO: AccountSubscription::getSubscriptionAmount(325,2025-03-11,2025-04-10 00:00:00,,0)
[2025-03-11 04:31:04] Production.INFO: SubscriptionCharge - 2.5
[2025-03-11 04:31:04] Production.INFO: Already Invoice Subscription 0
[2025-03-11 04:31:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(98,1,4,2025-03-11,2025-04-10 00:00:00,e911 address registration (12264580100 - 316 Suncoast Dr. E. Unit C Goderich, On N7A 4N7, Canada),2.5,2.5,1,325)
[2025-03-11 04:31:04] Production.INFO: DiscountAmount 0.000000
[2025-03-11 04:31:04] Production.INFO: DiscountType
[2025-03-11 04:31:04] Production.INFO: SubscriptionCharge 2.5
[2025-03-11 04:31:04] Production.INFO: New SubscriptionCharge 2.5
[2025-03-11 04:31:04] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-03-11 04:31:04] Production.INFO: ============================Subscription End =================
[2025-03-11 04:31:04] Production.INFO: ============================Subscription Start =================
[2025-03-11 04:31:04] Production.INFO: SubscriptionID - 21
[2025-03-11 04:31:04] Production.INFO: isAdvanceSubscription - 21
[2025-03-11 04:31:04] Production.INFO: SubscriptionStartDate =2025-03-11 - SubscriptionEndDate = 2025-04-10
[2025-03-11 04:31:04] Production.INFO: NewNextChargeDate =2025-04-10 00:00:00
[2025-03-11 04:31:05] Production.INFO: EndDate =2020-01-10 00:00:00
[2025-03-11 04:31:05] Production.INFO: NewEndDate1 =2020-01-11
[2025-03-11 04:31:05] Production.INFO: SubscriptionDate
[2025-03-11 04:31:05] Production.INFO: Array
(
[StartDate] => 2020-01-11
[EndDate] => 2025-04-10 00:00:00
[AlreadyCharged] => 0
)
[2025-03-11 04:31:05] Production.INFO: New Account Subscription Start
[2025-03-11 04:31:05] Production.INFO: AccountSubscription StartDate 2018-11-11 StartDate 2025-02-11
[2025-03-11 04:31:05] Production.INFO: SubscriptionID - 2020-01-11=====2025-04-10 00:00:00
[2025-03-11 04:31:05] Production.INFO: AccountSubscriptionID - 326 === 2018-11-11=====2019-12-19
[2025-03-11 04:31:05] Production.INFO: ============================Subscription End =================
[2025-03-11 04:31:05] Production.INFO: SUBSCRIPTION Over
[2025-03-11 04:31:05] Production.INFO: Call prc_getAccountOneOffCharge(98,0,2025-02-11,2025-03-11 23:59:59)
[2025-03-11 04:31:05] Production.INFO: AccountOneOffCharge 0
[2025-03-11 04:31:05] Production.INFO: AccountOneOffCharge Over
[2025-03-11 04:31:05] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-03-11 04:31:05] Production.INFO: New UsageDates 2025-02-11 - 2025-03-10 23:59:59
[2025-03-11 04:31:05] Production.INFO: SubTotal 57.5
[2025-03-11 04:31:05] Production.INFO: SubTotalWithouttaxTotal 0
[2025-03-11 04:31:05] Production.INFO: AccountOneOffCharge Tax Over
[2025-03-11 04:31:05] Production.INFO: TotalTax 7.475
[2025-03-11 04:31:05] Production.INFO: InvoiceGrandTotal 64.975
[2025-03-11 04:31:05] Production.INFO: InvoiceTaxAmount 7.48
[2025-03-11 04:31:05] Production.INFO: GrandTotal 64.98
[2025-03-11 04:31:05] Production.INFO: SubTotal 57.50
[2025-03-11 04:31:05] Production.INFO: TotalDue 64.98
[2025-03-11 04:31:05] Production.INFO: Reseller ==> 0
[2025-03-11 04:31:05] Production.INFO: original start date ==>2025-02-11 changed start date ==>2025-02-11 00:00:00 original end date ==>2025-03-10 23:59:59 changed end date ==>2025-03-10 23:59:59
[2025-03-11 04:31:05] Production.INFO: CALL prc_getInvoiceUsage(1,'98','0','1','2025-02-11 00:00:00','2025-03-10 23:59:59',0)
[2025-03-11 04:31:05] Production.INFO: PDF Generation start
[2025-03-11 04:31:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/98/Invoices/2025/03/11/Invoice-dominos-10537-brandon-meyers-inv11678-from-02-11-2025-to-03-10-2025-10619.pdf
[2025-03-11 04:31:05] Production.INFO: On Linux
[2025-03-11 04:31: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/98/Invoices/2025/03/11/footer-dominos-10537-brandon-meyers-inv11678-from-02-11-2025-to-03-10-2025-10619.html" "/var/www/tmp/1/98/Invoices/2025/03/11/Invoice-dominos-10537-brandon-meyers-inv11678-from-02-11-2025-to-03-10-2025-10619.html" "/var/www/tmp/1/98/Invoices/2025/03/11/Invoice-dominos-10537-brandon-meyers-inv11678-from-02-11-2025-to-03-10-2025-10619.pdf"
[2025-03-11 04:31:07] Production.INFO:
[2025-03-11 04:31:07] Production.INFO: /var/www/tmp/1/98/Invoices/2025/03/11/Invoice-dominos-10537-brandon-meyers-inv11678-from-02-11-2025-to-03-10-2025-10619.html
[2025-03-11 04:31:07] Production.INFO: /var/www/tmp/1/98/Invoices/2025/03/11/header-dominos-10537-brandon-meyers-inv11678-from-02-11-2025-to-03-10-2025-10619.html
[2025-03-11 04:31:07] Production.INFO: /var/www/tmp/1/98/Invoices/2025/03/11/footer-dominos-10537-brandon-meyers-inv11678-from-02-11-2025-to-03-10-2025-10619.html
[2025-03-11 04:31:07] Production.INFO: Invoice generation PDF path
[2025-03-11 04:31:07] Production.INFO: PDF fullPath 1/98/Invoices/2025/03/11/Invoice-dominos-10537-brandon-meyers-inv11678-from-02-11-2025-to-03-10-2025-10619.pdf
[2025-03-11 04:31:07] Production.INFO: Generate Usage File Start
[2025-03-11 04:31:07] Production.INFO: Usage File fullPath 1/98/InvoiceUsageFile/2025/03/11/dominos-10537-brandon-meyers-11-02-2025-00-00-00-TO-10-03-2025-23-59-59_7814__2da92940-fe53-11ef-afb7-6d69ea6a717b.csv
[2025-03-11 04:31:09] Production.INFO: Sending Email to Staff over
[2025-03-11 04:31:09] Production.INFO: Email Status 1
[2025-03-11 04:31:09] Production.INFO: Sending Email to Customer
[2025-03-11 04:31:10] Production.INFO: Email Try 10619 1
[2025-03-11 04:31:10] Production.INFO: =========== Email Sending over ===========
[2025-03-11 04:31:10] Production.INFO: =========== Returning as Success =========== AccountID 98
[2025-03-11 04:31:10] Production.INFO: Invoice::sendInvoice done
[2025-03-11 04:31:10] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-03-11 04:31:10] Production.INFO: Invoice Committed AccountID = 98
[2025-03-11 04:31:10] Production.INFO: =========== Updating InvoiceDate ===========
[2025-03-11 04:31:10] Production.INFO: NextInvoice 2025-03-11 2025-04-10
[2025-03-11 04:31:10] Production.INFO: new dates
[2025-03-11 04:31:10] Production.INFO: LastInvoiceDate 2025-03-11 NextInvoiceDate 2025-04-11
[2025-03-11 04:31:10] Production.INFO: LastChargeDate 2025-03-11 NextChargeDate 2025-04-10
[2025-03-11 04:31:10] Production.INFO: =========== Updated InvoiceDate ===========
[2025-03-11 04:31:10] Production.INFO: ========================== Invoice Send End =============================
[2025-03-11 04:31:10] Production.INFO: AccountID =106 FirstInvoiceSend 0
[2025-03-11 04:31:10] Production.INFO: LastInvoiceDate 2025-02-11 NextInvoiceDate 2025-03-11
[2025-03-11 04:31:10] Production.INFO: LastChargeDate 2025-02-11 NextChargeDate 2025-03-10
[2025-03-11 04:31:10] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-03-11 04:31:10] Production.INFO: ========================== Invoice Send Start =============================
[2025-03-11 04:31:10] Production.INFO: Invoice::sendInvoice(1,106,2025-02-11,2025-03-11,billing@onswitchit.ca)
[2025-03-11 04:31:10] Production.INFO: start Date =2025-02-11 EndDate =2025-03-10 23:59:59
[2025-03-11 04:31:10] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-03-11 04:31: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.
[2025-03-11 04:31:10] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-03-11 04:31:10] Production.INFO: AlreadyBilled
[2025-03-11 04:31:10] Production.INFO: Reseller ==> 0
[2025-03-11 04:31:10] Production.INFO: original start date ==>2025-02-11 changed start date ==>2025-02-11 00:00:00 original end date ==>2025-03-10 23:59:59 changed end date ==>2025-03-10 23:59:59
[2025-03-11 04:31:10] Production.INFO: Invoice::getAccountUsageTotal(1,106,2025-02-11,2025-03-10 23:59:59)
[2025-03-11 04:31:10] Production.INFO: TotalCharges - 0
[2025-03-11 04:31:10] Production.INFO: TotalUsageCharges - 0.00
[2025-03-11 04:31:10] Production.INFO: Usage Over
[2025-03-11 04:31:10] Production.INFO: Call prc_getAccountSubscription(106,0)
[2025-03-11 04:31:10] Production.INFO: SUBSCRIPTION 3
[2025-03-11 04:31:10] Production.INFO: ============================Subscription Start =================
[2025-03-11 04:31:10] Production.INFO: SubscriptionID - 1
[2025-03-11 04:31:10] Production.INFO: isAdvanceSubscription - 1
[2025-03-11 04:31:10] Production.INFO: SubscriptionStartDate =2025-03-11 - SubscriptionEndDate = 2025-04-10
[2025-03-11 04:31:10] Production.INFO: NewNextChargeDate =2025-04-10 00:00:00
[2025-03-11 04:31:10] Production.INFO: EndDate =2025-03-10 00:00:00
[2025-03-11 04:31:10] Production.INFO: NewEndDate1 =2025-03-11
[2025-03-11 04:31:10] Production.INFO: SubscriptionDate
[2025-03-11 04:31:10] Production.INFO: Array
(
[StartDate] => 2025-03-11
[EndDate] => 2025-04-10 00:00:00
[AlreadyCharged] => 0
)
[2025-03-11 04:31:10] Production.INFO: AccountSubscription StartDate 2019-02-04 StartDate 2025-02-11
[2025-03-11 04:31:10] Production.INFO: SubscriptionID - 2025-03-11=====2025-04-10 00:00:00
[2025-03-11 04:31:10] Production.INFO: AccountSubscriptionID - 372 === 2019-02-04=====2026-03-11
[2025-03-11 04:31:10] Production.INFO: regular Advance Subscription
[2025-03-11 04:31:10] Production.INFO: First Time False 2019-02-04 2025-03-11
[2025-03-11 04:31:10] Production.INFO: StartDate 2025-03-11 AccountSubscription->StartDate 2019-02-04 EndDate 2025-04-10 00:00:00 AccountSubscription->EndDate 2026-03-11
[2025-03-11 04:31:10] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-11 04:31:10] Production.INFO: AccountSubscription::getSubscriptionAmount(372,2025-03-11,2025-04-10 00:00:00,,0)
[2025-03-11 04:31:10] Production.INFO: SubscriptionCharge - 7
[2025-03-11 04:31:10] Production.INFO: Already Invoice Subscription 0
[2025-03-11 04:31:10] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(106,1,1,2025-03-11,2025-04-10 00:00:00,License for a Pay As You Go Cloud Phone extension,7,7,1,372)
[2025-03-11 04:31:10] Production.INFO: DiscountAmount 0.000000
[2025-03-11 04:31:10] Production.INFO: DiscountType
[2025-03-11 04:31:10] Production.INFO: SubscriptionCharge 7
[2025-03-11 04:31:10] Production.INFO: New SubscriptionCharge 7
[2025-03-11 04:31:10] Production.INFO: TotalSubscriptionCharge - 7.00
[2025-03-11 04:31:10] Production.INFO: ============================Subscription End =================
[2025-03-11 04:31:10] Production.INFO: ============================Subscription Start =================
[2025-03-11 04:31:10] Production.INFO: SubscriptionID - 4
[2025-03-11 04:31:10] Production.INFO: isAdvanceSubscription - 4
[2025-03-11 04:31:10] Production.INFO: SubscriptionStartDate =2025-03-11 - SubscriptionEndDate = 2025-04-10
[2025-03-11 04:31:10] Production.INFO: NewNextChargeDate =2025-04-10 00:00:00
[2025-03-11 04:31:10] Production.INFO: EndDate =2025-03-10 00:00:00
[2025-03-11 04:31:10] Production.INFO: NewEndDate1 =2025-03-11
[2025-03-11 04:31:10] Production.INFO: SubscriptionDate
[2025-03-11 04:31:10] Production.INFO: Array
(
[StartDate] => 2025-03-11
[EndDate] => 2025-04-10 00:00:00
[AlreadyCharged] => 0
)
[2025-03-11 04:31:10] Production.INFO: AccountSubscription StartDate 2019-02-04 StartDate 2025-02-11
[2025-03-11 04:31:10] Production.INFO: SubscriptionID - 2025-03-11=====2025-04-10 00:00:00
[2025-03-11 04:31:10] Production.INFO: AccountSubscriptionID - 373 === 2019-02-04=====2026-03-11
[2025-03-11 04:31:10] Production.INFO: regular Advance Subscription
[2025-03-11 04:31:10] Production.INFO: First Time False 2019-02-04 2025-03-11
[2025-03-11 04:31:10] Production.INFO: StartDate 2025-03-11 AccountSubscription->StartDate 2019-02-04 EndDate 2025-04-10 00:00:00 AccountSubscription->EndDate 2026-03-11
[2025-03-11 04:31:10] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-11 04:31:10] Production.INFO: AccountSubscription::getSubscriptionAmount(373,2025-03-11,2025-04-10 00:00:00,,0)
[2025-03-11 04:31:10] Production.INFO: SubscriptionCharge - 2.5
[2025-03-11 04:31:10] Production.INFO: Already Invoice Subscription 0
[2025-03-11 04:31:10] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(106,1,4,2025-03-11,2025-04-10 00:00:00,e911 address registration (13652350035 - 145 Royal Crest Court 4 Unionville, ON L3R 9Z4 Canada),2.5,2.5,1,373)
[2025-03-11 04:31:10] Production.INFO: DiscountAmount 0.000000
[2025-03-11 04:31:10] Production.INFO: DiscountType
[2025-03-11 04:31:10] Production.INFO: SubscriptionCharge 2.5
[2025-03-11 04:31:10] Production.INFO: New SubscriptionCharge 2.5
[2025-03-11 04:31:10] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-03-11 04:31:10] Production.INFO: ============================Subscription End =================
[2025-03-11 04:31:10] Production.INFO: ============================Subscription Start =================
[2025-03-11 04:31:10] Production.INFO: SubscriptionID - 12
[2025-03-11 04:31:10] Production.INFO: isAdvanceSubscription - 12
[2025-03-11 04:31:10] Production.INFO: SubscriptionStartDate =2025-03-11 - SubscriptionEndDate = 2025-04-10
[2025-03-11 04:31:10] Production.INFO: NewNextChargeDate =2025-04-10 00:00:00
[2025-03-11 04:31:10] Production.INFO: EndDate =2025-03-10 00:00:00
[2025-03-11 04:31:10] Production.INFO: NewEndDate1 =2025-03-11
[2025-03-11 04:31:10] Production.INFO: SubscriptionDate
[2025-03-11 04:31:10] Production.INFO: Array
(
[StartDate] => 2025-03-11
[EndDate] => 2025-04-10 00:00:00
[AlreadyCharged] => 0
)
[2025-03-11 04:31:10] Production.INFO: AccountSubscription StartDate 2019-02-04 StartDate 2025-02-11
[2025-03-11 04:31:10] Production.INFO: SubscriptionID - 2025-03-11=====2025-04-10 00:00:00
[2025-03-11 04:31:10] Production.INFO: AccountSubscriptionID - 374 === 2019-02-04=====2026-03-11
[2025-03-11 04:31:10] Production.INFO: regular Advance Subscription
[2025-03-11 04:31:10] Production.INFO: First Time False 2019-02-04 2025-03-11
[2025-03-11 04:31:10] Production.INFO: StartDate 2025-03-11 AccountSubscription->StartDate 2019-02-04 EndDate 2025-04-10 00:00:00 AccountSubscription->EndDate 2026-03-11
[2025-03-11 04:31:10] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-11 04:31:10] Production.INFO: AccountSubscription::getSubscriptionAmount(374,2025-03-11,2025-04-10 00:00:00,,0)
[2025-03-11 04:31:10] Production.INFO: SubscriptionCharge - 0
[2025-03-11 04:31:10] Production.INFO: Already Invoice Subscription 0
[2025-03-11 04:31:10] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(106,1,12,2025-03-11,2025-04-10 00:00:00,Included DID (13652350035),0,0,1,374)
[2025-03-11 04:31:10] Production.INFO: DiscountAmount 0.000000
[2025-03-11 04:31:10] Production.INFO: DiscountType
[2025-03-11 04:31:10] Production.INFO: SubscriptionCharge 0
[2025-03-11 04:31:10] Production.INFO: New SubscriptionCharge 0
[2025-03-11 04:31:10] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-03-11 04:31:10] Production.INFO: ============================Subscription End =================
[2025-03-11 04:31:10] Production.INFO: SUBSCRIPTION Over
[2025-03-11 04:31:10] Production.INFO: Call prc_getAccountOneOffCharge(106,0,2025-02-11,2025-03-11 23:59:59)
[2025-03-11 04:31:10] Production.INFO: AccountOneOffCharge 0
[2025-03-11 04:31:10] Production.INFO: AccountOneOffCharge Over
[2025-03-11 04:31:10] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-03-11 04:31:10] Production.INFO: New UsageDates 2025-02-11 - 2025-03-10 23:59:59
[2025-03-11 04:31:10] Production.INFO: SubTotal 9.5
[2025-03-11 04:31:10] Production.INFO: SubTotalWithouttaxTotal 0
[2025-03-11 04:31:10] Production.INFO: AccountOneOffCharge Tax Over
[2025-03-11 04:31:10] Production.INFO: TotalTax 1.235
[2025-03-11 04:31:10] Production.INFO: InvoiceGrandTotal 10.735
[2025-03-11 04:31:10] Production.INFO: InvoiceTaxAmount 1.24
[2025-03-11 04:31:10] Production.INFO: GrandTotal 10.74
[2025-03-11 04:31:10] Production.INFO: SubTotal 9.50
[2025-03-11 04:31:10] Production.INFO: TotalDue 10.74
[2025-03-11 04:31:10] Production.INFO: Reseller ==> 0
[2025-03-11 04:31:10] Production.INFO: original start date ==>2025-02-11 changed start date ==>2025-02-11 00:00:00 original end date ==>2025-03-10 23:59:59 changed end date ==>2025-03-10 23:59:59
[2025-03-11 04:31:10] Production.INFO: CALL prc_getInvoiceUsage(1,'106','0','1','2025-02-11 00:00:00','2025-03-10 23:59:59',0)
[2025-03-11 04:31:10] Production.INFO: PDF Generation start
[2025-03-11 04:31:11] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/106/Invoices/2025/03/11/Invoice-g4-broker-inv11679-from-02-11-2025-to-03-10-2025-10620.pdf
[2025-03-11 04:31:11] Production.INFO: On Linux
[2025-03-11 04:31:12] 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/106/Invoices/2025/03/11/footer-g4-broker-inv11679-from-02-11-2025-to-03-10-2025-10620.html" "/var/www/tmp/1/106/Invoices/2025/03/11/Invoice-g4-broker-inv11679-from-02-11-2025-to-03-10-2025-10620.html" "/var/www/tmp/1/106/Invoices/2025/03/11/Invoice-g4-broker-inv11679-from-02-11-2025-to-03-10-2025-10620.pdf"
[2025-03-11 04:31:12] Production.INFO:
[2025-03-11 04:31:12] Production.INFO: /var/www/tmp/1/106/Invoices/2025/03/11/Invoice-g4-broker-inv11679-from-02-11-2025-to-03-10-2025-10620.html
[2025-03-11 04:31:12] Production.INFO: /var/www/tmp/1/106/Invoices/2025/03/11/header-g4-broker-inv11679-from-02-11-2025-to-03-10-2025-10620.html
[2025-03-11 04:31:12] Production.INFO: /var/www/tmp/1/106/Invoices/2025/03/11/footer-g4-broker-inv11679-from-02-11-2025-to-03-10-2025-10620.html
[2025-03-11 04:31:12] Production.INFO: Invoice generation PDF path
[2025-03-11 04:31:12] Production.INFO: PDF fullPath 1/106/Invoices/2025/03/11/Invoice-g4-broker-inv11679-from-02-11-2025-to-03-10-2025-10620.pdf
[2025-03-11 04:31:12] Production.INFO: Generate Usage File Start
[2025-03-11 04:31:12] Production.INFO: Usage File fullPath 1/106/InvoiceUsageFile/2025/03/11/g4-broker-11-02-2025-00-00-00-TO-10-03-2025-23-59-59_7878__30a47070-fe53-11ef-b6fd-3d98ef2d9427.csv
[2025-03-11 04:31:13] Production.INFO: Sending Email to Staff over
[2025-03-11 04:31:13] Production.INFO: Email Status 1
[2025-03-11 04:31:13] Production.INFO: Sending Email to Customer
[2025-03-11 04:31:14] Production.INFO: Email Try 10620 1
[2025-03-11 04:31:14] Production.INFO: =========== Email Sending over ===========
[2025-03-11 04:31:14] Production.INFO: =========== Returning as Success =========== AccountID 106
[2025-03-11 04:31:14] Production.INFO: Invoice::sendInvoice done
[2025-03-11 04:31:14] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-03-11 04:31:14] Production.INFO: Invoice Committed AccountID = 106
[2025-03-11 04:31:14] Production.INFO: =========== Updating InvoiceDate ===========
[2025-03-11 04:31:14] Production.INFO: NextInvoice 2025-03-11 2025-04-10
[2025-03-11 04:31:14] Production.INFO: new dates
[2025-03-11 04:31:14] Production.INFO: LastInvoiceDate 2025-03-11 NextInvoiceDate 2025-04-11
[2025-03-11 04:31:14] Production.INFO: LastChargeDate 2025-03-11 NextChargeDate 2025-04-10
[2025-03-11 04:31:14] Production.INFO: =========== Updated InvoiceDate ===========
[2025-03-11 04:31:14] Production.INFO: ========================== Invoice Send End =============================
[2025-03-11 04:31:14] Production.INFO: AccountID =119 FirstInvoiceSend 0
[2025-03-11 04:31:14] Production.INFO: LastInvoiceDate 2025-02-11 NextInvoiceDate 2025-03-11
[2025-03-11 04:31:14] Production.INFO: LastChargeDate 2025-02-11 NextChargeDate 2025-03-10
[2025-03-11 04:31:14] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-03-11 04:31:14] Production.INFO: ========================== Invoice Send Start =============================
[2025-03-11 04:31:14] Production.INFO: Invoice::sendInvoice(1,119,2025-02-11,2025-03-11,billing@onswitchit.ca)
[2025-03-11 04:31:14] Production.INFO: start Date =2025-02-11 EndDate =2025-03-10 23:59:59
[2025-03-11 04:31:14] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-03-11 04:31:14] 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.
[2025-03-11 04:31:14] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-03-11 04:31:14] Production.INFO: AlreadyBilled
[2025-03-11 04:31:14] Production.INFO: Reseller ==> 0
[2025-03-11 04:31:14] Production.INFO: original start date ==>2025-02-11 changed start date ==>2025-02-11 00:00:00 original end date ==>2025-03-10 23:59:59 changed end date ==>2025-03-10 23:59:59
[2025-03-11 04:31:14] Production.INFO: Invoice::getAccountUsageTotal(1,119,2025-02-11,2025-03-10 23:59:59)
[2025-03-11 04:31:14] Production.INFO: TotalCharges - 0
[2025-03-11 04:31:14] Production.INFO: TotalUsageCharges - 0.00
[2025-03-11 04:31:14] Production.INFO: Usage Over
[2025-03-11 04:31:14] Production.INFO: Call prc_getAccountSubscription(119,0)
[2025-03-11 04:31:14] Production.INFO: SUBSCRIPTION 3
[2025-03-11 04:31:14] Production.INFO: ============================Subscription Start =================
[2025-03-11 04:31:14] Production.INFO: SubscriptionID - 5
[2025-03-11 04:31:14] Production.INFO: isAdvanceSubscription - 5
[2025-03-11 04:31:14] Production.INFO: SubscriptionStartDate =2025-03-11 - SubscriptionEndDate = 2025-04-10
[2025-03-11 04:31:14] Production.INFO: NewNextChargeDate =2025-04-10 00:00:00
[2025-03-11 04:31:14] Production.INFO: EndDate =2025-03-10 00:00:00
[2025-03-11 04:31:14] Production.INFO: NewEndDate1 =2025-03-11
[2025-03-11 04:31:14] Production.INFO: SubscriptionDate
[2025-03-11 04:31:14] Production.INFO: Array
(
[StartDate] => 2025-03-11
[EndDate] => 2025-04-10 00:00:00
[AlreadyCharged] => 0
)
[2025-03-11 04:31:14] Production.INFO: New Account Subscription Start
[2025-03-11 04:31:14] Production.INFO: AccountSubscription StartDate 2019-07-11 StartDate 2025-02-11
[2025-03-11 04:31:14] Production.INFO: SubscriptionID - 2025-03-11=====2025-04-10 00:00:00
[2025-03-11 04:31:14] Production.INFO: AccountSubscriptionID - 408 === 2019-07-11=====2026-03-11
[2025-03-11 04:31:14] Production.INFO: regular Advance Subscription
[2025-03-11 04:31:14] Production.INFO: First Time False 2019-07-11 2025-03-11
[2025-03-11 04:31:14] Production.INFO: StartDate 2025-03-11 AccountSubscription->StartDate 2019-07-11 EndDate 2025-04-10 00:00:00 AccountSubscription->EndDate 2026-03-11
[2025-03-11 04:31:14] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-11 04:31:14] Production.INFO: AccountSubscription::getSubscriptionAmount(408,2025-03-11,2025-04-10 00:00:00,,0)
[2025-03-11 04:31:14] Production.INFO: SubscriptionCharge - 75
[2025-03-11 04:31:14] Production.INFO: Already Invoice Subscription 0
[2025-03-11 04:31:14] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(119,1,5,2025-03-11,2025-04-10 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,408)
[2025-03-11 04:31:14] Production.INFO: DiscountAmount 0.000000
[2025-03-11 04:31:14] Production.INFO: DiscountType
[2025-03-11 04:31:14] Production.INFO: SubscriptionCharge 75
[2025-03-11 04:31:14] Production.INFO: New SubscriptionCharge 75
[2025-03-11 04:31:14] Production.INFO: TotalSubscriptionCharge - 75.00
[2025-03-11 04:31:14] Production.INFO: ============================Subscription End =================
[2025-03-11 04:31:14] Production.INFO: ============================Subscription Start =================
[2025-03-11 04:31:14] Production.INFO: SubscriptionID - 4
[2025-03-11 04:31:14] Production.INFO: isAdvanceSubscription - 4
[2025-03-11 04:31:14] Production.INFO: SubscriptionStartDate =2025-03-11 - SubscriptionEndDate = 2025-04-10
[2025-03-11 04:31:14] Production.INFO: NewNextChargeDate =2025-04-10 00:00:00
[2025-03-11 04:31:14] Production.INFO: EndDate =2025-03-10 00:00:00
[2025-03-11 04:31:14] Production.INFO: NewEndDate1 =2025-03-11
[2025-03-11 04:31:14] Production.INFO: SubscriptionDate
[2025-03-11 04:31:14] Production.INFO: Array
(
[StartDate] => 2025-03-11
[EndDate] => 2025-04-10 00:00:00
[AlreadyCharged] => 0
)
[2025-03-11 04:31:14] Production.INFO: New Account Subscription Start
[2025-03-11 04:31:14] Production.INFO: AccountSubscription StartDate 2019-07-11 StartDate 2025-02-11
[2025-03-11 04:31:14] Production.INFO: SubscriptionID - 2025-03-11=====2025-04-10 00:00:00
[2025-03-11 04:31:14] Production.INFO: AccountSubscriptionID - 409 === 2019-07-11=====2026-03-11
[2025-03-11 04:31:14] Production.INFO: regular Advance Subscription
[2025-03-11 04:31:14] Production.INFO: First Time False 2019-07-11 2025-03-11
[2025-03-11 04:31:14] Production.INFO: StartDate 2025-03-11 AccountSubscription->StartDate 2019-07-11 EndDate 2025-04-10 00:00:00 AccountSubscription->EndDate 2026-03-11
[2025-03-11 04:31:14] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-11 04:31:14] Production.INFO: AccountSubscription::getSubscriptionAmount(409,2025-03-11,2025-04-10 00:00:00,,0)
[2025-03-11 04:31:14] Production.INFO: SubscriptionCharge - 0
[2025-03-11 04:31:14] Production.INFO: Already Invoice Subscription 0
[2025-03-11 04:31:14] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(119,1,4,2025-03-11,2025-04-10 00:00:00,e911 address registration (19057550596 - 801 Matheson Blvd W Unit 6 Mississauga, ON L5V 2N6),0,0,1,409)
[2025-03-11 04:31:14] Production.INFO: DiscountAmount 0.000000
[2025-03-11 04:31:14] Production.INFO: DiscountType
[2025-03-11 04:31:14] Production.INFO: SubscriptionCharge 0
[2025-03-11 04:31:14] Production.INFO: New SubscriptionCharge 0
[2025-03-11 04:31:14] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-03-11 04:31:14] Production.INFO: ============================Subscription End =================
[2025-03-11 04:31:14] Production.INFO: ============================Subscription Start =================
[2025-03-11 04:31:14] Production.INFO: SubscriptionID - 11
[2025-03-11 04:31:14] Production.INFO: isAdvanceSubscription - 11
[2025-03-11 04:31:14] Production.INFO: SubscriptionStartDate =2025-03-11 - SubscriptionEndDate = 2025-04-10
[2025-03-11 04:31:14] Production.INFO: NewNextChargeDate =2025-04-10 00:00:00
[2025-03-11 04:31:14] Production.INFO: EndDate =2025-03-10 00:00:00
[2025-03-11 04:31:14] Production.INFO: NewEndDate1 =2025-03-11
[2025-03-11 04:31:14] Production.INFO: SubscriptionDate
[2025-03-11 04:31:14] Production.INFO: Array
(
[StartDate] => 2025-03-11
[EndDate] => 2025-04-10 00:00:00
[AlreadyCharged] => 0
)
[2025-03-11 04:31:14] Production.INFO: AccountSubscription StartDate 2019-09-06 StartDate 2025-02-11
[2025-03-11 04:31:14] Production.INFO: SubscriptionID - 2025-03-11=====2025-04-10 00:00:00
[2025-03-11 04:31:14] Production.INFO: AccountSubscriptionID - 415 === 2019-09-06=====2026-03-11
[2025-03-11 04:31:14] Production.INFO: regular Advance Subscription
[2025-03-11 04:31:14] Production.INFO: First Time False 2019-09-06 2025-03-11
[2025-03-11 04:31:14] Production.INFO: StartDate 2025-03-11 AccountSubscription->StartDate 2019-09-06 EndDate 2025-04-10 00:00:00 AccountSubscription->EndDate 2026-03-11
[2025-03-11 04:31:14] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-11 04:31:14] Production.INFO: AccountSubscription::getSubscriptionAmount(415,2025-03-11,2025-04-10 00:00:00,,0)
[2025-03-11 04:31:14] Production.INFO: SubscriptionCharge - -5
[2025-03-11 04:31:14] Production.INFO: Already Invoice Subscription 0
[2025-03-11 04:31:14] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(119,1,11,2025-03-11,2025-04-10 00:00:00,Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service,-10,-5,2,415)
[2025-03-11 04:31:14] Production.INFO: DiscountAmount 0.000000
[2025-03-11 04:31:14] Production.INFO: DiscountType
[2025-03-11 04:31:14] Production.INFO: SubscriptionCharge -10
[2025-03-11 04:31:14] Production.INFO: New SubscriptionCharge -10
[2025-03-11 04:31:14] Production.INFO: TotalSubscriptionCharge - -10.00
[2025-03-11 04:31:14] Production.INFO: ============================Subscription End =================
[2025-03-11 04:31:14] Production.INFO: SUBSCRIPTION Over
[2025-03-11 04:31:14] Production.INFO: Call prc_getAccountOneOffCharge(119,0,2025-02-11,2025-03-11 23:59:59)
[2025-03-11 04:31:14] Production.INFO: AccountOneOffCharge 0
[2025-03-11 04:31:14] Production.INFO: AccountOneOffCharge Over
[2025-03-11 04:31:14] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-03-11 04:31:14] Production.INFO: New UsageDates 2025-02-11 - 2025-03-10 23:59:59
[2025-03-11 04:31:14] Production.INFO: SubTotal 65
[2025-03-11 04:31:14] Production.INFO: SubTotalWithouttaxTotal 0
[2025-03-11 04:31:14] Production.INFO: AccountOneOffCharge Tax Over
[2025-03-11 04:31:14] Production.INFO: TotalTax 8.45
[2025-03-11 04:31:14] Production.INFO: InvoiceGrandTotal 73.45
[2025-03-11 04:31:14] Production.INFO: InvoiceTaxAmount 8.45
[2025-03-11 04:31:14] Production.INFO: GrandTotal 73.45
[2025-03-11 04:31:14] Production.INFO: SubTotal 65.00
[2025-03-11 04:31:14] Production.INFO: TotalDue 73.45
[2025-03-11 04:31:14] Production.INFO: Reseller ==> 0
[2025-03-11 04:31:14] Production.INFO: original start date ==>2025-02-11 changed start date ==>2025-02-11 00:00:00 original end date ==>2025-03-10 23:59:59 changed end date ==>2025-03-10 23:59:59
[2025-03-11 04:31:14] Production.INFO: CALL prc_getInvoiceUsage(1,'119','0','1','2025-02-11 00:00:00','2025-03-10 23:59:59',0)
[2025-03-11 04:31:14] Production.INFO: PDF Generation start
[2025-03-11 04:31:14] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/119/Invoices/2025/03/11/Invoice-dominos-10402-anwar-hossain-inv11680-from-02-11-2025-to-03-10-2025-10621.pdf
[2025-03-11 04:31:14] Production.INFO: On Linux
[2025-03-11 04:31:15] 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/119/Invoices/2025/03/11/footer-dominos-10402-anwar-hossain-inv11680-from-02-11-2025-to-03-10-2025-10621.html" "/var/www/tmp/1/119/Invoices/2025/03/11/Invoice-dominos-10402-anwar-hossain-inv11680-from-02-11-2025-to-03-10-2025-10621.html" "/var/www/tmp/1/119/Invoices/2025/03/11/Invoice-dominos-10402-anwar-hossain-inv11680-from-02-11-2025-to-03-10-2025-10621.pdf"
[2025-03-11 04:31:15] Production.INFO:
[2025-03-11 04:31:15] Production.INFO: /var/www/tmp/1/119/Invoices/2025/03/11/Invoice-dominos-10402-anwar-hossain-inv11680-from-02-11-2025-to-03-10-2025-10621.html
[2025-03-11 04:31:15] Production.INFO: /var/www/tmp/1/119/Invoices/2025/03/11/header-dominos-10402-anwar-hossain-inv11680-from-02-11-2025-to-03-10-2025-10621.html
[2025-03-11 04:31:15] Production.INFO: /var/www/tmp/1/119/Invoices/2025/03/11/footer-dominos-10402-anwar-hossain-inv11680-from-02-11-2025-to-03-10-2025-10621.html
[2025-03-11 04:31:15] Production.INFO: Invoice generation PDF path
[2025-03-11 04:31:15] Production.INFO: PDF fullPath 1/119/Invoices/2025/03/11/Invoice-dominos-10402-anwar-hossain-inv11680-from-02-11-2025-to-03-10-2025-10621.pdf
[2025-03-11 04:31:15] Production.INFO: Generate Usage File Start
[2025-03-11 04:31:15] Production.INFO: Usage File fullPath 1/119/InvoiceUsageFile/2025/03/11/dominos-10402-anwar-hossain-11-02-2025-00-00-00-TO-10-03-2025-23-59-59_6253__32cbca20-fe53-11ef-8814-290efbdf3d8c.csv
[2025-03-11 04:31:17] Production.INFO: Sending Email to Staff over
[2025-03-11 04:31:17] Production.INFO: Email Status 1
[2025-03-11 04:31:17] Production.INFO: Sending Email to Customer
[2025-03-11 04:31:18] Production.INFO: Email Try 10621 1
[2025-03-11 04:31:18] Production.INFO: =========== Email Sending over ===========
[2025-03-11 04:31:18] Production.INFO: =========== Returning as Success =========== AccountID 119
[2025-03-11 04:31:18] Production.INFO: Invoice::sendInvoice done
[2025-03-11 04:31:18] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-03-11 04:31:18] Production.INFO: Invoice Committed AccountID = 119
[2025-03-11 04:31:18] Production.INFO: =========== Updating InvoiceDate ===========
[2025-03-11 04:31:18] Production.INFO: NextInvoice 2025-03-11 2025-04-10
[2025-03-11 04:31:18] Production.INFO: new dates
[2025-03-11 04:31:18] Production.INFO: LastInvoiceDate 2025-03-11 NextInvoiceDate 2025-04-11
[2025-03-11 04:31:18] Production.INFO: LastChargeDate 2025-03-11 NextChargeDate 2025-04-10
[2025-03-11 04:31:18] Production.INFO: =========== Updated InvoiceDate ===========
[2025-03-11 04:31:18] Production.INFO: ========================== Invoice Send End =============================
[2025-03-11 04:31:18] Production.INFO: AccountID =123 FirstInvoiceSend 0
[2025-03-11 04:31:18] Production.INFO: LastInvoiceDate 2025-02-11 NextInvoiceDate 2025-03-11
[2025-03-11 04:31:18] Production.INFO: LastChargeDate 2025-02-11 NextChargeDate 2025-03-10
[2025-03-11 04:31:18] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-03-11 04:31:18] Production.INFO: ========================== Invoice Send Start =============================
[2025-03-11 04:31:18] Production.INFO: Invoice::sendInvoice(1,123,2025-02-11,2025-03-11,billing@onswitchit.ca)
[2025-03-11 04:31:18] Production.INFO: start Date =2025-02-11 EndDate =2025-03-10 23:59:59
[2025-03-11 04:31:18] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-03-11 04:31:18] 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.
[2025-03-11 04:31:18] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-03-11 04:31:18] Production.INFO: AlreadyBilled
[2025-03-11 04:31:18] Production.INFO: Reseller ==> 0
[2025-03-11 04:31:18] Production.INFO: original start date ==>2025-02-11 changed start date ==>2025-02-11 00:00:00 original end date ==>2025-03-10 23:59:59 changed end date ==>2025-03-10 23:59:59
[2025-03-11 04:31:18] Production.INFO: Invoice::getAccountUsageTotal(1,123,2025-02-11,2025-03-10 23:59:59)
[2025-03-11 04:31:18] Production.INFO: TotalCharges - 0
[2025-03-11 04:31:18] Production.INFO: TotalUsageCharges - 0.00
[2025-03-11 04:31:18] Production.INFO: Usage Over
[2025-03-11 04:31:18] Production.INFO: Call prc_getAccountSubscription(123,0)
[2025-03-11 04:31:18] Production.INFO: SUBSCRIPTION 2
[2025-03-11 04:31:18] Production.INFO: ============================Subscription Start =================
[2025-03-11 04:31:18] Production.INFO: SubscriptionID - 5
[2025-03-11 04:31:18] Production.INFO: isAdvanceSubscription - 5
[2025-03-11 04:31:18] Production.INFO: SubscriptionStartDate =2025-03-11 - SubscriptionEndDate = 2025-04-10
[2025-03-11 04:31:18] Production.INFO: NewNextChargeDate =2025-04-10 00:00:00
[2025-03-11 04:31:18] Production.INFO: EndDate =2025-03-10 00:00:00
[2025-03-11 04:31:18] Production.INFO: NewEndDate1 =2025-03-11
[2025-03-11 04:31:18] Production.INFO: SubscriptionDate
[2025-03-11 04:31:18] Production.INFO: Array
(
[StartDate] => 2025-03-11
[EndDate] => 2025-04-10 00:00:00
[AlreadyCharged] => 0
)
[2025-03-11 04:31:18] Production.INFO: AccountSubscription StartDate 2019-10-04 StartDate 2025-02-11
[2025-03-11 04:31:18] Production.INFO: SubscriptionID - 2025-03-11=====2025-04-10 00:00:00
[2025-03-11 04:31:18] Production.INFO: AccountSubscriptionID - 430 === 2019-10-04=====2026-03-11
[2025-03-11 04:31:18] Production.INFO: regular Advance Subscription
[2025-03-11 04:31:18] Production.INFO: First Time False 2019-10-04 2025-03-11
[2025-03-11 04:31:18] Production.INFO: StartDate 2025-03-11 AccountSubscription->StartDate 2019-10-04 EndDate 2025-04-10 00:00:00 AccountSubscription->EndDate 2026-03-11
[2025-03-11 04:31:18] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-11 04:31:18] Production.INFO: AccountSubscription::getSubscriptionAmount(430,2025-03-11,2025-04-10 00:00:00,,0)
[2025-03-11 04:31:18] Production.INFO: SubscriptionCharge - 75
[2025-03-11 04:31:18] Production.INFO: Already Invoice Subscription 0
[2025-03-11 04:31:18] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(123,1,5,2025-03-11,2025-04-10 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,430)
[2025-03-11 04:31:18] Production.INFO: DiscountAmount 0.000000
[2025-03-11 04:31:18] Production.INFO: DiscountType
[2025-03-11 04:31:18] Production.INFO: SubscriptionCharge 75
[2025-03-11 04:31:18] Production.INFO: New SubscriptionCharge 75
[2025-03-11 04:31:18] Production.INFO: TotalSubscriptionCharge - 75.00
[2025-03-11 04:31:18] Production.INFO: ============================Subscription End =================
[2025-03-11 04:31:18] Production.INFO: ============================Subscription Start =================
[2025-03-11 04:31:18] Production.INFO: SubscriptionID - 4
[2025-03-11 04:31:18] Production.INFO: isAdvanceSubscription - 4
[2025-03-11 04:31:18] Production.INFO: SubscriptionStartDate =2025-03-11 - SubscriptionEndDate = 2025-04-10
[2025-03-11 04:31:18] Production.INFO: NewNextChargeDate =2025-04-10 00:00:00
[2025-03-11 04:31:18] Production.INFO: EndDate =2025-03-10 00:00:00
[2025-03-11 04:31:18] Production.INFO: NewEndDate1 =2025-03-11
[2025-03-11 04:31:18] Production.INFO: SubscriptionDate
[2025-03-11 04:31:18] Production.INFO: Array
(
[StartDate] => 2025-03-11
[EndDate] => 2025-04-10 00:00:00
[AlreadyCharged] => 0
)
[2025-03-11 04:31:18] Production.INFO: AccountSubscription StartDate 2019-10-04 StartDate 2025-02-11
[2025-03-11 04:31:18] Production.INFO: SubscriptionID - 2025-03-11=====2025-04-10 00:00:00
[2025-03-11 04:31:18] Production.INFO: AccountSubscriptionID - 431 === 2019-10-04=====2026-03-11
[2025-03-11 04:31:18] Production.INFO: regular Advance Subscription
[2025-03-11 04:31:18] Production.INFO: First Time False 2019-10-04 2025-03-11
[2025-03-11 04:31:18] Production.INFO: StartDate 2025-03-11 AccountSubscription->StartDate 2019-10-04 EndDate 2025-04-10 00:00:00 AccountSubscription->EndDate 2026-03-11
[2025-03-11 04:31:18] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-11 04:31:18] Production.INFO: AccountSubscription::getSubscriptionAmount(431,2025-03-11,2025-04-10 00:00:00,,0)
[2025-03-11 04:31:18] Production.INFO: SubscriptionCharge - 2.5
[2025-03-11 04:31:18] Production.INFO: Already Invoice Subscription 0
[2025-03-11 04:31:18] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(123,1,4,2025-03-11,2025-04-10 00:00:00,e911 address registration (14162515251 - 3345 LAKESHORE BLVD W ETOBICOKE, ON M8W1N1 Canada),2.5,2.5,1,431)
[2025-03-11 04:31:18] Production.INFO: DiscountAmount 0.000000
[2025-03-11 04:31:18] Production.INFO: DiscountType
[2025-03-11 04:31:18] Production.INFO: SubscriptionCharge 2.5
[2025-03-11 04:31:18] Production.INFO: New SubscriptionCharge 2.5
[2025-03-11 04:31:18] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-03-11 04:31:18] Production.INFO: ============================Subscription End =================
[2025-03-11 04:31:18] Production.INFO: SUBSCRIPTION Over
[2025-03-11 04:31:18] Production.INFO: Call prc_getAccountOneOffCharge(123,0,2025-02-11,2025-03-11 23:59:59)
[2025-03-11 04:31:18] Production.INFO: AccountOneOffCharge 0
[2025-03-11 04:31:18] Production.INFO: AccountOneOffCharge Over
[2025-03-11 04:31:18] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-03-11 04:31:18] Production.INFO: New UsageDates 2025-02-11 - 2025-03-10 23:59:59
[2025-03-11 04:31:18] Production.INFO: SubTotal 77.5
[2025-03-11 04:31:18] Production.INFO: SubTotalWithouttaxTotal 0
[2025-03-11 04:31:18] Production.INFO: AccountOneOffCharge Tax Over
[2025-03-11 04:31:18] Production.INFO: TotalTax 10.075
[2025-03-11 04:31:18] Production.INFO: InvoiceGrandTotal 87.575
[2025-03-11 04:31:18] Production.INFO: InvoiceTaxAmount 10.08
[2025-03-11 04:31:18] Production.INFO: GrandTotal 87.58
[2025-03-11 04:31:18] Production.INFO: SubTotal 77.50
[2025-03-11 04:31:18] Production.INFO: TotalDue 87.58
[2025-03-11 04:31:18] Production.INFO: Reseller ==> 0
[2025-03-11 04:31:18] Production.INFO: original start date ==>2025-02-11 changed start date ==>2025-02-11 00:00:00 original end date ==>2025-03-10 23:59:59 changed end date ==>2025-03-10 23:59:59
[2025-03-11 04:31:18] Production.INFO: CALL prc_getInvoiceUsage(1,'123','0','1','2025-02-11 00:00:00','2025-03-10 23:59:59',0)
[2025-03-11 04:31:18] Production.INFO: PDF Generation start
[2025-03-11 04:31:18] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/123/Invoices/2025/03/11/Invoice-dominos-10547-nathan-krishnan-inv11681-from-02-11-2025-to-03-10-2025-10622.pdf
[2025-03-11 04:31:18] Production.INFO: On Linux
[2025-03-11 04:31:20] 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/123/Invoices/2025/03/11/footer-dominos-10547-nathan-krishnan-inv11681-from-02-11-2025-to-03-10-2025-10622.html" "/var/www/tmp/1/123/Invoices/2025/03/11/Invoice-dominos-10547-nathan-krishnan-inv11681-from-02-11-2025-to-03-10-2025-10622.html" "/var/www/tmp/1/123/Invoices/2025/03/11/Invoice-dominos-10547-nathan-krishnan-inv11681-from-02-11-2025-to-03-10-2025-10622.pdf"
[2025-03-11 04:31:20] Production.INFO:
[2025-03-11 04:31:20] Production.INFO: /var/www/tmp/1/123/Invoices/2025/03/11/Invoice-dominos-10547-nathan-krishnan-inv11681-from-02-11-2025-to-03-10-2025-10622.html
[2025-03-11 04:31:20] Production.INFO: /var/www/tmp/1/123/Invoices/2025/03/11/header-dominos-10547-nathan-krishnan-inv11681-from-02-11-2025-to-03-10-2025-10622.html
[2025-03-11 04:31:20] Production.INFO: /var/www/tmp/1/123/Invoices/2025/03/11/footer-dominos-10547-nathan-krishnan-inv11681-from-02-11-2025-to-03-10-2025-10622.html
[2025-03-11 04:31:20] Production.INFO: Invoice generation PDF path
[2025-03-11 04:31:20] Production.INFO: PDF fullPath 1/123/Invoices/2025/03/11/Invoice-dominos-10547-nathan-krishnan-inv11681-from-02-11-2025-to-03-10-2025-10622.pdf
[2025-03-11 04:31:20] Production.INFO: Generate Usage File Start
[2025-03-11 04:31:20] Production.INFO: Usage File fullPath 1/123/InvoiceUsageFile/2025/03/11/dominos-10547-nathan-krishnan-11-02-2025-00-00-00-TO-10-03-2025-23-59-59_4070__354b7750-fe53-11ef-8d3b-cd3b4eb5cf9f.csv
[2025-03-11 04:31:21] Production.INFO: Sending Email to Staff over
[2025-03-11 04:31:21] Production.INFO: Email Status 1
[2025-03-11 04:31:21] Production.INFO: Sending Email to Customer
[2025-03-11 04:31:21] Production.INFO: Email Try 10622 1
[2025-03-11 04:31:23] Production.INFO: Email Try 10622 1
[2025-03-11 04:31:23] Production.INFO: =========== Email Sending over ===========
[2025-03-11 04:31:23] Production.INFO: =========== Returning as Success =========== AccountID 123
[2025-03-11 04:31:23] Production.INFO: Invoice::sendInvoice done
[2025-03-11 04:31:23] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-03-11 04:31:23] Production.INFO: Invoice Committed AccountID = 123
[2025-03-11 04:31:23] Production.INFO: =========== Updating InvoiceDate ===========
[2025-03-11 04:31:23] Production.INFO: NextInvoice 2025-03-11 2025-04-10
[2025-03-11 04:31:23] Production.INFO: new dates
[2025-03-11 04:31:23] Production.INFO: LastInvoiceDate 2025-03-11 NextInvoiceDate 2025-04-11
[2025-03-11 04:31:23] Production.INFO: LastChargeDate 2025-03-11 NextChargeDate 2025-04-10
[2025-03-11 04:31:23] Production.INFO: =========== Updated InvoiceDate ===========
[2025-03-11 04:31:23] Production.INFO: ========================== Invoice Send End =============================
[2025-03-11 04:31:23] Production.INFO: AccountID =134 FirstInvoiceSend 0
[2025-03-11 04:31:23] Production.INFO: LastInvoiceDate 2025-02-11 NextInvoiceDate 2025-03-11
[2025-03-11 04:31:23] Production.INFO: LastChargeDate 2025-02-11 NextChargeDate 2025-03-10
[2025-03-11 04:31:23] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-03-11 04:31:23] Production.INFO: ========================== Invoice Send Start =============================
[2025-03-11 04:31:23] Production.INFO: Invoice::sendInvoice(1,134,2025-02-11,2025-03-11,billing@onswitchit.ca)
[2025-03-11 04:31:23] Production.INFO: start Date =2025-02-11 EndDate =2025-03-10 23:59:59
[2025-03-11 04:31:23] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-03-11 04:31: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.
[2025-03-11 04:31:23] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-03-11 04:31:23] Production.INFO: AlreadyBilled
[2025-03-11 04:31:23] Production.INFO: Reseller ==> 0
[2025-03-11 04:31:23] Production.INFO: original start date ==>2025-02-11 changed start date ==>2025-02-11 00:00:00 original end date ==>2025-03-10 23:59:59 changed end date ==>2025-03-10 23:59:59
[2025-03-11 04:31:23] Production.INFO: Invoice::getAccountUsageTotal(1,134,2025-02-11,2025-03-10 23:59:59)
[2025-03-11 04:31:23] Production.INFO: TotalCharges - 0
[2025-03-11 04:31:23] Production.INFO: TotalUsageCharges - 0.00
[2025-03-11 04:31:23] Production.INFO: Usage Over
[2025-03-11 04:31:23] Production.INFO: Call prc_getAccountSubscription(134,0)
[2025-03-11 04:31:23] Production.INFO: SUBSCRIPTION 4
[2025-03-11 04:31:23] Production.INFO: ============================Subscription Start =================
[2025-03-11 04:31:23] Production.INFO: SubscriptionID - 2
[2025-03-11 04:31:23] Production.INFO: isAdvanceSubscription - 2
[2025-03-11 04:31:23] Production.INFO: SubscriptionStartDate =2025-03-11 - SubscriptionEndDate = 2025-04-10
[2025-03-11 04:31:23] Production.INFO: NewNextChargeDate =2025-04-10 00:00:00
[2025-03-11 04:31:23] Production.INFO: EndDate =2025-03-10 00:00:00
[2025-03-11 04:31:23] Production.INFO: NewEndDate1 =2025-03-11
[2025-03-11 04:31:23] Production.INFO: SubscriptionDate
[2025-03-11 04:31:23] Production.INFO: Array
(
[StartDate] => 2025-03-11
[EndDate] => 2025-04-10 00:00:00
[AlreadyCharged] => 0
)
[2025-03-11 04:31:23] Production.INFO: AccountSubscription StartDate 2020-05-08 StartDate 2025-02-11
[2025-03-11 04:31:23] Production.INFO: SubscriptionID - 2025-03-11=====2025-04-10 00:00:00
[2025-03-11 04:31:23] Production.INFO: AccountSubscriptionID - 483 === 2020-05-08=====2025-02-12
[2025-03-11 04:31:23] Production.INFO: ============================Subscription End =================
[2025-03-11 04:31:23] Production.INFO: ============================Subscription Start =================
[2025-03-11 04:31:23] Production.INFO: SubscriptionID - 8
[2025-03-11 04:31:23] Production.INFO: isAdvanceSubscription - 8
[2025-03-11 04:31:23] Production.INFO: SubscriptionStartDate =2025-03-11 - SubscriptionEndDate = 2025-04-10
[2025-03-11 04:31:23] Production.INFO: NewNextChargeDate =2025-04-10 00:00:00
[2025-03-11 04:31:23] Production.INFO: EndDate =2025-03-10 00:00:00
[2025-03-11 04:31:23] Production.INFO: NewEndDate1 =2025-03-11
[2025-03-11 04:31:23] Production.INFO: SubscriptionDate
[2025-03-11 04:31:23] Production.INFO: Array
(
[StartDate] => 2025-03-11
[EndDate] => 2025-04-10 00:00:00
[AlreadyCharged] => 0
)
[2025-03-11 04:31:23] Production.INFO: AccountSubscription StartDate 2020-05-08 StartDate 2025-02-11
[2025-03-11 04:31:23] Production.INFO: SubscriptionID - 2025-03-11=====2025-04-10 00:00:00
[2025-03-11 04:31:23] Production.INFO: AccountSubscriptionID - 484 === 2020-05-08=====2025-02-12
[2025-03-11 04:31:23] Production.INFO: ============================Subscription End =================
[2025-03-11 04:31:23] Production.INFO: ============================Subscription Start =================
[2025-03-11 04:31:23] Production.INFO: SubscriptionID - 12
[2025-03-11 04:31:23] Production.INFO: isAdvanceSubscription - 12
[2025-03-11 04:31:23] Production.INFO: SubscriptionStartDate =2025-03-11 - SubscriptionEndDate = 2025-04-10
[2025-03-11 04:31:23] Production.INFO: NewNextChargeDate =2025-04-10 00:00:00
[2025-03-11 04:31:23] Production.INFO: EndDate =2025-03-10 00:00:00
[2025-03-11 04:31:23] Production.INFO: NewEndDate1 =2025-03-11
[2025-03-11 04:31:23] Production.INFO: SubscriptionDate
[2025-03-11 04:31:23] Production.INFO: Array
(
[StartDate] => 2025-03-11
[EndDate] => 2025-04-10 00:00:00
[AlreadyCharged] => 0
)
[2025-03-11 04:31:23] Production.INFO: AccountSubscription StartDate 2020-05-08 StartDate 2025-02-11
[2025-03-11 04:31:23] Production.INFO: SubscriptionID - 2025-03-11=====2025-04-10 00:00:00
[2025-03-11 04:31:23] Production.INFO: AccountSubscriptionID - 485 === 2020-05-08=====2025-02-12
[2025-03-11 04:31:23] Production.INFO: ============================Subscription End =================
[2025-03-11 04:31:23] Production.INFO: ============================Subscription Start =================
[2025-03-11 04:31:23] Production.INFO: SubscriptionID - 4
[2025-03-11 04:31:23] Production.INFO: isAdvanceSubscription - 4
[2025-03-11 04:31:23] Production.INFO: SubscriptionStartDate =2025-03-11 - SubscriptionEndDate = 2025-04-10
[2025-03-11 04:31:23] Production.INFO: NewNextChargeDate =2025-04-10 00:00:00
[2025-03-11 04:31:23] Production.INFO: EndDate =2025-03-10 00:00:00
[2025-03-11 04:31:23] Production.INFO: NewEndDate1 =2025-03-11
[2025-03-11 04:31:23] Production.INFO: SubscriptionDate
[2025-03-11 04:31:23] Production.INFO: Array
(
[StartDate] => 2025-03-11
[EndDate] => 2025-04-10 00:00:00
[AlreadyCharged] => 0
)
[2025-03-11 04:31:23] Production.INFO: AccountSubscription StartDate 2020-05-08 StartDate 2025-02-11
[2025-03-11 04:31:23] Production.INFO: SubscriptionID - 2025-03-11=====2025-04-10 00:00:00
[2025-03-11 04:31:23] Production.INFO: AccountSubscriptionID - 486 === 2020-05-08=====2025-02-12
[2025-03-11 04:31:23] Production.INFO: ============================Subscription End =================
[2025-03-11 04:31:23] Production.INFO: SUBSCRIPTION Over
[2025-03-11 04:31:23] Production.INFO: Call prc_getAccountOneOffCharge(134,0,2025-02-11,2025-03-11 23:59:59)
[2025-03-11 04:31:23] Production.INFO: AccountOneOffCharge 0
[2025-03-11 04:31:23] Production.INFO: AccountOneOffCharge Over
[2025-03-11 04:31:23] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-03-11 04:31:23] Production.INFO: New UsageDates 2025-02-11 - 2025-03-10 23:59:59
[2025-03-11 04:31:23] Production.INFO: SubTotal 0
[2025-03-11 04:31:23] Production.INFO: SubTotalWithouttaxTotal 0
[2025-03-11 04:31:23] Production.INFO: AccountOneOffCharge Tax Over
[2025-03-11 04:31:23] Production.INFO: TotalTax 0
[2025-03-11 04:31:23] Production.INFO: InvoiceGrandTotal 0
[2025-03-11 04:31:23] Production.INFO: InvoiceTaxAmount 0
[2025-03-11 04:31:23] Production.INFO: GrandTotal 0
[2025-03-11 04:31:23] Production.INFO: SubTotal 0.00
[2025-03-11 04:31:23] Production.INFO: TotalDue 0.00
[2025-03-11 04:31:23] Production.INFO: Reseller ==> 0
[2025-03-11 04:31:23] Production.INFO: original start date ==>2025-02-11 changed start date ==>2025-02-11 00:00:00 original end date ==>2025-03-10 23:59:59 changed end date ==>2025-03-10 23:59:59
[2025-03-11 04:31:23] Production.INFO: CALL prc_getInvoiceUsage(1,'134','0','1','2025-02-11 00:00:00','2025-03-10 23:59:59',0)
[2025-03-11 04:31:23] Production.INFO: PDF Generation start
[2025-03-11 04:31:23] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/134/Invoices/2025/03/11/Invoice-sidhu-law-chambers-inv11682-from-02-11-2025-to-03-10-2025-10623.pdf
[2025-03-11 04:31:23] Production.INFO: On Linux
[2025-03-11 04:31: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/134/Invoices/2025/03/11/footer-sidhu-law-chambers-inv11682-from-02-11-2025-to-03-10-2025-10623.html" "/var/www/tmp/1/134/Invoices/2025/03/11/Invoice-sidhu-law-chambers-inv11682-from-02-11-2025-to-03-10-2025-10623.html" "/var/www/tmp/1/134/Invoices/2025/03/11/Invoice-sidhu-law-chambers-inv11682-from-02-11-2025-to-03-10-2025-10623.pdf"
[2025-03-11 04:31:24] Production.INFO:
[2025-03-11 04:31:24] Production.INFO: /var/www/tmp/1/134/Invoices/2025/03/11/Invoice-sidhu-law-chambers-inv11682-from-02-11-2025-to-03-10-2025-10623.html
[2025-03-11 04:31:24] Production.INFO: /var/www/tmp/1/134/Invoices/2025/03/11/header-sidhu-law-chambers-inv11682-from-02-11-2025-to-03-10-2025-10623.html
[2025-03-11 04:31:24] Production.INFO: /var/www/tmp/1/134/Invoices/2025/03/11/footer-sidhu-law-chambers-inv11682-from-02-11-2025-to-03-10-2025-10623.html
[2025-03-11 04:31:24] Production.INFO: Invoice generation PDF path
[2025-03-11 04:31:24] Production.INFO: PDF fullPath 1/134/Invoices/2025/03/11/Invoice-sidhu-law-chambers-inv11682-from-02-11-2025-to-03-10-2025-10623.pdf
[2025-03-11 04:31:24] Production.INFO: Generate Usage File Start
[2025-03-11 04:31:24] Production.INFO: Usage File fullPath 1/134/InvoiceUsageFile/2025/03/11/sidhu-law-chambers-11-02-2025-00-00-00-TO-10-03-2025-23-59-59_7137__37ca9f10-fe53-11ef-b907-25ce73be80e7.csv
[2025-03-11 04:31:25] Production.INFO: Sending Email to Staff over
[2025-03-11 04:31:25] Production.INFO: Email Status 1
[2025-03-11 04:31:25] Production.INFO: Sending Email to Customer
[2025-03-11 04:31:25] Production.INFO: =========== Email Sending over ===========
[2025-03-11 04:31:25] Production.INFO: =========== Returning as Success =========== AccountID 134
[2025-03-11 04:31:25] Production.INFO: Invoice::sendInvoice done
[2025-03-11 04:31:25] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-03-11 04:31:25] Production.INFO: Invoice Committed AccountID = 134
[2025-03-11 04:31:25] Production.INFO: =========== Updating InvoiceDate ===========
[2025-03-11 04:31:25] Production.INFO: NextInvoice 2025-03-11 2025-04-10
[2025-03-11 04:31:25] Production.INFO: new dates
[2025-03-11 04:31:25] Production.INFO: LastInvoiceDate 2025-03-11 NextInvoiceDate 2025-04-11
[2025-03-11 04:31:25] Production.INFO: LastChargeDate 2025-03-11 NextChargeDate 2025-04-10
[2025-03-11 04:31:25] Production.INFO: =========== Updated InvoiceDate ===========
[2025-03-11 04:31:25] Production.INFO: ========================== Invoice Send End =============================
[2025-03-11 04:31:25] Production.INFO: AccountID =229 FirstInvoiceSend 0
[2025-03-11 04:31:25] Production.INFO: LastInvoiceDate 2025-02-11 NextInvoiceDate 2025-03-11
[2025-03-11 04:31:25] Production.INFO: LastChargeDate 2025-02-11 NextChargeDate 2025-03-10
[2025-03-11 04:31:25] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-03-11 04:31:25] Production.INFO: ========================== Invoice Send Start =============================
[2025-03-11 04:31:25] Production.INFO: Invoice::sendInvoice(1,229,2025-02-11,2025-03-11,billing@onswitchit.ca)
[2025-03-11 04:31:25] Production.INFO: start Date =2025-02-11 EndDate =2025-03-10 23:59:59
[2025-03-11 04:31:25] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-03-11 04:31: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.
[2025-03-11 04:31:25] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-03-11 04:31:25] Production.INFO: AlreadyBilled
[2025-03-11 04:31:25] Production.INFO: Reseller ==> 0
[2025-03-11 04:31:25] Production.INFO: original start date ==>2025-02-11 changed start date ==>2025-02-11 00:00:00 original end date ==>2025-03-10 23:59:59 changed end date ==>2025-03-10 23:59:59
[2025-03-11 04:31:25] Production.INFO: Invoice::getAccountUsageTotal(1,229,2025-02-11,2025-03-10 23:59:59)
[2025-03-11 04:31:25] Production.INFO: TotalCharges - 0
[2025-03-11 04:31:25] Production.INFO: TotalUsageCharges - 0.00
[2025-03-11 04:31:25] Production.INFO: Usage Over
[2025-03-11 04:31:25] Production.INFO: Call prc_getAccountSubscription(229,0)
[2025-03-11 04:31:25] Production.INFO: SUBSCRIPTION 4
[2025-03-11 04:31:25] Production.INFO: ============================Subscription Start =================
[2025-03-11 04:31:25] Production.INFO: SubscriptionID - 5
[2025-03-11 04:31:25] Production.INFO: isAdvanceSubscription - 5
[2025-03-11 04:31:25] Production.INFO: SubscriptionStartDate =2025-03-11 - SubscriptionEndDate = 2025-04-10
[2025-03-11 04:31:25] Production.INFO: NewNextChargeDate =2025-04-10 00:00:00
[2025-03-11 04:31:25] Production.INFO: EndDate =2025-03-10 00:00:00
[2025-03-11 04:31:25] Production.INFO: NewEndDate1 =2025-03-11
[2025-03-11 04:31:25] Production.INFO: SubscriptionDate
[2025-03-11 04:31:25] Production.INFO: Array
(
[StartDate] => 2025-03-11
[EndDate] => 2025-04-10 00:00:00
[AlreadyCharged] => 0
)
[2025-03-11 04:31:25] Production.INFO: New Account Subscription Start
[2025-03-11 04:31:25] Production.INFO: AccountSubscription StartDate 2024-01-12 StartDate 2025-02-11
[2025-03-11 04:31:25] Production.INFO: SubscriptionID - 2025-03-11=====2025-04-10 00:00:00
[2025-03-11 04:31:25] Production.INFO: AccountSubscriptionID - 1116 === 2024-01-12=====2026-03-11
[2025-03-11 04:31:25] Production.INFO: regular Advance Subscription
[2025-03-11 04:31:25] Production.INFO: First Time False 2024-01-12 2025-03-11
[2025-03-11 04:31:25] Production.INFO: StartDate 2025-03-11 AccountSubscription->StartDate 2024-01-12 EndDate 2025-04-10 00:00:00 AccountSubscription->EndDate 2026-03-11
[2025-03-11 04:31:25] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-11 04:31:25] Production.INFO: AccountSubscription::getSubscriptionAmount(1116,2025-03-11,2025-04-10 00:00:00,,0)
[2025-03-11 04:31:25] Production.INFO: SubscriptionCharge - 75.99
[2025-03-11 04:31:25] Production.INFO: Already Invoice Subscription 0
[2025-03-11 04:31:25] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(229,1,5,2025-03-11,2025-04-10 00:00:00,Restaurant - 5 Line Flat Rate DPZ Canada,75.99,75.99,1,1116)
[2025-03-11 04:31:25] Production.INFO: DiscountAmount 0.000000
[2025-03-11 04:31:25] Production.INFO: DiscountType Flat
[2025-03-11 04:31:25] Production.INFO: SubscriptionCharge 75.99
[2025-03-11 04:31:25] Production.INFO: New SubscriptionCharge 75.99
[2025-03-11 04:31:25] Production.INFO: TotalSubscriptionCharge - 75.99
[2025-03-11 04:31:25] Production.INFO: ============================Subscription End =================
[2025-03-11 04:31:25] Production.INFO: ============================Subscription Start =================
[2025-03-11 04:31:25] Production.INFO: SubscriptionID - 4
[2025-03-11 04:31:25] Production.INFO: isAdvanceSubscription - 4
[2025-03-11 04:31:25] Production.INFO: SubscriptionStartDate =2025-03-11 - SubscriptionEndDate = 2025-04-10
[2025-03-11 04:31:25] Production.INFO: NewNextChargeDate =2025-04-10 00:00:00
[2025-03-11 04:31:25] Production.INFO: EndDate =2025-03-10 00:00:00
[2025-03-11 04:31:25] Production.INFO: NewEndDate1 =2025-03-11
[2025-03-11 04:31:25] Production.INFO: SubscriptionDate
[2025-03-11 04:31:25] Production.INFO: Array
(
[StartDate] => 2025-03-11
[EndDate] => 2025-04-10 00:00:00
[AlreadyCharged] => 0
)
[2025-03-11 04:31:25] Production.INFO: New Account Subscription Start
[2025-03-11 04:31:25] Production.INFO: AccountSubscription StartDate 2024-01-12 StartDate 2025-02-11
[2025-03-11 04:31:25] Production.INFO: SubscriptionID - 2025-03-11=====2025-04-10 00:00:00
[2025-03-11 04:31:25] Production.INFO: AccountSubscriptionID - 1117 === 2024-01-12=====2026-03-11
[2025-03-11 04:31:25] Production.INFO: regular Advance Subscription
[2025-03-11 04:31:25] Production.INFO: First Time False 2024-01-12 2025-03-11
[2025-03-11 04:31:25] Production.INFO: StartDate 2025-03-11 AccountSubscription->StartDate 2024-01-12 EndDate 2025-04-10 00:00:00 AccountSubscription->EndDate 2026-03-11
[2025-03-11 04:31:25] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-11 04:31:25] Production.INFO: AccountSubscription::getSubscriptionAmount(1117,2025-03-11,2025-04-10 00:00:00,,0)
[2025-03-11 04:31:25] Production.INFO: SubscriptionCharge - 2.5
[2025-03-11 04:31:25] Production.INFO: Already Invoice Subscription 0
[2025-03-11 04:31:25] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(229,1,4,2025-03-11,2025-04-10 00:00:00,e911 address registration (1-778-649-2222 - 386 City Centre Kitimat, BC V8C2G3 Canada),2.5,2.5,1,1117)
[2025-03-11 04:31:25] Production.INFO: DiscountAmount 0.000000
[2025-03-11 04:31:25] Production.INFO: DiscountType Flat
[2025-03-11 04:31:25] Production.INFO: SubscriptionCharge 2.5
[2025-03-11 04:31:25] Production.INFO: New SubscriptionCharge 2.5
[2025-03-11 04:31:25] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-03-11 04:31:25] Production.INFO: ============================Subscription End =================
[2025-03-11 04:31:25] Production.INFO: ============================Subscription Start =================
[2025-03-11 04:31:25] Production.INFO: SubscriptionID - 30
[2025-03-11 04:31:25] Production.INFO: isAdvanceSubscription - 30
[2025-03-11 04:31:25] Production.INFO: SubscriptionStartDate =2025-03-11 - SubscriptionEndDate = 2025-04-10
[2025-03-11 04:31:25] Production.INFO: NewNextChargeDate =2025-04-10 00:00:00
[2025-03-11 04:31:25] Production.INFO: EndDate =2024-03-10 00:00:00
[2025-03-11 04:31:25] Production.INFO: NewEndDate1 =2024-03-11
[2025-03-11 04:31:25] Production.INFO: SubscriptionDate
[2025-03-11 04:31:25] Production.INFO: Array
(
[StartDate] => 2024-03-11
[EndDate] => 2025-04-10 00:00:00
[AlreadyCharged] => 0
)
[2025-03-11 04:31:25] Production.INFO: New Account Subscription Start
[2025-03-11 04:31:25] Production.INFO: AccountSubscription StartDate 2024-01-12 StartDate 2025-02-11
[2025-03-11 04:31:25] Production.INFO: SubscriptionID - 2024-03-11=====2025-04-10 00:00:00
[2025-03-11 04:31:25] Production.INFO: AccountSubscriptionID - 1118 === 2024-01-12=====2024-03-10
[2025-03-11 04:31:25] Production.INFO: ============================Subscription End =================
[2025-03-11 04:31:25] Production.INFO: ============================Subscription Start =================
[2025-03-11 04:31:25] Production.INFO: SubscriptionID - 24
[2025-03-11 04:31:25] Production.INFO: SubscriptionID - 2025-02-11=====2025-03-10
[2025-03-11 04:31:25] Production.INFO: AccountSubscriptionID - 1120 === 2024-02-12=====2025-01-12
[2025-03-11 04:31:25] Production.INFO: ============================Subscription End =================
[2025-03-11 04:31:25] Production.INFO: SUBSCRIPTION Over
[2025-03-11 04:31:25] Production.INFO: Call prc_getAccountOneOffCharge(229,0,2025-02-11,2025-03-11 23:59:59)
[2025-03-11 04:31:25] Production.INFO: AccountOneOffCharge 0
[2025-03-11 04:31:25] Production.INFO: AccountOneOffCharge Over
[2025-03-11 04:31:25] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-03-11 04:31:25] Production.INFO: New UsageDates 2025-02-11 - 2025-03-10 23:59:59
[2025-03-11 04:31:25] Production.INFO: SubTotal 78.49
[2025-03-11 04:31:25] Production.INFO: SubTotalWithouttaxTotal 0
[2025-03-11 04:31:25] Production.INFO: AccountOneOffCharge Tax Over
[2025-03-11 04:31:25] Production.INFO: TotalTax 10.2037
[2025-03-11 04:31:25] Production.INFO: InvoiceGrandTotal 88.6937
[2025-03-11 04:31:25] Production.INFO: InvoiceTaxAmount 10.2
[2025-03-11 04:31:25] Production.INFO: GrandTotal 88.69
[2025-03-11 04:31:25] Production.INFO: SubTotal 78.49
[2025-03-11 04:31:25] Production.INFO: TotalDue 88.69
[2025-03-11 04:31:25] Production.INFO: Reseller ==> 0
[2025-03-11 04:31:25] Production.INFO: original start date ==>2025-02-11 changed start date ==>2025-02-11 00:00:00 original end date ==>2025-03-10 23:59:59 changed end date ==>2025-03-10 23:59:59
[2025-03-11 04:31:25] Production.INFO: CALL prc_getInvoiceUsage(1,'229','0','1','2025-02-11 00:00:00','2025-03-10 23:59:59',0)
[2025-03-11 04:31:25] Production.INFO: PDF Generation start
[2025-03-11 04:31:25] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/229/Invoices/2025/03/11/Invoice-dominos-10096-albert-chan-inv11683-from-02-11-2025-to-03-10-2025-10624.pdf
[2025-03-11 04:31:25] Production.INFO: On Linux
[2025-03-11 04:31:26] 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/229/Invoices/2025/03/11/footer-dominos-10096-albert-chan-inv11683-from-02-11-2025-to-03-10-2025-10624.html" "/var/www/tmp/1/229/Invoices/2025/03/11/Invoice-dominos-10096-albert-chan-inv11683-from-02-11-2025-to-03-10-2025-10624.html" "/var/www/tmp/1/229/Invoices/2025/03/11/Invoice-dominos-10096-albert-chan-inv11683-from-02-11-2025-to-03-10-2025-10624.pdf"
[2025-03-11 04:31:26] Production.INFO:
[2025-03-11 04:31:26] Production.INFO: /var/www/tmp/1/229/Invoices/2025/03/11/Invoice-dominos-10096-albert-chan-inv11683-from-02-11-2025-to-03-10-2025-10624.html
[2025-03-11 04:31:26] Production.INFO: /var/www/tmp/1/229/Invoices/2025/03/11/header-dominos-10096-albert-chan-inv11683-from-02-11-2025-to-03-10-2025-10624.html
[2025-03-11 04:31:26] Production.INFO: /var/www/tmp/1/229/Invoices/2025/03/11/footer-dominos-10096-albert-chan-inv11683-from-02-11-2025-to-03-10-2025-10624.html
[2025-03-11 04:31:26] Production.INFO: Invoice generation PDF path
[2025-03-11 04:31:26] Production.INFO: PDF fullPath 1/229/Invoices/2025/03/11/Invoice-dominos-10096-albert-chan-inv11683-from-02-11-2025-to-03-10-2025-10624.pdf
[2025-03-11 04:31:26] Production.INFO: Generate Usage File Start
[2025-03-11 04:31:26] Production.INFO: Usage File fullPath 1/229/InvoiceUsageFile/2025/03/11/dominos-10096-albert-chan-11-02-2025-00-00-00-TO-10-03-2025-23-59-59_7735__3930f7c0-fe53-11ef-9a14-5d307ad022ee.csv
[2025-03-11 04:31:27] Production.INFO: Sending Email to Staff over
[2025-03-11 04:31:27] Production.INFO: Email Status 1
[2025-03-11 04:31:27] Production.INFO: Sending Email to Customer
[2025-03-11 04:31:28] Production.INFO: Email Try 10624 1
[2025-03-11 04:31:29] Production.INFO: Email Try 10624 1
[2025-03-11 04:31:30] Production.INFO: Email Try 10624 1
[2025-03-11 04:31:30] Production.INFO: =========== Email Sending over ===========
[2025-03-11 04:31:30] Production.INFO: =========== Returning as Success =========== AccountID 229
[2025-03-11 04:31:30] Production.INFO: Invoice::sendInvoice done
[2025-03-11 04:31:30] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-03-11 04:31:30] Production.INFO: Invoice Committed AccountID = 229
[2025-03-11 04:31:30] Production.INFO: =========== Updating InvoiceDate ===========
[2025-03-11 04:31:30] Production.INFO: NextInvoice 2025-03-11 2025-04-10
[2025-03-11 04:31:30] Production.INFO: new dates
[2025-03-11 04:31:30] Production.INFO: LastInvoiceDate 2025-03-11 NextInvoiceDate 2025-04-11
[2025-03-11 04:31:30] Production.INFO: LastChargeDate 2025-03-11 NextChargeDate 2025-04-10
[2025-03-11 04:31:30] Production.INFO: =========== Updated InvoiceDate ===========
[2025-03-11 04:31:30] Production.INFO: ========================== Invoice Send End =============================
[2025-03-11 04:31:30] Production.INFO: AccountID =258 FirstInvoiceSend 0
[2025-03-11 04:31:30] Production.INFO: LastInvoiceDate 2025-02-10 NextInvoiceDate 2025-03-10
[2025-03-11 04:31:30] Production.INFO: LastChargeDate 2025-02-10 NextChargeDate 2025-03-09
[2025-03-11 04:31:30] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-03-11 04:31:30] Production.INFO: ========================== Invoice Send Start =============================
[2025-03-11 04:31:30] Production.INFO: Invoice::sendInvoice(1,258,2025-02-10,2025-03-10,billing@onswitchit.ca)
[2025-03-11 04:31:30] Production.INFO: start Date =2025-02-10 EndDate =2025-03-09 23:59:59
[2025-03-11 04:31:30] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-03-11 04:31:30] 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.
[2025-03-11 04:31:30] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-03-11 04:31:30] Production.INFO: Invoice::sendInvoice done
[2025-03-11 04:31:30] Production.INFO: Invoice rollback AccountID = 258
[2025-03-11 04:31:30] Production.INFO: ========================== Error =============================
[2025-03-11 04:31:30] Production.INFO: Invoice with Error - Array
(
[status] => failure
[message] => Lion Motors Account is already billed on this duration
)
[2025-03-11 04:31:30] Production.INFO: ========================== Invoice Send End =============================
[2025-03-11 04:31:30] Production.INFO: ========================== Recurring invoice Start =============================
[2025-03-11 04:31:30] Production.INFO: recurring invoices ID
[2025-03-11 04:31:30] Production.INFO:
[2025-03-11 04:31:30] Production.INFO: recurring errorsArray
(
)
[2025-03-11 04:31:30] Production.INFO: ========================== Recurring invoice End =============================
[2025-03-11 04:31:30] Production.INFO: ========================== Job Updated =============================
[2025-03-11 04:31:31] Production.INFO: ========================== Job Email Sent =============================
[2025-03-11 04:31:31] Production.ERROR: **Email Sent Status 1
[2025-03-11 04:31:31] Production.ERROR: **Email Sent message Email has been sent
[2025-03-11 04:31:31] Production.ERROR: CronJobId end6
[2025-03-11 04:31:31] Production.INFO: ==23010== Releasing lock...
[2025-03-11 04:31:31] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops#
[2025-03-11 04:31:31] Production.INFO: 38.5 MB #Memory Used#