[2025-01-15 04:30:03] Production.INFO: Call prc_getBillingAccounts(1,2025-01-15,'','0')
[2025-01-15 04:30:03] Production.INFO: Array
(
[0] => stdClass Object
(
[AccountID] => 32
[NextInvoiceDate] => 2025-01-15
[AccountName] => Dominos 10353 (Ronny Khan)
[ServiceID] => 0
)
[1] => stdClass Object
(
[AccountID] => 136
[NextInvoiceDate] => 2025-01-15
[AccountName] => Dominos 10483 (Ronny Khan)
[ServiceID] => 0
)
[2] => stdClass Object
(
[AccountID] => 146
[NextInvoiceDate] => 2025-01-15
[AccountName] => Destawed
[ServiceID] => 0
)
[3] => stdClass Object
(
[AccountID] => 184
[NextInvoiceDate] => 2025-01-15
[AccountName] => TTC (Donlands - Strathmore Subway) - Construction Site (Cancom - Think Secure)
[ServiceID] => 0
)
[4] => stdClass Object
(
[AccountID] => 185
[NextInvoiceDate] => 2025-01-15
[AccountName] => TTC (College-Subway) - Construction Site (Cancom - Think Secure)
[ServiceID] => 0
)
[5] => stdClass Object
(
[AccountID] => 187
[NextInvoiceDate] => 2025-01-15
[AccountName] => Graybill & Hazlewood - Trial Lawyers
[ServiceID] => 0
)
[6] => stdClass Object
(
[AccountID] => 230
[NextInvoiceDate] => 2025-01-15
[AccountName] => Harbourfront Medicine Cabinet
[ServiceID] => 0
)
)
[2025-01-15 04:30:03] Production.INFO: AccountID =32 FirstInvoiceSend 0
[2025-01-15 04:30:03] Production.INFO: LastInvoiceDate 2024-12-15 NextInvoiceDate 2025-01-15
[2025-01-15 04:30:03] Production.INFO: LastChargeDate 2024-12-15 NextChargeDate 2025-01-14
[2025-01-15 04:30:04] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-15 04:30:04] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-15 04:30:04] Production.INFO: Invoice::sendInvoice(1,32,2024-12-15,2025-01-15,billing@onswitchit.ca)
[2025-01-15 04:30:04] Production.INFO: start Date =2024-12-15 EndDate =2025-01-14 23:59:59
[2025-01-15 04:30:04] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-15 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.
[2025-01-15 04:30:04] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-15 04:30:04] Production.INFO: AlreadyBilled
[2025-01-15 04:30:04] Production.INFO: Reseller ==> 0
[2025-01-15 04:30:04] Production.INFO: original start date ==>2024-12-15 changed start date ==>2024-12-15 00:00:00 original end date ==>2025-01-14 23:59:59 changed end date ==>2025-01-14 23:59:59
[2025-01-15 04:30:04] Production.INFO: Invoice::getAccountUsageTotal(1,32,2024-12-15,2025-01-14 23:59:59)
[2025-01-15 04:30:04] Production.INFO: TotalCharges - 0
[2025-01-15 04:30:04] Production.INFO: TotalUsageCharges - 0.00
[2025-01-15 04:30:04] Production.INFO: Usage Over
[2025-01-15 04:30:04] Production.INFO: Call prc_getAccountSubscription(32,0)
[2025-01-15 04:30:04] Production.INFO: SUBSCRIPTION 3
[2025-01-15 04:30:04] Production.INFO: ============================Subscription Start =================
[2025-01-15 04:30:04] Production.INFO: SubscriptionID - 5
[2025-01-15 04:30:04] Production.INFO: isAdvanceSubscription - 5
[2025-01-15 04:30:04] Production.INFO: SubscriptionStartDate =2025-01-15 - SubscriptionEndDate = 2025-02-14
[2025-01-15 04:30:04] Production.INFO: NewNextChargeDate =2025-02-14 00:00:00
[2025-01-15 04:30:04] Production.INFO: EndDate =2025-01-14 00:00:00
[2025-01-15 04:30:04] Production.INFO: NewEndDate1 =2025-01-15
[2025-01-15 04:30:04] Production.INFO: SubscriptionDate
[2025-01-15 04:30:04] Production.INFO: Array
(
[StartDate] => 2025-01-15
[EndDate] => 2025-02-14 00:00:00
[AlreadyCharged] => 0
)
[2025-01-15 04:30:04] Production.INFO: AccountSubscription StartDate 2017-06-14 StartDate 2024-12-15
[2025-01-15 04:30:04] Production.INFO: SubscriptionID - 2025-01-15=====2025-02-14 00:00:00
[2025-01-15 04:30:04] Production.INFO: AccountSubscriptionID - 55 === 2017-06-14=====2026-01-15
[2025-01-15 04:30:04] Production.INFO: regular Advance Subscription
[2025-01-15 04:30:04] Production.INFO: First Time False 2017-06-14 2025-01-15
[2025-01-15 04:30:04] Production.INFO: StartDate 2025-01-15 AccountSubscription->StartDate 2017-06-14 EndDate 2025-02-14 00:00:00 AccountSubscription->EndDate 2026-01-15
[2025-01-15 04:30:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-15 04:30:04] Production.INFO: AccountSubscription::getSubscriptionAmount(55,2025-01-15,2025-02-14 00:00:00,,0)
[2025-01-15 04:30:04] Production.INFO: SubscriptionCharge - 75
[2025-01-15 04:30:04] Production.INFO: Already Invoice Subscription 0
[2025-01-15 04:30:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(32,1,5,2025-01-15,2025-02-14 00:00:00,Dominos Pizza - 4 Line Flat Rate,75,75,1,55)
[2025-01-15 04:30:04] Production.INFO: DiscountAmount 0.000000
[2025-01-15 04:30:04] Production.INFO: DiscountType
[2025-01-15 04:30:04] Production.INFO: SubscriptionCharge 75
[2025-01-15 04:30:04] Production.INFO: New SubscriptionCharge 75
[2025-01-15 04:30:04] Production.INFO: TotalSubscriptionCharge - 75.00
[2025-01-15 04:30:04] Production.INFO: ============================Subscription End =================
[2025-01-15 04:30:04] Production.INFO: ============================Subscription Start =================
[2025-01-15 04:30:04] Production.INFO: SubscriptionID - 4
[2025-01-15 04:30:04] Production.INFO: isAdvanceSubscription - 4
[2025-01-15 04:30:04] Production.INFO: SubscriptionStartDate =2025-01-15 - SubscriptionEndDate = 2025-02-14
[2025-01-15 04:30:04] Production.INFO: NewNextChargeDate =2025-02-14 00:00:00
[2025-01-15 04:30:04] Production.INFO: EndDate =2025-01-14 00:00:00
[2025-01-15 04:30:04] Production.INFO: NewEndDate1 =2025-01-15
[2025-01-15 04:30:04] Production.INFO: SubscriptionDate
[2025-01-15 04:30:04] Production.INFO: Array
(
[StartDate] => 2025-01-15
[EndDate] => 2025-02-14 00:00:00
[AlreadyCharged] => 0
)
[2025-01-15 04:30:04] Production.INFO: AccountSubscription StartDate 2017-06-14 StartDate 2024-12-15
[2025-01-15 04:30:04] Production.INFO: SubscriptionID - 2025-01-15=====2025-02-14 00:00:00
[2025-01-15 04:30:04] Production.INFO: AccountSubscriptionID - 56 === 2017-06-14=====2026-01-15
[2025-01-15 04:30:04] Production.INFO: regular Advance Subscription
[2025-01-15 04:30:04] Production.INFO: First Time False 2017-06-14 2025-01-15
[2025-01-15 04:30:04] Production.INFO: StartDate 2025-01-15 AccountSubscription->StartDate 2017-06-14 EndDate 2025-02-14 00:00:00 AccountSubscription->EndDate 2026-01-15
[2025-01-15 04:30:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-15 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(56,2025-01-15,2025-02-14 00:00:00,,0)
[2025-01-15 04:30:05] Production.INFO: SubscriptionCharge - 2.5
[2025-01-15 04:30:05] Production.INFO: Already Invoice Subscription 0
[2025-01-15 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(32,1,4,2025-01-15,2025-02-14 00:00:00,e911 address registration (14164292929 - 784 Eglinton Avenue East Toronto, ON M4G2L1),2.5,2.5,1,56)
[2025-01-15 04:30:05] Production.INFO: DiscountAmount 0.000000
[2025-01-15 04:30:05] Production.INFO: DiscountType
[2025-01-15 04:30:05] Production.INFO: SubscriptionCharge 2.5
[2025-01-15 04:30:05] Production.INFO: New SubscriptionCharge 2.5
[2025-01-15 04:30:05] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-01-15 04:30:05] Production.INFO: ============================Subscription End =================
[2025-01-15 04:30:05] Production.INFO: ============================Subscription Start =================
[2025-01-15 04:30:05] Production.INFO: SubscriptionID - 11
[2025-01-15 04:30:05] Production.INFO: isAdvanceSubscription - 11
[2025-01-15 04:30:05] Production.INFO: SubscriptionStartDate =2025-01-15 - SubscriptionEndDate = 2025-02-14
[2025-01-15 04:30:05] Production.INFO: NewNextChargeDate =2025-02-14 00:00:00
[2025-01-15 04:30:05] Production.INFO: EndDate =2025-01-14 00:00:00
[2025-01-15 04:30:05] Production.INFO: NewEndDate1 =2025-01-15
[2025-01-15 04:30:05] Production.INFO: SubscriptionDate
[2025-01-15 04:30:05] Production.INFO: Array
(
[StartDate] => 2025-01-15
[EndDate] => 2025-02-14 00:00:00
[AlreadyCharged] => 0
)
[2025-01-15 04:30:05] Production.INFO: AccountSubscription StartDate 2019-07-15 StartDate 2024-12-15
[2025-01-15 04:30:05] Production.INFO: SubscriptionID - 2025-01-15=====2025-02-14 00:00:00
[2025-01-15 04:30:05] Production.INFO: AccountSubscriptionID - 412 === 2019-07-15=====2026-01-15
[2025-01-15 04:30:05] Production.INFO: regular Advance Subscription
[2025-01-15 04:30:05] Production.INFO: First Time False 2019-07-15 2025-01-15
[2025-01-15 04:30:05] Production.INFO: StartDate 2025-01-15 AccountSubscription->StartDate 2019-07-15 EndDate 2025-02-14 00:00:00 AccountSubscription->EndDate 2026-01-15
[2025-01-15 04:30:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-15 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(412,2025-01-15,2025-02-14 00:00:00,,0)
[2025-01-15 04:30:05] Production.INFO: SubscriptionCharge - -5
[2025-01-15 04:30:05] Production.INFO: Already Invoice Subscription 0
[2025-01-15 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(32,1,11,2025-01-15,2025-02-14 00:00:00,Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service,-20,-5,4,412)
[2025-01-15 04:30:05] Production.INFO: DiscountAmount 0.000000
[2025-01-15 04:30:05] Production.INFO: DiscountType
[2025-01-15 04:30:05] Production.INFO: SubscriptionCharge -20
[2025-01-15 04:30:05] Production.INFO: New SubscriptionCharge -20
[2025-01-15 04:30:05] Production.INFO: TotalSubscriptionCharge - -20.00
[2025-01-15 04:30:05] Production.INFO: ============================Subscription End =================
[2025-01-15 04:30:05] Production.INFO: SUBSCRIPTION Over
[2025-01-15 04:30:05] Production.INFO: Call prc_getAccountOneOffCharge(32,0,2024-12-15,2025-01-15 23:59:59)
[2025-01-15 04:30:05] Production.INFO: AccountOneOffCharge 0
[2025-01-15 04:30:05] Production.INFO: AccountOneOffCharge Over
[2025-01-15 04:30:05] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-15 04:30:05] Production.INFO: New UsageDates 2024-12-15 - 2025-01-14 23:59:59
[2025-01-15 04:30:05] Production.INFO: SubTotal 57.5
[2025-01-15 04:30:05] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-15 04:30:05] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-15 04:30:05] Production.INFO: TotalTax 7.475
[2025-01-15 04:30:05] Production.INFO: InvoiceGrandTotal 64.975
[2025-01-15 04:30:05] Production.INFO: InvoiceTaxAmount 7.48
[2025-01-15 04:30:05] Production.INFO: GrandTotal 64.98
[2025-01-15 04:30:05] Production.INFO: SubTotal 57.50
[2025-01-15 04:30:05] Production.INFO: TotalDue 0.00
[2025-01-15 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-15 04:30:05] Production.INFO: original start date ==>2024-12-15 changed start date ==>2024-12-15 00:00:00 original end date ==>2025-01-14 23:59:59 changed end date ==>2025-01-14 23:59:59
[2025-01-15 04:30:05] Production.INFO: CALL prc_getInvoiceUsage(1,'32','0','1','2024-12-15 00:00:00','2025-01-14 23:59:59',0)
[2025-01-15 04:30:05] Production.INFO: PDF Generation start
[2025-01-15 04:30:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/32/Invoices/2025/01/15/Invoice-dominos-10353-ronny-khan-inv11375-from-12-15-2024-to-01-14-2025-10305.pdf
[2025-01-15 04:30:05] Production.INFO: On Linux
[2025-01-15 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/32/Invoices/2025/01/15/footer-dominos-10353-ronny-khan-inv11375-from-12-15-2024-to-01-14-2025-10305.html" "/var/www/tmp/1/32/Invoices/2025/01/15/Invoice-dominos-10353-ronny-khan-inv11375-from-12-15-2024-to-01-14-2025-10305.html" "/var/www/tmp/1/32/Invoices/2025/01/15/Invoice-dominos-10353-ronny-khan-inv11375-from-12-15-2024-to-01-14-2025-10305.pdf"
[2025-01-15 04:30:07] Production.INFO:
[2025-01-15 04:30:07] Production.INFO: /var/www/tmp/1/32/Invoices/2025/01/15/Invoice-dominos-10353-ronny-khan-inv11375-from-12-15-2024-to-01-14-2025-10305.html
[2025-01-15 04:30:07] Production.INFO: /var/www/tmp/1/32/Invoices/2025/01/15/header-dominos-10353-ronny-khan-inv11375-from-12-15-2024-to-01-14-2025-10305.html
[2025-01-15 04:30:07] Production.INFO: /var/www/tmp/1/32/Invoices/2025/01/15/footer-dominos-10353-ronny-khan-inv11375-from-12-15-2024-to-01-14-2025-10305.html
[2025-01-15 04:30:07] Production.INFO: Invoice generation PDF path
[2025-01-15 04:30:07] Production.INFO: PDF fullPath 1/32/Invoices/2025/01/15/Invoice-dominos-10353-ronny-khan-inv11375-from-12-15-2024-to-01-14-2025-10305.pdf
[2025-01-15 04:30:07] Production.INFO: Generate Usage File Start
[2025-01-15 04:30:07] Production.INFO: Usage File fullPath 1/32/InvoiceUsageFile/2025/01/15/dominos-10353-ronny-khan-15-12-2024-00-00-00-TO-14-01-2025-23-59-59_4406__4f2018c0-d323-11ef-87e4-f369d4d194e7.csv
[2025-01-15 04:30:08] Production.INFO: Sending Email to Staff over
[2025-01-15 04:30:08] Production.INFO: Email Status 1
[2025-01-15 04:30:08] Production.INFO: Sending Email to Customer
[2025-01-15 04:30:09] Production.INFO: Email Try 10305 1
[2025-01-15 04:30:09] Production.INFO: =========== Email Sending over ===========
[2025-01-15 04:30:09] Production.INFO: =========== Returning as Success =========== AccountID 32
[2025-01-15 04:30:09] Production.INFO: Invoice::sendInvoice done
[2025-01-15 04:30:09] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-15 04:30:09] Production.INFO: Invoice Committed AccountID = 32
[2025-01-15 04:30:09] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-15 04:30:09] Production.INFO: NextInvoice 2025-01-15 2025-02-14
[2025-01-15 04:30:09] Production.INFO: new dates
[2025-01-15 04:30:09] Production.INFO: LastInvoiceDate 2025-01-15 NextInvoiceDate 2025-02-15
[2025-01-15 04:30:09] Production.INFO: LastChargeDate 2025-01-15 NextChargeDate 2025-02-14
[2025-01-15 04:30:09] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-15 04:30:09] Production.INFO: ========================== Invoice Send End =============================
[2025-01-15 04:30:09] Production.INFO: AccountID =136 FirstInvoiceSend 0
[2025-01-15 04:30:09] Production.INFO: LastInvoiceDate 2024-12-15 NextInvoiceDate 2025-01-15
[2025-01-15 04:30:09] Production.INFO: LastChargeDate 2024-12-15 NextChargeDate 2025-01-14
[2025-01-15 04:30:09] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-15 04:30:09] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-15 04:30:09] Production.INFO: Invoice::sendInvoice(1,136,2024-12-15,2025-01-15,billing@onswitchit.ca)
[2025-01-15 04:30:09] Production.INFO: start Date =2024-12-15 EndDate =2025-01-14 23:59:59
[2025-01-15 04:30:09] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-15 04:30:09] 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-01-15 04:30:09] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-15 04:30:09] Production.INFO: AlreadyBilled
[2025-01-15 04:30:09] Production.INFO: Reseller ==> 0
[2025-01-15 04:30:09] Production.INFO: original start date ==>2024-12-15 changed start date ==>2024-12-15 00:00:00 original end date ==>2025-01-14 23:59:59 changed end date ==>2025-01-14 23:59:59
[2025-01-15 04:30:09] Production.INFO: Invoice::getAccountUsageTotal(1,136,2024-12-15,2025-01-14 23:59:59)
[2025-01-15 04:30:09] Production.INFO: TotalCharges - 0
[2025-01-15 04:30:09] Production.INFO: TotalUsageCharges - 0.00
[2025-01-15 04:30:09] Production.INFO: Usage Over
[2025-01-15 04:30:09] Production.INFO: Call prc_getAccountSubscription(136,0)
[2025-01-15 04:30:09] Production.INFO: SUBSCRIPTION 3
[2025-01-15 04:30:09] Production.INFO: ============================Subscription Start =================
[2025-01-15 04:30:09] Production.INFO: SubscriptionID - 5
[2025-01-15 04:30:09] Production.INFO: isAdvanceSubscription - 5
[2025-01-15 04:30:09] Production.INFO: SubscriptionStartDate =2025-01-15 - SubscriptionEndDate = 2025-02-14
[2025-01-15 04:30:09] Production.INFO: NewNextChargeDate =2025-02-14 00:00:00
[2025-01-15 04:30:09] Production.INFO: EndDate =2025-01-14 00:00:00
[2025-01-15 04:30:09] Production.INFO: NewEndDate1 =2025-01-15
[2025-01-15 04:30:09] Production.INFO: SubscriptionDate
[2025-01-15 04:30:09] Production.INFO: Array
(
[StartDate] => 2025-01-15
[EndDate] => 2025-02-14 00:00:00
[AlreadyCharged] => 0
)
[2025-01-15 04:30:09] Production.INFO: AccountSubscription StartDate 2020-07-14 StartDate 2024-12-15
[2025-01-15 04:30:09] Production.INFO: SubscriptionID - 2025-01-15=====2025-02-14 00:00:00
[2025-01-15 04:30:09] Production.INFO: AccountSubscriptionID - 515 === 2020-07-14=====2026-01-15
[2025-01-15 04:30:09] Production.INFO: regular Advance Subscription
[2025-01-15 04:30:09] Production.INFO: First Time False 2020-07-14 2025-01-15
[2025-01-15 04:30:09] Production.INFO: StartDate 2025-01-15 AccountSubscription->StartDate 2020-07-14 EndDate 2025-02-14 00:00:00 AccountSubscription->EndDate 2026-01-15
[2025-01-15 04:30:09] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-15 04:30:09] Production.INFO: AccountSubscription::getSubscriptionAmount(515,2025-01-15,2025-02-14 00:00:00,,0)
[2025-01-15 04:30:09] Production.INFO: SubscriptionCharge - 75
[2025-01-15 04:30:09] Production.INFO: Already Invoice Subscription 0
[2025-01-15 04:30:09] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(136,1,5,2025-01-15,2025-02-14 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,515)
[2025-01-15 04:30:09] Production.INFO: DiscountAmount 0.000000
[2025-01-15 04:30:09] Production.INFO: DiscountType
[2025-01-15 04:30:09] Production.INFO: SubscriptionCharge 75
[2025-01-15 04:30:09] Production.INFO: New SubscriptionCharge 75
[2025-01-15 04:30:09] Production.INFO: TotalSubscriptionCharge - 75.00
[2025-01-15 04:30:09] Production.INFO: ============================Subscription End =================
[2025-01-15 04:30:09] Production.INFO: ============================Subscription Start =================
[2025-01-15 04:30:09] Production.INFO: SubscriptionID - 4
[2025-01-15 04:30:09] Production.INFO: isAdvanceSubscription - 4
[2025-01-15 04:30:09] Production.INFO: SubscriptionStartDate =2025-01-15 - SubscriptionEndDate = 2025-02-14
[2025-01-15 04:30:09] Production.INFO: NewNextChargeDate =2025-02-14 00:00:00
[2025-01-15 04:30:09] Production.INFO: EndDate =2025-01-14 00:00:00
[2025-01-15 04:30:09] Production.INFO: NewEndDate1 =2025-01-15
[2025-01-15 04:30:09] Production.INFO: SubscriptionDate
[2025-01-15 04:30:09] Production.INFO: Array
(
[StartDate] => 2025-01-15
[EndDate] => 2025-02-14 00:00:00
[AlreadyCharged] => 0
)
[2025-01-15 04:30:09] Production.INFO: AccountSubscription StartDate 2020-07-14 StartDate 2024-12-15
[2025-01-15 04:30:09] Production.INFO: SubscriptionID - 2025-01-15=====2025-02-14 00:00:00
[2025-01-15 04:30:09] Production.INFO: AccountSubscriptionID - 516 === 2020-07-14=====2026-01-15
[2025-01-15 04:30:09] Production.INFO: regular Advance Subscription
[2025-01-15 04:30:09] Production.INFO: First Time False 2020-07-14 2025-01-15
[2025-01-15 04:30:09] Production.INFO: StartDate 2025-01-15 AccountSubscription->StartDate 2020-07-14 EndDate 2025-02-14 00:00:00 AccountSubscription->EndDate 2026-01-15
[2025-01-15 04:30:10] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-15 04:30:10] Production.INFO: AccountSubscription::getSubscriptionAmount(516,2025-01-15,2025-02-14 00:00:00,,0)
[2025-01-15 04:30:10] Production.INFO: SubscriptionCharge - 2.5
[2025-01-15 04:30:10] Production.INFO: Already Invoice Subscription 0
[2025-01-15 04:30:10] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(136,1,4,2025-01-15,2025-02-14 00:00:00,e911 address registration (6473525055 - 10 Mallard Rd 52 North York, ON M3B 0A7),2.5,2.5,1,516)
[2025-01-15 04:30:10] Production.INFO: DiscountAmount 0.000000
[2025-01-15 04:30:10] Production.INFO: DiscountType
[2025-01-15 04:30:10] Production.INFO: SubscriptionCharge 2.5
[2025-01-15 04:30:10] Production.INFO: New SubscriptionCharge 2.5
[2025-01-15 04:30:10] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-01-15 04:30:10] Production.INFO: ============================Subscription End =================
[2025-01-15 04:30:10] Production.INFO: ============================Subscription Start =================
[2025-01-15 04:30:10] Production.INFO: SubscriptionID - 11
[2025-01-15 04:30:10] Production.INFO: isAdvanceSubscription - 11
[2025-01-15 04:30:10] Production.INFO: SubscriptionStartDate =2025-01-15 - SubscriptionEndDate = 2025-02-14
[2025-01-15 04:30:10] Production.INFO: NewNextChargeDate =2025-02-14 00:00:00
[2025-01-15 04:30:10] Production.INFO: EndDate =2025-01-14 00:00:00
[2025-01-15 04:30:10] Production.INFO: NewEndDate1 =2025-01-15
[2025-01-15 04:30:10] Production.INFO: SubscriptionDate
[2025-01-15 04:30:10] Production.INFO: Array
(
[StartDate] => 2025-01-15
[EndDate] => 2025-02-14 00:00:00
[AlreadyCharged] => 0
)
[2025-01-15 04:30:10] Production.INFO: AccountSubscription StartDate 2020-07-14 StartDate 2024-12-15
[2025-01-15 04:30:10] Production.INFO: SubscriptionID - 2025-01-15=====2025-02-14 00:00:00
[2025-01-15 04:30:10] Production.INFO: AccountSubscriptionID - 517 === 2020-07-14=====2026-01-15
[2025-01-15 04:30:10] Production.INFO: regular Advance Subscription
[2025-01-15 04:30:10] Production.INFO: First Time False 2020-07-14 2025-01-15
[2025-01-15 04:30:10] Production.INFO: StartDate 2025-01-15 AccountSubscription->StartDate 2020-07-14 EndDate 2025-02-14 00:00:00 AccountSubscription->EndDate 2026-01-15
[2025-01-15 04:30:10] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-15 04:30:10] Production.INFO: AccountSubscription::getSubscriptionAmount(517,2025-01-15,2025-02-14 00:00:00,,0)
[2025-01-15 04:30:10] Production.INFO: SubscriptionCharge - -5
[2025-01-15 04:30:10] Production.INFO: Already Invoice Subscription 0
[2025-01-15 04:30:10] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(136,1,11,2025-01-15,2025-02-14 00:00:00,Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service,-20,-5,4,517)
[2025-01-15 04:30:10] Production.INFO: DiscountAmount 0.000000
[2025-01-15 04:30:10] Production.INFO: DiscountType
[2025-01-15 04:30:10] Production.INFO: SubscriptionCharge -20
[2025-01-15 04:30:10] Production.INFO: New SubscriptionCharge -20
[2025-01-15 04:30:10] Production.INFO: TotalSubscriptionCharge - -20.00
[2025-01-15 04:30:10] Production.INFO: ============================Subscription End =================
[2025-01-15 04:30:10] Production.INFO: SUBSCRIPTION Over
[2025-01-15 04:30:10] Production.INFO: Call prc_getAccountOneOffCharge(136,0,2024-12-15,2025-01-15 23:59:59)
[2025-01-15 04:30:10] Production.INFO: AccountOneOffCharge 0
[2025-01-15 04:30:10] Production.INFO: AccountOneOffCharge Over
[2025-01-15 04:30:10] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-15 04:30:10] Production.INFO: New UsageDates 2024-12-15 - 2025-01-14 23:59:59
[2025-01-15 04:30:10] Production.INFO: SubTotal 57.5
[2025-01-15 04:30:10] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-15 04:30:10] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-15 04:30:10] Production.INFO: TotalTax 7.475
[2025-01-15 04:30:10] Production.INFO: InvoiceGrandTotal 64.975
[2025-01-15 04:30:10] Production.INFO: InvoiceTaxAmount 7.48
[2025-01-15 04:30:10] Production.INFO: GrandTotal 64.98
[2025-01-15 04:30:10] Production.INFO: SubTotal 57.50
[2025-01-15 04:30:10] Production.INFO: TotalDue 0.00
[2025-01-15 04:30:10] Production.INFO: Reseller ==> 0
[2025-01-15 04:30:10] Production.INFO: original start date ==>2024-12-15 changed start date ==>2024-12-15 00:00:00 original end date ==>2025-01-14 23:59:59 changed end date ==>2025-01-14 23:59:59
[2025-01-15 04:30:10] Production.INFO: CALL prc_getInvoiceUsage(1,'136','0','1','2024-12-15 00:00:00','2025-01-14 23:59:59',0)
[2025-01-15 04:30:10] Production.INFO: PDF Generation start
[2025-01-15 04:30:10] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/136/Invoices/2025/01/15/Invoice-dominos-10483-ronny-khan-inv11376-from-12-15-2024-to-01-14-2025-10306.pdf
[2025-01-15 04:30:10] Production.INFO: On Linux
[2025-01-15 04:30:11] 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/136/Invoices/2025/01/15/footer-dominos-10483-ronny-khan-inv11376-from-12-15-2024-to-01-14-2025-10306.html" "/var/www/tmp/1/136/Invoices/2025/01/15/Invoice-dominos-10483-ronny-khan-inv11376-from-12-15-2024-to-01-14-2025-10306.html" "/var/www/tmp/1/136/Invoices/2025/01/15/Invoice-dominos-10483-ronny-khan-inv11376-from-12-15-2024-to-01-14-2025-10306.pdf"
[2025-01-15 04:30:11] Production.INFO:
[2025-01-15 04:30:11] Production.INFO: /var/www/tmp/1/136/Invoices/2025/01/15/Invoice-dominos-10483-ronny-khan-inv11376-from-12-15-2024-to-01-14-2025-10306.html
[2025-01-15 04:30:11] Production.INFO: /var/www/tmp/1/136/Invoices/2025/01/15/header-dominos-10483-ronny-khan-inv11376-from-12-15-2024-to-01-14-2025-10306.html
[2025-01-15 04:30:11] Production.INFO: /var/www/tmp/1/136/Invoices/2025/01/15/footer-dominos-10483-ronny-khan-inv11376-from-12-15-2024-to-01-14-2025-10306.html
[2025-01-15 04:30:11] Production.INFO: Invoice generation PDF path
[2025-01-15 04:30:11] Production.INFO: PDF fullPath 1/136/Invoices/2025/01/15/Invoice-dominos-10483-ronny-khan-inv11376-from-12-15-2024-to-01-14-2025-10306.pdf
[2025-01-15 04:30:11] Production.INFO: Generate Usage File Start
[2025-01-15 04:30:11] Production.INFO: Usage File fullPath 1/136/InvoiceUsageFile/2025/01/15/dominos-10483-ronny-khan-15-12-2024-00-00-00-TO-14-01-2025-23-59-59_3062__519f7c90-d323-11ef-8ec8-0515750ffad8.csv
[2025-01-15 04:30:13] Production.INFO: Sending Email to Staff over
[2025-01-15 04:30:13] Production.INFO: Email Status 1
[2025-01-15 04:30:13] Production.INFO: Sending Email to Customer
[2025-01-15 04:30:14] Production.INFO: Email Try 10306 1
[2025-01-15 04:30:14] Production.INFO: =========== Email Sending over ===========
[2025-01-15 04:30:14] Production.INFO: =========== Returning as Success =========== AccountID 136
[2025-01-15 04:30:14] Production.INFO: Invoice::sendInvoice done
[2025-01-15 04:30:14] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-15 04:30:14] Production.INFO: Invoice Committed AccountID = 136
[2025-01-15 04:30:14] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-15 04:30:14] Production.INFO: NextInvoice 2025-01-15 2025-02-14
[2025-01-15 04:30:14] Production.INFO: new dates
[2025-01-15 04:30:14] Production.INFO: LastInvoiceDate 2025-01-15 NextInvoiceDate 2025-02-15
[2025-01-15 04:30:14] Production.INFO: LastChargeDate 2025-01-15 NextChargeDate 2025-02-14
[2025-01-15 04:30:14] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-15 04:30:14] Production.INFO: ========================== Invoice Send End =============================
[2025-01-15 04:30:14] Production.INFO: AccountID =146 FirstInvoiceSend 0
[2025-01-15 04:30:14] Production.INFO: LastInvoiceDate 2024-12-15 NextInvoiceDate 2025-01-15
[2025-01-15 04:30:14] Production.INFO: LastChargeDate 2024-12-15 NextChargeDate 2025-01-14
[2025-01-15 04:30:14] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-15 04:30:14] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-15 04:30:14] Production.INFO: Invoice::sendInvoice(1,146,2024-12-15,2025-01-15,billing@onswitchit.ca)
[2025-01-15 04:30:14] Production.INFO: start Date =2024-12-15 EndDate =2025-01-14 23:59:59
[2025-01-15 04:30:14] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-15 04:30: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-01-15 04:30:14] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-15 04:30:14] Production.INFO: AlreadyBilled
[2025-01-15 04:30:14] Production.INFO: Reseller ==> 0
[2025-01-15 04:30:14] Production.INFO: original start date ==>2024-12-15 changed start date ==>2024-12-15 00:00:00 original end date ==>2025-01-14 23:59:59 changed end date ==>2025-01-14 23:59:59
[2025-01-15 04:30:14] Production.INFO: Invoice::getAccountUsageTotal(1,146,2024-12-15,2025-01-14 23:59:59)
[2025-01-15 04:30:14] Production.INFO: TotalCharges - 0
[2025-01-15 04:30:14] Production.INFO: TotalUsageCharges - 0.00
[2025-01-15 04:30:14] Production.INFO: Usage Over
[2025-01-15 04:30:14] Production.INFO: Call prc_getAccountSubscription(146,0)
[2025-01-15 04:30:14] Production.INFO: SUBSCRIPTION 3
[2025-01-15 04:30:14] Production.INFO: ============================Subscription Start =================
[2025-01-15 04:30:14] Production.INFO: SubscriptionID - 1
[2025-01-15 04:30:14] Production.INFO: isAdvanceSubscription - 1
[2025-01-15 04:30:14] Production.INFO: SubscriptionStartDate =2025-01-15 - SubscriptionEndDate = 2025-02-14
[2025-01-15 04:30:14] Production.INFO: NewNextChargeDate =2025-02-14 00:00:00
[2025-01-15 04:30:14] Production.INFO: EndDate =2025-01-14 00:00:00
[2025-01-15 04:30:14] Production.INFO: NewEndDate1 =2025-01-15
[2025-01-15 04:30:14] Production.INFO: SubscriptionDate
[2025-01-15 04:30:14] Production.INFO: Array
(
[StartDate] => 2025-01-15
[EndDate] => 2025-02-14 00:00:00
[AlreadyCharged] => 0
)
[2025-01-15 04:30:14] Production.INFO: AccountSubscription StartDate 2021-02-03 StartDate 2024-12-15
[2025-01-15 04:30:14] Production.INFO: SubscriptionID - 2025-01-15=====2025-02-14 00:00:00
[2025-01-15 04:30:14] Production.INFO: AccountSubscriptionID - 574 === 2021-02-03=====2026-01-15
[2025-01-15 04:30:14] Production.INFO: regular Advance Subscription
[2025-01-15 04:30:14] Production.INFO: First Time False 2021-02-03 2025-01-15
[2025-01-15 04:30:14] Production.INFO: StartDate 2025-01-15 AccountSubscription->StartDate 2021-02-03 EndDate 2025-02-14 00:00:00 AccountSubscription->EndDate 2026-01-15
[2025-01-15 04:30:14] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-15 04:30:14] Production.INFO: AccountSubscription::getSubscriptionAmount(574,2025-01-15,2025-02-14 00:00:00,,0)
[2025-01-15 04:30:14] Production.INFO: SubscriptionCharge - 2
[2025-01-15 04:30:14] Production.INFO: Already Invoice Subscription 0
[2025-01-15 04:30:14] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(146,1,1,2025-01-15,2025-02-14 00:00:00,License for a Pay As You Go Cloud Phone extension,12,2,6,574)
[2025-01-15 04:30:14] Production.INFO: DiscountAmount 0.000000
[2025-01-15 04:30:14] Production.INFO: DiscountType
[2025-01-15 04:30:14] Production.INFO: SubscriptionCharge 12
[2025-01-15 04:30:14] Production.INFO: New SubscriptionCharge 12
[2025-01-15 04:30:14] Production.INFO: TotalSubscriptionCharge - 12.00
[2025-01-15 04:30:14] Production.INFO: ============================Subscription End =================
[2025-01-15 04:30:14] Production.INFO: ============================Subscription Start =================
[2025-01-15 04:30:14] Production.INFO: SubscriptionID - 8
[2025-01-15 04:30:14] Production.INFO: isAdvanceSubscription - 8
[2025-01-15 04:30:14] Production.INFO: SubscriptionStartDate =2025-01-15 - SubscriptionEndDate = 2025-02-14
[2025-01-15 04:30:14] Production.INFO: NewNextChargeDate =2025-02-14 00:00:00
[2025-01-15 04:30:14] Production.INFO: EndDate =2025-01-14 00:00:00
[2025-01-15 04:30:14] Production.INFO: NewEndDate1 =2025-01-15
[2025-01-15 04:30:14] Production.INFO: SubscriptionDate
[2025-01-15 04:30:14] Production.INFO: Array
(
[StartDate] => 2025-01-15
[EndDate] => 2025-02-14 00:00:00
[AlreadyCharged] => 0
)
[2025-01-15 04:30:14] Production.INFO: AccountSubscription StartDate 2021-02-03 StartDate 2024-12-15
[2025-01-15 04:30:14] Production.INFO: SubscriptionID - 2025-01-15=====2025-02-14 00:00:00
[2025-01-15 04:30:14] Production.INFO: AccountSubscriptionID - 575 === 2021-02-03=====2026-01-15
[2025-01-15 04:30:14] Production.INFO: regular Advance Subscription
[2025-01-15 04:30:14] Production.INFO: First Time False 2021-02-03 2025-01-15
[2025-01-15 04:30:14] Production.INFO: StartDate 2025-01-15 AccountSubscription->StartDate 2021-02-03 EndDate 2025-02-14 00:00:00 AccountSubscription->EndDate 2026-01-15
[2025-01-15 04:30:14] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-15 04:30:14] Production.INFO: AccountSubscription::getSubscriptionAmount(575,2025-01-15,2025-02-14 00:00:00,,0)
[2025-01-15 04:30:14] Production.INFO: SubscriptionCharge - 3
[2025-01-15 04:30:14] Production.INFO: Already Invoice Subscription 0
[2025-01-15 04:30:14] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(146,1,8,2025-01-15,2025-02-14 00:00:00,Additional DID (1-83-DESTAWED),3,3,1,575)
[2025-01-15 04:30:14] Production.INFO: DiscountAmount 0.000000
[2025-01-15 04:30:14] Production.INFO: DiscountType
[2025-01-15 04:30:14] Production.INFO: SubscriptionCharge 3
[2025-01-15 04:30:14] Production.INFO: New SubscriptionCharge 3
[2025-01-15 04:30:14] Production.INFO: TotalSubscriptionCharge - 3.00
[2025-01-15 04:30:14] Production.INFO: ============================Subscription End =================
[2025-01-15 04:30:14] Production.INFO: ============================Subscription Start =================
[2025-01-15 04:30:14] Production.INFO: SubscriptionID - 8
[2025-01-15 04:30:14] Production.INFO: isAdvanceSubscription - 8
[2025-01-15 04:30:14] Production.INFO: SubscriptionStartDate =2025-01-15 - SubscriptionEndDate = 2025-02-14
[2025-01-15 04:30:14] Production.INFO: NewNextChargeDate =2025-02-14 00:00:00
[2025-01-15 04:30:14] Production.INFO: EndDate =2025-01-14 00:00:00
[2025-01-15 04:30:14] Production.INFO: NewEndDate1 =2025-01-15
[2025-01-15 04:30:14] Production.INFO: SubscriptionDate
[2025-01-15 04:30:14] Production.INFO: Array
(
[StartDate] => 2025-01-15
[EndDate] => 2025-02-14 00:00:00
[AlreadyCharged] => 0
)
[2025-01-15 04:30:14] Production.INFO: AccountSubscription StartDate 2021-02-17 StartDate 2024-12-15
[2025-01-15 04:30:14] Production.INFO: SubscriptionID - 2025-01-15=====2025-02-14 00:00:00
[2025-01-15 04:30:14] Production.INFO: AccountSubscriptionID - 581 === 2021-02-17=====2026-01-15
[2025-01-15 04:30:14] Production.INFO: regular Advance Subscription
[2025-01-15 04:30:14] Production.INFO: First Time False 2021-02-17 2025-01-15
[2025-01-15 04:30:14] Production.INFO: StartDate 2025-01-15 AccountSubscription->StartDate 2021-02-17 EndDate 2025-02-14 00:00:00 AccountSubscription->EndDate 2026-01-15
[2025-01-15 04:30:14] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-15 04:30:14] Production.INFO: AccountSubscription::getSubscriptionAmount(581,2025-01-15,2025-02-14 00:00:00,,0)
[2025-01-15 04:30:14] Production.INFO: SubscriptionCharge - 3
[2025-01-15 04:30:14] Production.INFO: Already Invoice Subscription 0
[2025-01-15 04:30:14] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(146,1,8,2025-01-15,2025-02-14 00:00:00,Additional DID (1-833-457-SUIT),3,3,1,581)
[2025-01-15 04:30:14] Production.INFO: DiscountAmount 0.000000
[2025-01-15 04:30:14] Production.INFO: DiscountType
[2025-01-15 04:30:14] Production.INFO: SubscriptionCharge 3
[2025-01-15 04:30:14] Production.INFO: New SubscriptionCharge 3
[2025-01-15 04:30:14] Production.INFO: TotalSubscriptionCharge - 3.00
[2025-01-15 04:30:14] Production.INFO: ============================Subscription End =================
[2025-01-15 04:30:14] Production.INFO: SUBSCRIPTION Over
[2025-01-15 04:30:14] Production.INFO: Call prc_getAccountOneOffCharge(146,0,2024-12-15,2025-01-15 23:59:59)
[2025-01-15 04:30:14] Production.INFO: AccountOneOffCharge 0
[2025-01-15 04:30:14] Production.INFO: AccountOneOffCharge Over
[2025-01-15 04:30:14] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-15 04:30:14] Production.INFO: New UsageDates 2024-12-15 - 2025-01-14 23:59:59
[2025-01-15 04:30:14] Production.INFO: SubTotal 18
[2025-01-15 04:30:14] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-15 04:30:14] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-15 04:30:14] Production.INFO: TotalTax 2.34
[2025-01-15 04:30:14] Production.INFO: InvoiceGrandTotal 20.34
[2025-01-15 04:30:14] Production.INFO: InvoiceTaxAmount 2.34
[2025-01-15 04:30:14] Production.INFO: GrandTotal 20.34
[2025-01-15 04:30:14] Production.INFO: SubTotal 18.00
[2025-01-15 04:30:14] Production.INFO: TotalDue 0.00
[2025-01-15 04:30:14] Production.INFO: Reseller ==> 0
[2025-01-15 04:30:14] Production.INFO: original start date ==>2024-12-15 changed start date ==>2024-12-15 00:00:00 original end date ==>2025-01-14 23:59:59 changed end date ==>2025-01-14 23:59:59
[2025-01-15 04:30:14] Production.INFO: CALL prc_getInvoiceUsage(1,'146','0','1','2024-12-15 00:00:00','2025-01-14 23:59:59',0)
[2025-01-15 04:30:14] Production.INFO: PDF Generation start
[2025-01-15 04:30:14] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/146/Invoices/2025/01/15/Invoice-destawed-inv11377-from-12-15-2024-to-01-14-2025-10307.pdf
[2025-01-15 04:30:14] Production.INFO: On Linux
[2025-01-15 04:30:16] 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/146/Invoices/2025/01/15/footer-destawed-inv11377-from-12-15-2024-to-01-14-2025-10307.html" "/var/www/tmp/1/146/Invoices/2025/01/15/Invoice-destawed-inv11377-from-12-15-2024-to-01-14-2025-10307.html" "/var/www/tmp/1/146/Invoices/2025/01/15/Invoice-destawed-inv11377-from-12-15-2024-to-01-14-2025-10307.pdf"
[2025-01-15 04:30:16] Production.INFO:
[2025-01-15 04:30:16] Production.INFO: /var/www/tmp/1/146/Invoices/2025/01/15/Invoice-destawed-inv11377-from-12-15-2024-to-01-14-2025-10307.html
[2025-01-15 04:30:16] Production.INFO: /var/www/tmp/1/146/Invoices/2025/01/15/header-destawed-inv11377-from-12-15-2024-to-01-14-2025-10307.html
[2025-01-15 04:30:16] Production.INFO: /var/www/tmp/1/146/Invoices/2025/01/15/footer-destawed-inv11377-from-12-15-2024-to-01-14-2025-10307.html
[2025-01-15 04:30:16] Production.INFO: Invoice generation PDF path
[2025-01-15 04:30:16] Production.INFO: PDF fullPath 1/146/Invoices/2025/01/15/Invoice-destawed-inv11377-from-12-15-2024-to-01-14-2025-10307.pdf
[2025-01-15 04:30:16] Production.INFO: Generate Usage File Start
[2025-01-15 04:30:16] Production.INFO: Usage File fullPath 1/146/InvoiceUsageFile/2025/01/15/destawed-15-12-2024-00-00-00-TO-14-01-2025-23-59-59_4686__544df390-d323-11ef-9d60-e1ebd358cda1.csv
[2025-01-15 04:30:17] Production.INFO: Sending Email to Staff over
[2025-01-15 04:30:17] Production.INFO: Email Status 1
[2025-01-15 04:30:17] Production.INFO: Sending Email to Customer
[2025-01-15 04:30:18] Production.INFO: Email Try 10307 1
[2025-01-15 04:30:18] Production.INFO: =========== Email Sending over ===========
[2025-01-15 04:30:18] Production.INFO: =========== Returning as Success =========== AccountID 146
[2025-01-15 04:30:18] Production.INFO: Invoice::sendInvoice done
[2025-01-15 04:30:18] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-15 04:30:18] Production.INFO: Invoice Committed AccountID = 146
[2025-01-15 04:30:18] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-15 04:30:18] Production.INFO: NextInvoice 2025-01-15 2025-02-14
[2025-01-15 04:30:18] Production.INFO: new dates
[2025-01-15 04:30:18] Production.INFO: LastInvoiceDate 2025-01-15 NextInvoiceDate 2025-02-15
[2025-01-15 04:30:18] Production.INFO: LastChargeDate 2025-01-15 NextChargeDate 2025-02-14
[2025-01-15 04:30:18] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-15 04:30:18] Production.INFO: ========================== Invoice Send End =============================
[2025-01-15 04:30:18] Production.INFO: AccountID =184 FirstInvoiceSend 0
[2025-01-15 04:30:18] Production.INFO: LastInvoiceDate 2024-12-15 NextInvoiceDate 2025-01-15
[2025-01-15 04:30:18] Production.INFO: LastChargeDate 2024-12-15 NextChargeDate 2025-01-14
[2025-01-15 04:30:18] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-15 04:30:18] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-15 04:30:18] Production.INFO: Invoice::sendInvoice(1,184,2024-12-15,2025-01-15,billing@onswitchit.ca)
[2025-01-15 04:30:18] Production.INFO: start Date =2024-12-15 EndDate =2025-01-14 23:59:59
[2025-01-15 04:30:18] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-15 04:30: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-01-15 04:30:18] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-15 04:30:18] Production.INFO: AlreadyBilled
[2025-01-15 04:30:18] Production.INFO: Reseller ==> 0
[2025-01-15 04:30:18] Production.INFO: Invoice::getAccountUsageTotal(1,184,2024-12-15,2025-01-14 23:59:59)
[2025-01-15 04:30:18] Production.INFO: TotalCharges - 0
[2025-01-15 04:30:18] Production.INFO: TotalUsageCharges - 0.00
[2025-01-15 04:30:18] Production.INFO: Usage Over
[2025-01-15 04:30:18] Production.INFO: Call prc_getAccountSubscription(184,0)
[2025-01-15 04:30:18] Production.INFO: SUBSCRIPTION 1
[2025-01-15 04:30:18] Production.INFO: ============================Subscription Start =================
[2025-01-15 04:30:18] Production.INFO: SubscriptionID - 23
[2025-01-15 04:30:18] Production.INFO: isAdvanceSubscription - 23
[2025-01-15 04:30:18] Production.INFO: SubscriptionStartDate =2025-01-15 - SubscriptionEndDate = 2025-02-14
[2025-01-15 04:30:18] Production.INFO: NewNextChargeDate =2025-02-14 00:00:00
[2025-01-15 04:30:18] Production.INFO: EndDate =2025-01-14 00:00:00
[2025-01-15 04:30:18] Production.INFO: NewEndDate1 =2025-01-15
[2025-01-15 04:30:18] Production.INFO: SubscriptionDate
[2025-01-15 04:30:18] Production.INFO: Array
(
[StartDate] => 2025-01-15
[EndDate] => 2025-02-14 00:00:00
[AlreadyCharged] => 0
)
[2025-01-15 04:30:18] Production.INFO: AccountSubscription StartDate 2022-04-13 StartDate 2024-12-15
[2025-01-15 04:30:18] Production.INFO: SubscriptionID - 2025-01-15=====2025-02-14 00:00:00
[2025-01-15 04:30:18] Production.INFO: AccountSubscriptionID - 654 === 2022-04-13=====2026-01-15
[2025-01-15 04:30:18] Production.INFO: regular Advance Subscription
[2025-01-15 04:30:18] Production.INFO: First Time False 2022-04-13 2025-01-15
[2025-01-15 04:30:18] Production.INFO: StartDate 2025-01-15 AccountSubscription->StartDate 2022-04-13 EndDate 2025-02-14 00:00:00 AccountSubscription->EndDate 2026-01-15
[2025-01-15 04:30:18] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-15 04:30:18] Production.INFO: AccountSubscription::getSubscriptionAmount(654,2025-01-15,2025-02-14 00:00:00,,0)
[2025-01-15 04:30:18] Production.INFO: SubscriptionCharge - 76.86
[2025-01-15 04:30:18] Production.INFO: Already Invoice Subscription 0
[2025-01-15 04:30:18] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(184,5,23,2025-01-15,2025-02-14 00:00:00,LTE Primary Internet (30 Donalds Ave, Toronto, ON M4J3N6) - 10GB/month,76.86,76.86,1,654)
[2025-01-15 04:30:18] Production.INFO: DiscountAmount 0.000000
[2025-01-15 04:30:18] Production.INFO: DiscountType Flat
[2025-01-15 04:30:18] Production.INFO: SubscriptionCharge 76.86
[2025-01-15 04:30:18] Production.INFO: New SubscriptionCharge 76.86
[2025-01-15 04:30:18] Production.INFO: TotalSubscriptionCharge - 76.86
[2025-01-15 04:30:18] Production.INFO: ============================Subscription End =================
[2025-01-15 04:30:18] Production.INFO: SUBSCRIPTION Over
[2025-01-15 04:30:18] Production.INFO: Call prc_getAccountOneOffCharge(184,0,2024-12-15,2025-01-15 23:59:59)
[2025-01-15 04:30:18] Production.INFO: AccountOneOffCharge 0
[2025-01-15 04:30:18] Production.INFO: AccountOneOffCharge Over
[2025-01-15 04:30:18] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-15 04:30:18] Production.INFO: New UsageDates 2024-12-15 - 2025-01-14 23:59:59
[2025-01-15 04:30:18] Production.INFO: SubTotal 76.86
[2025-01-15 04:30:18] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-15 04:30:18] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-15 04:30:18] Production.INFO: TotalTax 9.9918
[2025-01-15 04:30:18] Production.INFO: InvoiceGrandTotal 86.8518
[2025-01-15 04:30:18] Production.INFO: InvoiceTaxAmount 9.99
[2025-01-15 04:30:18] Production.INFO: GrandTotal 86.85
[2025-01-15 04:30:18] Production.INFO: SubTotal 76.86
[2025-01-15 04:30:18] Production.INFO: TotalDue 86.85
[2025-01-15 04:30:18] Production.INFO: Reseller ==> 0
[2025-01-15 04:30:18] Production.INFO: PDF Generation start
[2025-01-15 04:30:18] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/184/Invoices/2025/01/15/Invoice-ttc-donlands-strathmore-subway-construction-site-cancom-think-secure-inv11378-from-12-15-2024-to-01-14-2025-10308.pdf
[2025-01-15 04:30:18] Production.INFO: On Linux
[2025-01-15 04:30:19] 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/184/Invoices/2025/01/15/footer-ttc-donlands-strathmore-subway-construction-site-cancom-think-secure-inv11378-from-12-15-2024-to-01-14-2025-10308.html" "/var/www/tmp/1/184/Invoices/2025/01/15/Invoice-ttc-donlands-strathmore-subway-construction-site-cancom-think-secure-inv11378-from-12-15-2024-to-01-14-2025-10308.html" "/var/www/tmp/1/184/Invoices/2025/01/15/Invoice-ttc-donlands-strathmore-subway-construction-site-cancom-think-secure-inv11378-from-12-15-2024-to-01-14-2025-10308.pdf"
[2025-01-15 04:30:19] Production.INFO:
[2025-01-15 04:30:19] Production.INFO: /var/www/tmp/1/184/Invoices/2025/01/15/Invoice-ttc-donlands-strathmore-subway-construction-site-cancom-think-secure-inv11378-from-12-15-2024-to-01-14-2025-10308.html
[2025-01-15 04:30:19] Production.INFO: /var/www/tmp/1/184/Invoices/2025/01/15/header-ttc-donlands-strathmore-subway-construction-site-cancom-think-secure-inv11378-from-12-15-2024-to-01-14-2025-10308.html
[2025-01-15 04:30:19] Production.INFO: /var/www/tmp/1/184/Invoices/2025/01/15/footer-ttc-donlands-strathmore-subway-construction-site-cancom-think-secure-inv11378-from-12-15-2024-to-01-14-2025-10308.html
[2025-01-15 04:30:19] Production.INFO: Invoice generation PDF path
[2025-01-15 04:30:19] Production.INFO: PDF fullPath 1/184/Invoices/2025/01/15/Invoice-ttc-donlands-strathmore-subway-construction-site-cancom-think-secure-inv11378-from-12-15-2024-to-01-14-2025-10308.pdf
[2025-01-15 04:30:19] Production.INFO: Generate Usage File Start
[2025-01-15 04:30:19] Production.INFO: Usage File fullPath 1/184/InvoiceUsageFile/2025/01/15/ttc-donlands-strathmore-subway-construction-site-cancom-think-secure-15-12-2024-00-00-00-TO-14-01-2025-23-59-59_9550__56208ac0-d323-11ef-8030-634104128a66.csv
[2025-01-15 04:30:20] Production.INFO: Sending Email to Staff over
[2025-01-15 04:30:20] Production.INFO: Email Status 1
[2025-01-15 04:30:20] Production.INFO: Sending Email to Customer
[2025-01-15 04:30:20] Production.INFO: Email Try 10308 1
[2025-01-15 04:30:20] Production.INFO: =========== Email Sending over ===========
[2025-01-15 04:30:20] Production.INFO: =========== Returning as Success =========== AccountID 184
[2025-01-15 04:30:20] Production.INFO: Invoice::sendInvoice done
[2025-01-15 04:30:20] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-15 04:30:20] Production.INFO: Invoice Committed AccountID = 184
[2025-01-15 04:30:20] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-15 04:30:20] Production.INFO: NextInvoice 2025-01-15 2025-02-14
[2025-01-15 04:30:20] Production.INFO: new dates
[2025-01-15 04:30:20] Production.INFO: LastInvoiceDate 2025-01-15 NextInvoiceDate 2025-02-15
[2025-01-15 04:30:20] Production.INFO: LastChargeDate 2025-01-15 NextChargeDate 2025-02-14
[2025-01-15 04:30:20] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-15 04:30:20] Production.INFO: ========================== Invoice Send End =============================
[2025-01-15 04:30:20] Production.INFO: AccountID =185 FirstInvoiceSend 0
[2025-01-15 04:30:20] Production.INFO: LastInvoiceDate 2024-12-15 NextInvoiceDate 2025-01-15
[2025-01-15 04:30:20] Production.INFO: LastChargeDate 2024-12-15 NextChargeDate 2025-01-14
[2025-01-15 04:30:20] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-15 04:30:20] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-15 04:30:20] Production.INFO: Invoice::sendInvoice(1,185,2024-12-15,2025-01-15,billing@onswitchit.ca)
[2025-01-15 04:30:20] Production.INFO: start Date =2024-12-15 EndDate =2025-01-14 23:59:59
[2025-01-15 04:30:20] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-15 04:30:20] 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-01-15 04:30:20] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-15 04:30:20] Production.INFO: AlreadyBilled
[2025-01-15 04:30:20] Production.INFO: Reseller ==> 0
[2025-01-15 04:30:20] Production.INFO: Invoice::getAccountUsageTotal(1,185,2024-12-15,2025-01-14 23:59:59)
[2025-01-15 04:30:20] Production.INFO: TotalCharges - 0
[2025-01-15 04:30:20] Production.INFO: TotalUsageCharges - 0.00
[2025-01-15 04:30:20] Production.INFO: Usage Over
[2025-01-15 04:30:20] Production.INFO: Call prc_getAccountSubscription(185,0)
[2025-01-15 04:30:20] Production.INFO: SUBSCRIPTION 1
[2025-01-15 04:30:20] Production.INFO: ============================Subscription Start =================
[2025-01-15 04:30:20] Production.INFO: SubscriptionID - 23
[2025-01-15 04:30:20] Production.INFO: isAdvanceSubscription - 23
[2025-01-15 04:30:20] Production.INFO: SubscriptionStartDate =2025-01-15 - SubscriptionEndDate = 2025-02-14
[2025-01-15 04:30:20] Production.INFO: NewNextChargeDate =2025-02-14 00:00:00
[2025-01-15 04:30:20] Production.INFO: EndDate =2025-01-14 00:00:00
[2025-01-15 04:30:20] Production.INFO: NewEndDate1 =2025-01-15
[2025-01-15 04:30:20] Production.INFO: SubscriptionDate
[2025-01-15 04:30:20] Production.INFO: Array
(
[StartDate] => 2025-01-15
[EndDate] => 2025-02-14 00:00:00
[AlreadyCharged] => 0
)
[2025-01-15 04:30:20] Production.INFO: AccountSubscription StartDate 2022-04-13 StartDate 2024-12-15
[2025-01-15 04:30:20] Production.INFO: SubscriptionID - 2025-01-15=====2025-02-14 00:00:00
[2025-01-15 04:30:20] Production.INFO: AccountSubscriptionID - 655 === 2022-04-13=====2026-01-15
[2025-01-15 04:30:20] Production.INFO: regular Advance Subscription
[2025-01-15 04:30:20] Production.INFO: First Time False 2022-04-13 2025-01-15
[2025-01-15 04:30:20] Production.INFO: StartDate 2025-01-15 AccountSubscription->StartDate 2022-04-13 EndDate 2025-02-14 00:00:00 AccountSubscription->EndDate 2026-01-15
[2025-01-15 04:30:20] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-15 04:30:20] Production.INFO: AccountSubscription::getSubscriptionAmount(655,2025-01-15,2025-02-14 00:00:00,,0)
[2025-01-15 04:30:20] Production.INFO: SubscriptionCharge - 76.86
[2025-01-15 04:30:20] Production.INFO: Already Invoice Subscription 0
[2025-01-15 04:30:20] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(185,5,23,2025-01-15,2025-02-14 00:00:00,LTE Primary Internet (3 Carlton St., Toronto, ON M5B 1L2) - 10GB/month,76.86,76.86,1,655)
[2025-01-15 04:30:20] Production.INFO: DiscountAmount 0.000000
[2025-01-15 04:30:20] Production.INFO: DiscountType Flat
[2025-01-15 04:30:20] Production.INFO: SubscriptionCharge 76.86
[2025-01-15 04:30:20] Production.INFO: New SubscriptionCharge 76.86
[2025-01-15 04:30:20] Production.INFO: TotalSubscriptionCharge - 76.86
[2025-01-15 04:30:20] Production.INFO: ============================Subscription End =================
[2025-01-15 04:30:20] Production.INFO: SUBSCRIPTION Over
[2025-01-15 04:30:20] Production.INFO: Call prc_getAccountOneOffCharge(185,0,2024-12-15,2025-01-15 23:59:59)
[2025-01-15 04:30:20] Production.INFO: AccountOneOffCharge 0
[2025-01-15 04:30:20] Production.INFO: AccountOneOffCharge Over
[2025-01-15 04:30:20] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-15 04:30:20] Production.INFO: New UsageDates 2024-12-15 - 2025-01-14 23:59:59
[2025-01-15 04:30:20] Production.INFO: SubTotal 76.86
[2025-01-15 04:30:20] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-15 04:30:20] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-15 04:30:20] Production.INFO: TotalTax 9.9918
[2025-01-15 04:30:20] Production.INFO: InvoiceGrandTotal 86.8518
[2025-01-15 04:30:20] Production.INFO: InvoiceTaxAmount 9.99
[2025-01-15 04:30:20] Production.INFO: GrandTotal 86.85
[2025-01-15 04:30:20] Production.INFO: SubTotal 76.86
[2025-01-15 04:30:20] Production.INFO: TotalDue 86.85
[2025-01-15 04:30:20] Production.INFO: Reseller ==> 0
[2025-01-15 04:30:21] Production.INFO: PDF Generation start
[2025-01-15 04:30:21] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/185/Invoices/2025/01/15/Invoice-ttc-college-subway-construction-site-cancom-think-secure-inv11379-from-12-15-2024-to-01-14-2025-10309.pdf
[2025-01-15 04:30:21] Production.INFO: On Linux
[2025-01-15 04:30:22] 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/185/Invoices/2025/01/15/footer-ttc-college-subway-construction-site-cancom-think-secure-inv11379-from-12-15-2024-to-01-14-2025-10309.html" "/var/www/tmp/1/185/Invoices/2025/01/15/Invoice-ttc-college-subway-construction-site-cancom-think-secure-inv11379-from-12-15-2024-to-01-14-2025-10309.html" "/var/www/tmp/1/185/Invoices/2025/01/15/Invoice-ttc-college-subway-construction-site-cancom-think-secure-inv11379-from-12-15-2024-to-01-14-2025-10309.pdf"
[2025-01-15 04:30:22] Production.INFO:
[2025-01-15 04:30:22] Production.INFO: /var/www/tmp/1/185/Invoices/2025/01/15/Invoice-ttc-college-subway-construction-site-cancom-think-secure-inv11379-from-12-15-2024-to-01-14-2025-10309.html
[2025-01-15 04:30:22] Production.INFO: /var/www/tmp/1/185/Invoices/2025/01/15/header-ttc-college-subway-construction-site-cancom-think-secure-inv11379-from-12-15-2024-to-01-14-2025-10309.html
[2025-01-15 04:30:22] Production.INFO: /var/www/tmp/1/185/Invoices/2025/01/15/footer-ttc-college-subway-construction-site-cancom-think-secure-inv11379-from-12-15-2024-to-01-14-2025-10309.html
[2025-01-15 04:30:22] Production.INFO: Invoice generation PDF path
[2025-01-15 04:30:22] Production.INFO: PDF fullPath 1/185/Invoices/2025/01/15/Invoice-ttc-college-subway-construction-site-cancom-think-secure-inv11379-from-12-15-2024-to-01-14-2025-10309.pdf
[2025-01-15 04:30:22] Production.INFO: Generate Usage File Start
[2025-01-15 04:30:22] Production.INFO: Usage File fullPath 1/185/InvoiceUsageFile/2025/01/15/ttc-college-subway-construction-site-cancom-think-secure-15-12-2024-00-00-00-TO-14-01-2025-23-59-59_6440__57c1b9c0-d323-11ef-8c54-7be9ad3a997b.csv
[2025-01-15 04:30:23] Production.INFO: Sending Email to Staff over
[2025-01-15 04:30:23] Production.INFO: Email Status 1
[2025-01-15 04:30:23] Production.INFO: Sending Email to Customer
[2025-01-15 04:30:23] Production.INFO: Email Try 10309 1
[2025-01-15 04:30:23] Production.INFO: =========== Email Sending over ===========
[2025-01-15 04:30:23] Production.INFO: =========== Returning as Success =========== AccountID 185
[2025-01-15 04:30:23] Production.INFO: Invoice::sendInvoice done
[2025-01-15 04:30:23] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-15 04:30:23] Production.INFO: Invoice Committed AccountID = 185
[2025-01-15 04:30:23] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-15 04:30:23] Production.INFO: NextInvoice 2025-01-15 2025-02-14
[2025-01-15 04:30:23] Production.INFO: new dates
[2025-01-15 04:30:23] Production.INFO: LastInvoiceDate 2025-01-15 NextInvoiceDate 2025-02-15
[2025-01-15 04:30:23] Production.INFO: LastChargeDate 2025-01-15 NextChargeDate 2025-02-14
[2025-01-15 04:30:23] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-15 04:30:23] Production.INFO: ========================== Invoice Send End =============================
[2025-01-15 04:30:23] Production.INFO: AccountID =187 FirstInvoiceSend 0
[2025-01-15 04:30:23] Production.INFO: LastInvoiceDate 2024-12-15 NextInvoiceDate 2025-01-15
[2025-01-15 04:30:23] Production.INFO: LastChargeDate 2024-12-15 NextChargeDate 2025-01-14
[2025-01-15 04:30:23] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-15 04:30:23] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-15 04:30:23] Production.INFO: Invoice::sendInvoice(1,187,2024-12-15,2025-01-15,billing@onswitchit.ca)
[2025-01-15 04:30:23] Production.INFO: start Date =2024-12-15 EndDate =2025-01-14 23:59:59
[2025-01-15 04:30:23] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-15 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.
[2025-01-15 04:30:23] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-15 04:30:23] Production.INFO: AlreadyBilled
[2025-01-15 04:30:23] Production.INFO: Reseller ==> 0
[2025-01-15 04:30:23] Production.INFO: Invoice::getAccountUsageTotal(1,187,2024-12-15,2025-01-14 23:59:59)
[2025-01-15 04:30:23] Production.INFO: TotalCharges - 0
[2025-01-15 04:30:23] Production.INFO: TotalUsageCharges - 0.00
[2025-01-15 04:30:23] Production.INFO: Usage Over
[2025-01-15 04:30:23] Production.INFO: Call prc_getAccountSubscription(187,0)
[2025-01-15 04:30:23] Production.INFO: SUBSCRIPTION 1
[2025-01-15 04:30:23] Production.INFO: ============================Subscription Start =================
[2025-01-15 04:30:23] Production.INFO: SubscriptionID - 6
[2025-01-15 04:30:23] Production.INFO: isAdvanceSubscription - 6
[2025-01-15 04:30:23] Production.INFO: SubscriptionStartDate =2025-01-15 - SubscriptionEndDate = 2025-02-14
[2025-01-15 04:30:23] Production.INFO: NewNextChargeDate =2025-02-14 00:00:00
[2025-01-15 04:30:23] Production.INFO: EndDate =2025-01-14 00:00:00
[2025-01-15 04:30:23] Production.INFO: NewEndDate1 =2025-01-15
[2025-01-15 04:30:23] Production.INFO: SubscriptionDate
[2025-01-15 04:30:23] Production.INFO: Array
(
[StartDate] => 2025-01-15
[EndDate] => 2025-02-14 00:00:00
[AlreadyCharged] => 0
)
[2025-01-15 04:30:23] Production.INFO: AccountSubscription StartDate 2022-12-15 StartDate 2024-12-15
[2025-01-15 04:30:23] Production.INFO: SubscriptionID - 2025-01-15=====2025-02-14 00:00:00
[2025-01-15 04:30:23] Production.INFO: AccountSubscriptionID - 675 === 2022-12-15=====2026-01-15
[2025-01-15 04:30:23] Production.INFO: regular Advance Subscription
[2025-01-15 04:30:23] Production.INFO: First Time False 2022-12-15 2025-01-15
[2025-01-15 04:30:23] Production.INFO: StartDate 2025-01-15 AccountSubscription->StartDate 2022-12-15 EndDate 2025-02-14 00:00:00 AccountSubscription->EndDate 2026-01-15
[2025-01-15 04:30:23] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-15 04:30:23] Production.INFO: AccountSubscription::getSubscriptionAmount(675,2025-01-15,2025-02-14 00:00:00,,0)
[2025-01-15 04:30:23] Production.INFO: SubscriptionCharge - 4.5
[2025-01-15 04:30:23] Production.INFO: Already Invoice Subscription 0
[2025-01-15 04:30:23] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(187,4,6,2025-01-15,2025-02-14 00:00:00,Microsoft Office 365 Business - Security Add-on - IronScales Core,40.5,4.5,9,675)
[2025-01-15 04:30:23] Production.INFO: DiscountAmount 0.000000
[2025-01-15 04:30:23] Production.INFO: DiscountType Flat
[2025-01-15 04:30:23] Production.INFO: SubscriptionCharge 40.5
[2025-01-15 04:30:23] Production.INFO: New SubscriptionCharge 40.5
[2025-01-15 04:30:23] Production.INFO: TotalSubscriptionCharge - 40.50
[2025-01-15 04:30:23] Production.INFO: ============================Subscription End =================
[2025-01-15 04:30:23] Production.INFO: SUBSCRIPTION Over
[2025-01-15 04:30:23] Production.INFO: Call prc_getAccountOneOffCharge(187,0,2024-12-15,2025-01-15 23:59:59)
[2025-01-15 04:30:23] Production.INFO: AccountOneOffCharge 0
[2025-01-15 04:30:23] Production.INFO: AccountOneOffCharge Over
[2025-01-15 04:30:23] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-15 04:30:23] Production.INFO: New UsageDates 2024-12-15 - 2025-01-14 23:59:59
[2025-01-15 04:30:23] Production.INFO: SubTotal 40.5
[2025-01-15 04:30:23] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-15 04:30:23] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-15 04:30:23] Production.INFO: TotalTax 0
[2025-01-15 04:30:23] Production.INFO: InvoiceGrandTotal 40.5
[2025-01-15 04:30:23] Production.INFO: InvoiceTaxAmount 0
[2025-01-15 04:30:23] Production.INFO: GrandTotal 40.5
[2025-01-15 04:30:23] Production.INFO: SubTotal 40.50
[2025-01-15 04:30:23] Production.INFO: TotalDue 40.50
[2025-01-15 04:30:23] Production.INFO: Reseller ==> 0
[2025-01-15 04:30:23] Production.INFO: PDF Generation start
[2025-01-15 04:30:24] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/187/Invoices/2025/01/15/Invoice-graybill-hazlewood-trial-lawyers-inv11380-from-12-15-2024-to-01-14-2025-10310.pdf
[2025-01-15 04:30:24] Production.INFO: On Linux
[2025-01-15 04:30:25] 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/187/Invoices/2025/01/15/footer-graybill-hazlewood-trial-lawyers-inv11380-from-12-15-2024-to-01-14-2025-10310.html" "/var/www/tmp/1/187/Invoices/2025/01/15/Invoice-graybill-hazlewood-trial-lawyers-inv11380-from-12-15-2024-to-01-14-2025-10310.html" "/var/www/tmp/1/187/Invoices/2025/01/15/Invoice-graybill-hazlewood-trial-lawyers-inv11380-from-12-15-2024-to-01-14-2025-10310.pdf"
[2025-01-15 04:30:25] Production.INFO:
[2025-01-15 04:30:25] Production.INFO: /var/www/tmp/1/187/Invoices/2025/01/15/Invoice-graybill-hazlewood-trial-lawyers-inv11380-from-12-15-2024-to-01-14-2025-10310.html
[2025-01-15 04:30:25] Production.INFO: /var/www/tmp/1/187/Invoices/2025/01/15/header-graybill-hazlewood-trial-lawyers-inv11380-from-12-15-2024-to-01-14-2025-10310.html
[2025-01-15 04:30:25] Production.INFO: /var/www/tmp/1/187/Invoices/2025/01/15/footer-graybill-hazlewood-trial-lawyers-inv11380-from-12-15-2024-to-01-14-2025-10310.html
[2025-01-15 04:30:25] Production.INFO: Invoice generation PDF path
[2025-01-15 04:30:25] Production.INFO: PDF fullPath 1/187/Invoices/2025/01/15/Invoice-graybill-hazlewood-trial-lawyers-inv11380-from-12-15-2024-to-01-14-2025-10310.pdf
[2025-01-15 04:30:25] Production.INFO: Generate Usage File Start
[2025-01-15 04:30:25] Production.INFO: Usage File fullPath 1/187/InvoiceUsageFile/2025/01/15/graybill-hazlewood-trial-lawyers-15-12-2024-00-00-00-TO-14-01-2025-23-59-59_7130__59898f40-d323-11ef-83c5-1df96569a42e.csv
[2025-01-15 04:30:26] Production.INFO: Sending Email to Staff over
[2025-01-15 04:30:26] Production.INFO: Email Status 1
[2025-01-15 04:30:26] Production.INFO: Sending Email to Customer
[2025-01-15 04:30:26] Production.INFO: Email Try 10310 1
[2025-01-15 04:30:26] Production.INFO: =========== Email Sending over ===========
[2025-01-15 04:30:26] Production.INFO: =========== Returning as Success =========== AccountID 187
[2025-01-15 04:30:26] Production.INFO: Invoice::sendInvoice done
[2025-01-15 04:30:26] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-15 04:30:26] Production.INFO: Invoice Committed AccountID = 187
[2025-01-15 04:30:26] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-15 04:30:26] Production.INFO: NextInvoice 2025-01-15 2025-02-14
[2025-01-15 04:30:26] Production.INFO: new dates
[2025-01-15 04:30:26] Production.INFO: LastInvoiceDate 2025-01-15 NextInvoiceDate 2025-02-15
[2025-01-15 04:30:26] Production.INFO: LastChargeDate 2025-01-15 NextChargeDate 2025-02-14
[2025-01-15 04:30:26] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-15 04:30:26] Production.INFO: ========================== Invoice Send End =============================
[2025-01-15 04:30:26] Production.INFO: AccountID =230 FirstInvoiceSend 0
[2025-01-15 04:30:26] Production.INFO: LastInvoiceDate 2024-12-15 NextInvoiceDate 2025-01-15
[2025-01-15 04:30:26] Production.INFO: LastChargeDate 2024-12-15 NextChargeDate 2025-01-14
[2025-01-15 04:30:26] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-15 04:30:26] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-15 04:30:26] Production.INFO: Invoice::sendInvoice(1,230,2024-12-15,2025-01-15,billing@onswitchit.ca)
[2025-01-15 04:30:26] Production.INFO: start Date =2024-12-15 EndDate =2025-01-14 23:59:59
[2025-01-15 04:30:26] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-15 04:30:26] 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-01-15 04:30:26] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-15 04:30:26] Production.INFO: AlreadyBilled
[2025-01-15 04:30:26] Production.INFO: Reseller ==> 0
[2025-01-15 04:30:26] Production.INFO: original start date ==>2024-12-15 changed start date ==>2024-12-15 00:00:00 original end date ==>2025-01-14 23:59:59 changed end date ==>2025-01-14 23:59:59
[2025-01-15 04:30:26] Production.INFO: Invoice::getAccountUsageTotal(1,230,2024-12-15,2025-01-14 23:59:59)
[2025-01-15 04:30:26] Production.INFO: TotalCharges - 0
[2025-01-15 04:30:26] Production.INFO: TotalUsageCharges - 0.00
[2025-01-15 04:30:26] Production.INFO: Usage Over
[2025-01-15 04:30:26] Production.INFO: Call prc_getAccountSubscription(230,0)
[2025-01-15 04:30:26] Production.INFO: SUBSCRIPTION 1
[2025-01-15 04:30:26] Production.INFO: ============================Subscription Start =================
[2025-01-15 04:30:26] Production.INFO: SubscriptionID - 47
[2025-01-15 04:30:26] Production.INFO: isAdvanceSubscription - 47
[2025-01-15 04:30:26] Production.INFO: SubscriptionStartDate =2025-01-15 - SubscriptionEndDate = 2025-02-14
[2025-01-15 04:30:26] Production.INFO: NewNextChargeDate =2025-02-14 00:00:00
[2025-01-15 04:30:26] Production.INFO: EndDate =2025-01-14 00:00:00
[2025-01-15 04:30:26] Production.INFO: NewEndDate1 =2025-01-15
[2025-01-15 04:30:26] Production.INFO: SubscriptionDate
[2025-01-15 04:30:26] Production.INFO: Array
(
[StartDate] => 2025-01-15
[EndDate] => 2025-02-14
[AlreadyCharged] => 0
)
[2025-01-15 04:30:26] Production.INFO: AccountSubscription StartDate 2024-12-15 StartDate 2024-12-15
[2025-01-15 04:30:26] Production.INFO: First Time + Advance Billing - Yes
[2025-01-15 04:30:26] Production.INFO: StartDate 2024-12-15 - EndDate 2025-01-14
[2025-01-15 04:30:26] Production.INFO: ACStartDate 2024-12-15 - ACEndDate 2026-01-15
[2025-01-15 04:30:26] Production.INFO: regular Subscription if advance
[2025-01-15 04:30:26] Production.INFO: First Time True 2024-12-15 2024-12-15
[2025-01-15 04:30:26] Production.INFO: StartDate 2024-12-15 AccountSubscription->StartDate 2024-12-15 EndDate 2025-01-14 AccountSubscription->EndDate 2026-01-15
[2025-01-15 04:30:27] Production.INFO: days diff - 31 subscription days 31 quarter days 92
[2025-01-15 04:30:27] Production.INFO: AccountSubscription::getSubscriptionAmount(1212,2024-12-15,2025-01-14,1,0)
[2025-01-15 04:30:27] Production.INFO: SubscriptionCharge - 10
[2025-01-15 04:30:27] Production.INFO: Already Invoice Subscription 1
[2025-01-15 04:30:27] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(230,1,47,2024-12-15,2025-01-14,Phone channel for capacity-based billing,70,10,7,1212)
[2025-01-15 04:30:27] Production.INFO: DiscountAmount 0.000000
[2025-01-15 04:30:27] Production.INFO: DiscountType Flat
[2025-01-15 04:30:27] Production.INFO: SubscriptionCharge 70
[2025-01-15 04:30:27] Production.INFO: New SubscriptionCharge 70
[2025-01-15 04:30:27] Production.INFO: TotalSubscriptionCharge - 70.00
[2025-01-15 04:30:27] Production.INFO: SubscriptionID - 2025-01-15=====2025-02-14
[2025-01-15 04:30:27] Production.INFO: AccountSubscriptionID - 1212 === 2024-12-15=====2026-01-15
[2025-01-15 04:30:27] Production.INFO: regular Advance Subscription
[2025-01-15 04:30:27] Production.INFO: First Time False 2024-12-15 2025-01-15
[2025-01-15 04:30:27] Production.INFO: StartDate 2025-01-15 AccountSubscription->StartDate 2024-12-15 EndDate 2025-02-14 AccountSubscription->EndDate 2026-01-15
[2025-01-15 04:30:27] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-15 04:30:27] Production.INFO: AccountSubscription::getSubscriptionAmount(1212,2025-01-15,2025-02-14,,0)
[2025-01-15 04:30:27] Production.INFO: SubscriptionCharge - 10
[2025-01-15 04:30:27] Production.INFO: Already Invoice Subscription 0
[2025-01-15 04:30:27] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(230,1,47,2025-01-15,2025-02-14,Phone channel for capacity-based billing,70,10,7,1212)
[2025-01-15 04:30:27] Production.INFO: DiscountAmount 0.000000
[2025-01-15 04:30:27] Production.INFO: DiscountType Flat
[2025-01-15 04:30:27] Production.INFO: SubscriptionCharge 70
[2025-01-15 04:30:27] Production.INFO: New SubscriptionCharge 70
[2025-01-15 04:30:27] Production.INFO: TotalSubscriptionCharge - 70.00
[2025-01-15 04:30:27] Production.INFO: ============================Subscription End =================
[2025-01-15 04:30:27] Production.INFO: SUBSCRIPTION Over
[2025-01-15 04:30:27] Production.INFO: Call prc_getAccountOneOffCharge(230,0,2024-12-15,2025-01-15 23:59:59)
[2025-01-15 04:30:27] Production.INFO: AccountOneOffCharge 0
[2025-01-15 04:30:27] Production.INFO: AccountOneOffCharge Over
[2025-01-15 04:30:27] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-15 04:30:27] Production.INFO: New UsageDates 2024-12-15 - 2025-01-14 23:59:59
[2025-01-15 04:30:27] Production.INFO: SubTotal 70
[2025-01-15 04:30:27] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-15 04:30:27] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-15 04:30:27] Production.INFO: TotalTax 9.1
[2025-01-15 04:30:27] Production.INFO: InvoiceGrandTotal 79.1
[2025-01-15 04:30:27] Production.INFO: InvoiceTaxAmount 9.1
[2025-01-15 04:30:27] Production.INFO: GrandTotal 79.1
[2025-01-15 04:30:27] Production.INFO: SubTotal 70.00
[2025-01-15 04:30:27] Production.INFO: TotalDue 79.10
[2025-01-15 04:30:27] Production.INFO: Reseller ==> 0
[2025-01-15 04:30:27] Production.INFO: original start date ==>2024-12-15 changed start date ==>2024-12-15 00:00:00 original end date ==>2025-01-14 23:59:59 changed end date ==>2025-01-14 23:59:59
[2025-01-15 04:30:27] Production.INFO: CALL prc_getInvoiceUsage(1,'230','0','1','2024-12-15 00:00:00','2025-01-14 23:59:59',0)
[2025-01-15 04:30:27] Production.INFO: PDF Generation start
[2025-01-15 04:30:27] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/230/Invoices/2025/01/15/Invoice-harbourfront-medicine-cabinet-inv11381-from-12-15-2024-to-01-14-2025-10311.pdf
[2025-01-15 04:30:27] Production.INFO: On Linux
[2025-01-15 04:30:28] 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/230/Invoices/2025/01/15/footer-harbourfront-medicine-cabinet-inv11381-from-12-15-2024-to-01-14-2025-10311.html" "/var/www/tmp/1/230/Invoices/2025/01/15/Invoice-harbourfront-medicine-cabinet-inv11381-from-12-15-2024-to-01-14-2025-10311.html" "/var/www/tmp/1/230/Invoices/2025/01/15/Invoice-harbourfront-medicine-cabinet-inv11381-from-12-15-2024-to-01-14-2025-10311.pdf"
[2025-01-15 04:30:28] Production.INFO:
[2025-01-15 04:30:28] Production.INFO: /var/www/tmp/1/230/Invoices/2025/01/15/Invoice-harbourfront-medicine-cabinet-inv11381-from-12-15-2024-to-01-14-2025-10311.html
[2025-01-15 04:30:28] Production.INFO: /var/www/tmp/1/230/Invoices/2025/01/15/header-harbourfront-medicine-cabinet-inv11381-from-12-15-2024-to-01-14-2025-10311.html
[2025-01-15 04:30:28] Production.INFO: /var/www/tmp/1/230/Invoices/2025/01/15/footer-harbourfront-medicine-cabinet-inv11381-from-12-15-2024-to-01-14-2025-10311.html
[2025-01-15 04:30:28] Production.INFO: Invoice generation PDF path
[2025-01-15 04:30:28] Production.INFO: PDF fullPath 1/230/Invoices/2025/01/15/Invoice-harbourfront-medicine-cabinet-inv11381-from-12-15-2024-to-01-14-2025-10311.pdf
[2025-01-15 04:30:28] Production.INFO: Generate Usage File Start
[2025-01-15 04:30:28] Production.INFO: Usage File fullPath 1/230/InvoiceUsageFile/2025/01/15/harbourfront-medicine-cabinet-15-12-2024-00-00-00-TO-14-01-2025-23-59-59_5414__5b651b30-d323-11ef-be2a-9d99590bc71a.csv
[2025-01-15 04:30:29] Production.INFO: Sending Email to Staff over
[2025-01-15 04:30:29] Production.INFO: Email Status 1
[2025-01-15 04:30:29] Production.INFO: Sending Email to Customer
[2025-01-15 04:30:29] Production.INFO: Email Try 10311 1
[2025-01-15 04:30:29] Production.INFO: =========== Email Sending over ===========
[2025-01-15 04:30:29] Production.INFO: =========== Returning as Success =========== AccountID 230
[2025-01-15 04:30:29] Production.INFO: Invoice::sendInvoice done
[2025-01-15 04:30:29] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-15 04:30:29] Production.INFO: Invoice Committed AccountID = 230
[2025-01-15 04:30:29] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-15 04:30:29] Production.INFO: NextInvoice 2025-01-15 2025-02-14
[2025-01-15 04:30:29] Production.INFO: new dates
[2025-01-15 04:30:29] Production.INFO: LastInvoiceDate 2025-01-15 NextInvoiceDate 2025-02-15
[2025-01-15 04:30:29] Production.INFO: LastChargeDate 2025-01-15 NextChargeDate 2025-02-14
[2025-01-15 04:30:29] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-15 04:30:29] Production.INFO: ========================== Invoice Send End =============================
[2025-01-15 04:30:29] Production.INFO: ========================== Recurring invoice Start =============================
[2025-01-15 04:30:29] Production.INFO: recurring invoices ID
[2025-01-15 04:30:29] Production.INFO:
[2025-01-15 04:30:29] Production.INFO: recurring errorsArray
(
)
[2025-01-15 04:30:29] Production.INFO: ========================== Recurring invoice End =============================
[2025-01-15 04:30:29] Production.INFO: ========================== Job Updated =============================
[2025-01-15 04:30:30] Production.INFO: ========================== Job Email Sent =============================
[2025-01-15 04:30:31] Production.ERROR: **Email Sent Status 1
[2025-01-15 04:30:31] Production.ERROR: **Email Sent message Email has been sent
[2025-01-15 04:30:31] Production.ERROR: CronJobId end6
[2025-01-15 04:30:31] Production.INFO: ==7895== Releasing lock...
[2025-01-15 04:30:31] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops#
[2025-01-15 04:30:31] Production.INFO: 38.75 MB #Memory Used#