[2025-03-05 04:31:04] Production.INFO: Call prc_getBillingAccounts(1,2025-03-05,'','0')
[2025-03-05 04:31:04] Production.INFO: Array
(
[0] => stdClass Object
(
[AccountID] => 30
[NextInvoiceDate] => 2025-03-05
[AccountName] => Compass ELC - Lindsay
[ServiceID] => 0
)
[1] => stdClass Object
(
[AccountID] => 182
[NextInvoiceDate] => 2025-03-05
[AccountName] => Dominos 39049 (Sandeep Chaudhari)
[ServiceID] => 0
)
[2] => stdClass Object
(
[AccountID] => 188
[NextInvoiceDate] => 2025-03-05
[AccountName] => All Care Insurance Brokers Ltd.
[ServiceID] => 0
)
[3] => stdClass Object
(
[AccountID] => 195
[NextInvoiceDate] => 2025-03-05
[AccountName] => TSFV Management Corp (Two Small Fish)
[ServiceID] => 0
)
[4] => stdClass Object
(
[AccountID] => 218
[NextInvoiceDate] => 2025-03-05
[AccountName] => Dominos 10164 (Jordan Hodgson)
[ServiceID] => 0
)
)
[2025-03-05 04:31:04] Production.INFO: AccountID =30 FirstInvoiceSend 0
[2025-03-05 04:31:04] Production.INFO: LastInvoiceDate 2025-02-05 NextInvoiceDate 2025-03-05
[2025-03-05 04:31:04] Production.INFO: LastChargeDate 2025-02-05 NextChargeDate 2025-03-04
[2025-03-05 04:31:04] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-03-05 04:31:04] Production.INFO: ========================== Invoice Send Start =============================
[2025-03-05 04:31:04] Production.INFO: Invoice::sendInvoice(1,30,2025-02-05,2025-03-05,billing@onswitchit.ca)
[2025-03-05 04:31:04] Production.INFO: start Date =2025-02-05 EndDate =2025-03-04 23:59:59
[2025-03-05 04:31:04] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-03-05 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-05 04:31:04] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-03-05 04:31:04] Production.INFO: AlreadyBilled
[2025-03-05 04:31:04] Production.INFO: Reseller ==> 0
[2025-03-05 04:31:04] Production.INFO: original start date ==>2025-02-05 changed start date ==>2025-02-05 00:00:00 original end date ==>2025-03-04 23:59:59 changed end date ==>2025-03-04 23:59:59
[2025-03-05 04:31:04] Production.INFO: CompanyGatewayID 1 TotalCharges ==>1.03000000
[2025-03-05 04:31:04] Production.INFO: Invoice::getAccountUsageTotal(1,30,2025-02-05,2025-03-04 23:59:59)
[2025-03-05 04:31:04] Production.INFO: TotalCharges - 1.03
[2025-03-05 04:31:04] Production.INFO: TotalUsageCharges - 1.03
[2025-03-05 04:31:04] Production.INFO: Usage Over
[2025-03-05 04:31:04] Production.INFO: Call prc_getAccountSubscription(30,0)
[2025-03-05 04:31:04] Production.INFO: SUBSCRIPTION 3
[2025-03-05 04:31:04] Production.INFO: ============================Subscription Start =================
[2025-03-05 04:31:04] Production.INFO: SubscriptionID - 1
[2025-03-05 04:31:04] Production.INFO: isAdvanceSubscription - 1
[2025-03-05 04:31:04] Production.INFO: SubscriptionStartDate =2025-03-05 - SubscriptionEndDate = 2025-04-04
[2025-03-05 04:31:04] Production.INFO: NewNextChargeDate =2025-04-04 00:00:00
[2025-03-05 04:31:04] Production.INFO: EndDate =2023-06-04 00:00:00
[2025-03-05 04:31:04] Production.INFO: NewEndDate1 =2023-06-05
[2025-03-05 04:31:04] Production.INFO: SubscriptionDate
[2025-03-05 04:31:04] Production.INFO: Array
(
[StartDate] => 2023-06-05
[EndDate] => 2025-04-04 00:00:00
[AlreadyCharged] => 0
)
[2025-03-05 04:31:04] Production.INFO: AccountSubscription StartDate 2017-06-04 StartDate 2025-02-05
[2025-03-05 04:31:04] Production.INFO: SubscriptionID - 2023-06-05=====2025-04-04 00:00:00
[2025-03-05 04:31:04] Production.INFO: AccountSubscriptionID - 49 === 2017-06-04=====2023-06-04
[2025-03-05 04:31:04] Production.INFO: ============================Subscription End =================
[2025-03-05 04:31:04] Production.INFO: ============================Subscription Start =================
[2025-03-05 04:31:04] Production.INFO: SubscriptionID - 2
[2025-03-05 04:31:04] Production.INFO: isAdvanceSubscription - 2
[2025-03-05 04:31:04] Production.INFO: SubscriptionStartDate =2025-03-05 - SubscriptionEndDate = 2025-04-04
[2025-03-05 04:31:04] Production.INFO: NewNextChargeDate =2025-04-04 00:00:00
[2025-03-05 04:31:04] Production.INFO: EndDate =2025-03-04 00:00:00
[2025-03-05 04:31:04] Production.INFO: NewEndDate1 =2025-03-05
[2025-03-05 04:31:04] Production.INFO: SubscriptionDate
[2025-03-05 04:31:04] Production.INFO: Array
(
[StartDate] => 2025-03-05
[EndDate] => 2025-04-04 00:00:00
[AlreadyCharged] => 0
)
[2025-03-05 04:31:04] Production.INFO: AccountSubscription StartDate 2023-06-05 StartDate 2025-02-05
[2025-03-05 04:31:04] Production.INFO: SubscriptionID - 2025-03-05=====2025-04-04 00:00:00
[2025-03-05 04:31:04] Production.INFO: AccountSubscriptionID - 690 === 2023-06-05=====2026-03-05
[2025-03-05 04:31:04] Production.INFO: regular Advance Subscription
[2025-03-05 04:31:04] Production.INFO: First Time False 2023-06-05 2025-03-05
[2025-03-05 04:31:04] Production.INFO: StartDate 2025-03-05 AccountSubscription->StartDate 2023-06-05 EndDate 2025-04-04 00:00:00 AccountSubscription->EndDate 2026-03-05
[2025-03-05 04:31:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-05 04:31:04] Production.INFO: AccountSubscription::getSubscriptionAmount(690,2025-03-05,2025-04-04 00:00:00,,0)
[2025-03-05 04:31:04] Production.INFO: SubscriptionCharge - 12
[2025-03-05 04:31:04] Production.INFO: Already Invoice Subscription 0
[2025-03-05 04:31:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(30,1,2,2025-03-05,2025-04-04 00:00:00,Capacity Based Billing - 1 Channel, Burstable to 2,12,12,1,690)
[2025-03-05 04:31:04] Production.INFO: DiscountAmount 0.000000
[2025-03-05 04:31:04] Production.INFO: DiscountType Flat
[2025-03-05 04:31:04] Production.INFO: SubscriptionCharge 12
[2025-03-05 04:31:04] Production.INFO: New SubscriptionCharge 12
[2025-03-05 04:31:04] Production.INFO: TotalSubscriptionCharge - 12.00
[2025-03-05 04:31:04] Production.INFO: ============================Subscription End =================
[2025-03-05 04:31:04] Production.INFO: ============================Subscription Start =================
[2025-03-05 04:31:04] Production.INFO: SubscriptionID - 4
[2025-03-05 04:31:04] Production.INFO: isAdvanceSubscription - 4
[2025-03-05 04:31:04] Production.INFO: SubscriptionStartDate =2025-03-05 - SubscriptionEndDate = 2025-04-04
[2025-03-05 04:31:04] Production.INFO: NewNextChargeDate =2025-04-04 00:00:00
[2025-03-05 04:31:05] Production.INFO: EndDate =2025-03-04 00:00:00
[2025-03-05 04:31:05] Production.INFO: NewEndDate1 =2025-03-05
[2025-03-05 04:31:05] Production.INFO: SubscriptionDate
[2025-03-05 04:31:05] Production.INFO: Array
(
[StartDate] => 2025-03-05
[EndDate] => 2025-04-04 00:00:00
[AlreadyCharged] => 0
)
[2025-03-05 04:31:05] Production.INFO: AccountSubscription StartDate 2017-06-04 StartDate 2025-02-05
[2025-03-05 04:31:05] Production.INFO: SubscriptionID - 2025-03-05=====2025-04-04 00:00:00
[2025-03-05 04:31:05] Production.INFO: AccountSubscriptionID - 50 === 2017-06-04=====2026-03-05
[2025-03-05 04:31:05] Production.INFO: regular Advance Subscription
[2025-03-05 04:31:05] Production.INFO: First Time False 2017-06-04 2025-03-05
[2025-03-05 04:31:05] Production.INFO: StartDate 2025-03-05 AccountSubscription->StartDate 2017-06-04 EndDate 2025-04-04 00:00:00 AccountSubscription->EndDate 2026-03-05
[2025-03-05 04:31:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-05 04:31:05] Production.INFO: AccountSubscription::getSubscriptionAmount(50,2025-03-05,2025-04-04 00:00:00,,0)
[2025-03-05 04:31:05] Production.INFO: SubscriptionCharge - 2.5
[2025-03-05 04:31:05] Production.INFO: Already Invoice Subscription 0
[2025-03-05 04:31:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(30,1,4,2025-03-05,2025-04-04 00:00:00,e911 address registration (17057019601 - 320 MARY ST W LINDSAY, ON K9V5X5),2.5,2.5,1,50)
[2025-03-05 04:31:05] Production.INFO: DiscountAmount 0.000000
[2025-03-05 04:31:05] Production.INFO: DiscountType
[2025-03-05 04:31:05] Production.INFO: SubscriptionCharge 2.5
[2025-03-05 04:31:05] Production.INFO: New SubscriptionCharge 2.5
[2025-03-05 04:31:05] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-03-05 04:31:05] Production.INFO: ============================Subscription End =================
[2025-03-05 04:31:05] Production.INFO: SUBSCRIPTION Over
[2025-03-05 04:31:05] Production.INFO: Call prc_getAccountOneOffCharge(30,0,2025-02-05,2025-03-05 23:59:59)
[2025-03-05 04:31:05] Production.INFO: AccountOneOffCharge 0
[2025-03-05 04:31:05] Production.INFO: AccountOneOffCharge Over
[2025-03-05 04:31:05] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-03-05 04:31:05] Production.INFO: New UsageDates 2025-02-05 - 2025-03-04 23:59:59
[2025-03-05 04:31:05] Production.INFO: SubTotal 15.53
[2025-03-05 04:31:05] Production.INFO: SubTotalWithouttaxTotal 0
[2025-03-05 04:31:05] Production.INFO: AccountOneOffCharge Tax Over
[2025-03-05 04:31:05] Production.INFO: TotalTax 2.0189
[2025-03-05 04:31:05] Production.INFO: InvoiceGrandTotal 17.5489
[2025-03-05 04:31:05] Production.INFO: InvoiceTaxAmount 2.02
[2025-03-05 04:31:05] Production.INFO: GrandTotal 17.55
[2025-03-05 04:31:05] Production.INFO: SubTotal 15.53
[2025-03-05 04:31:05] Production.INFO: TotalDue 35.86
[2025-03-05 04:31:05] Production.INFO: Reseller ==> 0
[2025-03-05 04:31:05] Production.INFO: original start date ==>2025-02-05 changed start date ==>2025-02-05 00:00:00 original end date ==>2025-03-04 23:59:59 changed end date ==>2025-03-04 23:59:59
[2025-03-05 04:31:05] Production.INFO: CALL prc_getInvoiceUsage(1,'30','0','1','2025-02-05 00:00:00','2025-03-04 23:59:59',0)
[2025-03-05 04:31:05] Production.INFO: PDF Generation start
[2025-03-05 04:31:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/30/Invoices/2025/03/05/Invoice-compass-elc-lindsay-inv11641-from-02-05-2025-to-03-04-2025-10580.pdf
[2025-03-05 04:31:05] Production.INFO: On Linux
[2025-03-05 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/30/Invoices/2025/03/05/footer-compass-elc-lindsay-inv11641-from-02-05-2025-to-03-04-2025-10580.html" "/var/www/tmp/1/30/Invoices/2025/03/05/Invoice-compass-elc-lindsay-inv11641-from-02-05-2025-to-03-04-2025-10580.html" "/var/www/tmp/1/30/Invoices/2025/03/05/Invoice-compass-elc-lindsay-inv11641-from-02-05-2025-to-03-04-2025-10580.pdf"
[2025-03-05 04:31:07] Production.INFO:
[2025-03-05 04:31:07] Production.INFO: /var/www/tmp/1/30/Invoices/2025/03/05/Invoice-compass-elc-lindsay-inv11641-from-02-05-2025-to-03-04-2025-10580.html
[2025-03-05 04:31:07] Production.INFO: /var/www/tmp/1/30/Invoices/2025/03/05/header-compass-elc-lindsay-inv11641-from-02-05-2025-to-03-04-2025-10580.html
[2025-03-05 04:31:07] Production.INFO: /var/www/tmp/1/30/Invoices/2025/03/05/footer-compass-elc-lindsay-inv11641-from-02-05-2025-to-03-04-2025-10580.html
[2025-03-05 04:31:07] Production.INFO: Invoice generation PDF path
[2025-03-05 04:31:07] Production.INFO: PDF fullPath 1/30/Invoices/2025/03/05/Invoice-compass-elc-lindsay-inv11641-from-02-05-2025-to-03-04-2025-10580.pdf
[2025-03-05 04:31:07] Production.INFO: Generate Usage File Start
[2025-03-05 04:31:07] Production.INFO: Usage File fullPath 1/30/InvoiceUsageFile/2025/03/05/compass-elc-lindsay-05-02-2025-00-00-00-TO-04-03-2025-23-59-59_9577__90faa180-f9a4-11ef-913a-8927e9593f90.csv
[2025-03-05 04:31:11] Production.INFO: Sending Email to Staff over
[2025-03-05 04:31:11] Production.INFO: Email Status 1
[2025-03-05 04:31:11] Production.INFO: Sending Email to Customer
[2025-03-05 04:31:12] Production.INFO: Email Try 10580 1
[2025-03-05 04:31:12] Production.INFO: =========== Email Sending over ===========
[2025-03-05 04:31:12] Production.INFO: =========== Returning as Success =========== AccountID 30
[2025-03-05 04:31:12] Production.INFO: Invoice::sendInvoice done
[2025-03-05 04:31:12] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-03-05 04:31:12] Production.INFO: Invoice Committed AccountID = 30
[2025-03-05 04:31:12] Production.INFO: =========== Updating InvoiceDate ===========
[2025-03-05 04:31:12] Production.INFO: NextInvoice 2025-03-05 2025-04-04
[2025-03-05 04:31:12] Production.INFO: new dates
[2025-03-05 04:31:12] Production.INFO: LastInvoiceDate 2025-03-05 NextInvoiceDate 2025-04-05
[2025-03-05 04:31:12] Production.INFO: LastChargeDate 2025-03-05 NextChargeDate 2025-04-04
[2025-03-05 04:31:12] Production.INFO: =========== Updated InvoiceDate ===========
[2025-03-05 04:31:12] Production.INFO: ========================== Invoice Send End =============================
[2025-03-05 04:31:12] Production.INFO: AccountID =182 FirstInvoiceSend 0
[2025-03-05 04:31:12] Production.INFO: LastInvoiceDate 2025-02-05 NextInvoiceDate 2025-03-05
[2025-03-05 04:31:12] Production.INFO: LastChargeDate 2025-02-05 NextChargeDate 2025-03-04
[2025-03-05 04:31:12] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-03-05 04:31:12] Production.INFO: ========================== Invoice Send Start =============================
[2025-03-05 04:31:12] Production.INFO: Invoice::sendInvoice(1,182,2025-02-05,2025-03-05,billing@onswitchit.ca)
[2025-03-05 04:31:12] Production.INFO: start Date =2025-02-05 EndDate =2025-03-04 23:59:59
[2025-03-05 04:31:12] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-03-05 04:31:12] 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-05 04:31:12] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-03-05 04:31:12] Production.INFO: AlreadyBilled
[2025-03-05 04:31:12] Production.INFO: Reseller ==> 0
[2025-03-05 04:31:12] Production.INFO: original start date ==>2025-02-05 changed start date ==>2025-02-05 00:00:00 original end date ==>2025-03-04 23:59:59 changed end date ==>2025-03-04 23:59:59
[2025-03-05 04:31:12] Production.INFO: Invoice::getAccountUsageTotal(1,182,2025-02-05,2025-03-04 23:59:59)
[2025-03-05 04:31:12] Production.INFO: TotalCharges - 0
[2025-03-05 04:31:12] Production.INFO: TotalUsageCharges - 0.00
[2025-03-05 04:31:12] Production.INFO: Usage Over
[2025-03-05 04:31:12] Production.INFO: Call prc_getAccountSubscription(182,0)
[2025-03-05 04:31:12] Production.INFO: SUBSCRIPTION 2
[2025-03-05 04:31:12] Production.INFO: ============================Subscription Start =================
[2025-03-05 04:31:12] Production.INFO: SubscriptionID - 5
[2025-03-05 04:31:12] Production.INFO: isAdvanceSubscription - 5
[2025-03-05 04:31:12] Production.INFO: SubscriptionStartDate =2025-03-05 - SubscriptionEndDate = 2025-04-04
[2025-03-05 04:31:12] Production.INFO: NewNextChargeDate =2025-04-04 00:00:00
[2025-03-05 04:31:13] Production.INFO: EndDate =2025-03-04 00:00:00
[2025-03-05 04:31:13] Production.INFO: NewEndDate1 =2025-03-05
[2025-03-05 04:31:13] Production.INFO: SubscriptionDate
[2025-03-05 04:31:13] Production.INFO: Array
(
[StartDate] => 2025-03-05
[EndDate] => 2025-04-04 00:00:00
[AlreadyCharged] => 0
)
[2025-03-05 04:31:13] Production.INFO: AccountSubscription StartDate 2022-09-02 StartDate 2025-02-05
[2025-03-05 04:31:13] Production.INFO: SubscriptionID - 2025-03-05=====2025-04-04 00:00:00
[2025-03-05 04:31:13] Production.INFO: AccountSubscriptionID - 723 === 2022-09-02=====2026-03-05
[2025-03-05 04:31:13] Production.INFO: regular Advance Subscription
[2025-03-05 04:31:13] Production.INFO: First Time False 2022-09-02 2025-03-05
[2025-03-05 04:31:13] Production.INFO: StartDate 2025-03-05 AccountSubscription->StartDate 2022-09-02 EndDate 2025-04-04 00:00:00 AccountSubscription->EndDate 2026-03-05
[2025-03-05 04:31:13] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-05 04:31:13] Production.INFO: AccountSubscription::getSubscriptionAmount(723,2025-03-05,2025-04-04 00:00:00,,0)
[2025-03-05 04:31:13] Production.INFO: SubscriptionCharge - 75
[2025-03-05 04:31:13] Production.INFO: Already Invoice Subscription 0
[2025-03-05 04:31:13] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(182,1,5,2025-03-05,2025-04-04 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,723)
[2025-03-05 04:31:13] Production.INFO: DiscountAmount 0.000000
[2025-03-05 04:31:13] Production.INFO: DiscountType Flat
[2025-03-05 04:31:13] Production.INFO: SubscriptionCharge 75
[2025-03-05 04:31:13] Production.INFO: New SubscriptionCharge 75
[2025-03-05 04:31:13] Production.INFO: TotalSubscriptionCharge - 75.00
[2025-03-05 04:31:13] Production.INFO: ============================Subscription End =================
[2025-03-05 04:31:13] Production.INFO: ============================Subscription Start =================
[2025-03-05 04:31:13] Production.INFO: SubscriptionID - 28
[2025-03-05 04:31:13] Production.INFO: isAdvanceSubscription - 28
[2025-03-05 04:31:13] Production.INFO: SubscriptionStartDate =2025-03-05 - SubscriptionEndDate = 2025-04-04
[2025-03-05 04:31:13] Production.INFO: NewNextChargeDate =2025-04-04 00:00:00
[2025-03-05 04:31:13] Production.INFO: EndDate =2025-03-04 00:00:00
[2025-03-05 04:31:13] Production.INFO: NewEndDate1 =2025-03-05
[2025-03-05 04:31:13] Production.INFO: SubscriptionDate
[2025-03-05 04:31:13] Production.INFO: Array
(
[StartDate] => 2025-03-05
[EndDate] => 2025-04-04 00:00:00
[AlreadyCharged] => 0
)
[2025-03-05 04:31:13] Production.INFO: AccountSubscription StartDate 2022-09-06 StartDate 2025-02-05
[2025-03-05 04:31:13] Production.INFO: SubscriptionID - 2025-03-05=====2025-04-04 00:00:00
[2025-03-05 04:31:13] Production.INFO: AccountSubscriptionID - 724 === 2022-09-06=====2026-03-05
[2025-03-05 04:31:13] Production.INFO: regular Advance Subscription
[2025-03-05 04:31:13] Production.INFO: First Time False 2022-09-06 2025-03-05
[2025-03-05 04:31:13] Production.INFO: StartDate 2025-03-05 AccountSubscription->StartDate 2022-09-06 EndDate 2025-04-04 00:00:00 AccountSubscription->EndDate 2026-03-05
[2025-03-05 04:31:13] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-05 04:31:13] Production.INFO: AccountSubscription::getSubscriptionAmount(724,2025-03-05,2025-04-04 00:00:00,,0)
[2025-03-05 04:31:13] Production.INFO: SubscriptionCharge - -25
[2025-03-05 04:31:13] Production.INFO: Already Invoice Subscription 0
[2025-03-05 04:31:13] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(182,1,28,2025-03-05,2025-04-04 00:00:00,Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service,-25,-25,1,724)
[2025-03-05 04:31:13] Production.INFO: DiscountAmount 0.000000
[2025-03-05 04:31:13] Production.INFO: DiscountType Flat
[2025-03-05 04:31:13] Production.INFO: SubscriptionCharge -25
[2025-03-05 04:31:13] Production.INFO: New SubscriptionCharge -25
[2025-03-05 04:31:13] Production.INFO: TotalSubscriptionCharge - -25.00
[2025-03-05 04:31:13] Production.INFO: ============================Subscription End =================
[2025-03-05 04:31:13] Production.INFO: SUBSCRIPTION Over
[2025-03-05 04:31:13] Production.INFO: Call prc_getAccountOneOffCharge(182,0,2025-02-05,2025-03-05 23:59:59)
[2025-03-05 04:31:13] Production.INFO: AccountOneOffCharge 0
[2025-03-05 04:31:13] Production.INFO: AccountOneOffCharge Over
[2025-03-05 04:31:13] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-03-05 04:31:13] Production.INFO: New UsageDates 2025-02-05 - 2025-03-04 23:59:59
[2025-03-05 04:31:13] Production.INFO: SubTotal 50
[2025-03-05 04:31:13] Production.INFO: SubTotalWithouttaxTotal 0
[2025-03-05 04:31:13] Production.INFO: AccountOneOffCharge Tax Over
[2025-03-05 04:31:13] Production.INFO: TotalTax 6.5
[2025-03-05 04:31:13] Production.INFO: InvoiceGrandTotal 56.5
[2025-03-05 04:31:13] Production.INFO: InvoiceTaxAmount 6.5
[2025-03-05 04:31:13] Production.INFO: GrandTotal 56.5
[2025-03-05 04:31:13] Production.INFO: SubTotal 50.00
[2025-03-05 04:31:13] Production.INFO: TotalDue 56.50
[2025-03-05 04:31:13] Production.INFO: Reseller ==> 0
[2025-03-05 04:31:13] Production.INFO: original start date ==>2025-02-05 changed start date ==>2025-02-05 00:00:00 original end date ==>2025-03-04 23:59:59 changed end date ==>2025-03-04 23:59:59
[2025-03-05 04:31:13] Production.INFO: CALL prc_getInvoiceUsage(1,'182','0','1','2025-02-05 00:00:00','2025-03-04 23:59:59',0)
[2025-03-05 04:31:13] Production.INFO: PDF Generation start
[2025-03-05 04:31:13] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/182/Invoices/2025/03/05/Invoice-dominos-39049-sandeep-chaudhari-inv11642-from-02-05-2025-to-03-04-2025-10581.pdf
[2025-03-05 04:31:13] Production.INFO: On Linux
[2025-03-05 04:31:14] 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/182/Invoices/2025/03/05/footer-dominos-39049-sandeep-chaudhari-inv11642-from-02-05-2025-to-03-04-2025-10581.html" "/var/www/tmp/1/182/Invoices/2025/03/05/Invoice-dominos-39049-sandeep-chaudhari-inv11642-from-02-05-2025-to-03-04-2025-10581.html" "/var/www/tmp/1/182/Invoices/2025/03/05/Invoice-dominos-39049-sandeep-chaudhari-inv11642-from-02-05-2025-to-03-04-2025-10581.pdf"
[2025-03-05 04:31:14] Production.INFO:
[2025-03-05 04:31:14] Production.INFO: /var/www/tmp/1/182/Invoices/2025/03/05/Invoice-dominos-39049-sandeep-chaudhari-inv11642-from-02-05-2025-to-03-04-2025-10581.html
[2025-03-05 04:31:14] Production.INFO: /var/www/tmp/1/182/Invoices/2025/03/05/header-dominos-39049-sandeep-chaudhari-inv11642-from-02-05-2025-to-03-04-2025-10581.html
[2025-03-05 04:31:14] Production.INFO: /var/www/tmp/1/182/Invoices/2025/03/05/footer-dominos-39049-sandeep-chaudhari-inv11642-from-02-05-2025-to-03-04-2025-10581.html
[2025-03-05 04:31:14] Production.INFO: Invoice generation PDF path
[2025-03-05 04:31:14] Production.INFO: PDF fullPath 1/182/Invoices/2025/03/05/Invoice-dominos-39049-sandeep-chaudhari-inv11642-from-02-05-2025-to-03-04-2025-10581.pdf
[2025-03-05 04:31:14] Production.INFO: Generate Usage File Start
[2025-03-05 04:31:14] Production.INFO: Usage File fullPath 1/182/InvoiceUsageFile/2025/03/05/dominos-39049-sandeep-chaudhari-05-02-2025-00-00-00-TO-04-03-2025-23-59-59_9887__954fd1b0-f9a4-11ef-b807-777448c69fbf.csv
[2025-03-05 04:31:15] Production.INFO: Sending Email to Staff over
[2025-03-05 04:31:15] Production.INFO: Email Status 1
[2025-03-05 04:31:15] Production.INFO: Sending Email to Customer
[2025-03-05 04:31:17] Production.INFO: Email Try 10581 1
[2025-03-05 04:31:17] Production.INFO: =========== Email Sending over ===========
[2025-03-05 04:31:17] Production.INFO: =========== Returning as Success =========== AccountID 182
[2025-03-05 04:31:17] Production.INFO: Invoice::sendInvoice done
[2025-03-05 04:31:17] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-03-05 04:31:17] Production.INFO: Invoice Committed AccountID = 182
[2025-03-05 04:31:17] Production.INFO: =========== Updating InvoiceDate ===========
[2025-03-05 04:31:17] Production.INFO: NextInvoice 2025-03-05 2025-04-04
[2025-03-05 04:31:17] Production.INFO: new dates
[2025-03-05 04:31:17] Production.INFO: LastInvoiceDate 2025-03-05 NextInvoiceDate 2025-04-05
[2025-03-05 04:31:17] Production.INFO: LastChargeDate 2025-03-05 NextChargeDate 2025-04-04
[2025-03-05 04:31:17] Production.INFO: =========== Updated InvoiceDate ===========
[2025-03-05 04:31:17] Production.INFO: ========================== Invoice Send End =============================
[2025-03-05 04:31:17] Production.INFO: AccountID =188 FirstInvoiceSend 0
[2025-03-05 04:31:17] Production.INFO: LastInvoiceDate 2025-02-05 NextInvoiceDate 2025-03-05
[2025-03-05 04:31:17] Production.INFO: LastChargeDate 2025-02-05 NextChargeDate 2025-03-04
[2025-03-05 04:31:17] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-03-05 04:31:17] Production.INFO: ========================== Invoice Send Start =============================
[2025-03-05 04:31:17] Production.INFO: Invoice::sendInvoice(1,188,2025-02-05,2025-03-05,billing@onswitchit.ca)
[2025-03-05 04:31:17] Production.INFO: start Date =2025-02-05 EndDate =2025-03-04 23:59:59
[2025-03-05 04:31:17] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-03-05 04:31:17] 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-05 04:31:17] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-03-05 04:31:17] Production.INFO: AlreadyBilled
[2025-03-05 04:31:17] Production.INFO: Reseller ==> 0
[2025-03-05 04:31:17] Production.INFO: original start date ==>2025-02-05 changed start date ==>2025-02-05 00:00:00 original end date ==>2025-03-04 23:59:59 changed end date ==>2025-03-04 23:59:59
[2025-03-05 04:31:17] Production.INFO: CompanyGatewayID 1 TotalCharges ==>6.85000000
[2025-03-05 04:31:17] Production.INFO: Invoice::getAccountUsageTotal(1,188,2025-02-05,2025-03-04 23:59:59)
[2025-03-05 04:31:17] Production.INFO: TotalCharges - 6.85
[2025-03-05 04:31:17] Production.INFO: TotalUsageCharges - 6.85
[2025-03-05 04:31:17] Production.INFO: Usage Over
[2025-03-05 04:31:17] Production.INFO: Call prc_getAccountSubscription(188,0)
[2025-03-05 04:31:17] Production.INFO: SUBSCRIPTION 2
[2025-03-05 04:31:17] Production.INFO: ============================Subscription Start =================
[2025-03-05 04:31:17] Production.INFO: SubscriptionID - 2
[2025-03-05 04:31:17] Production.INFO: isAdvanceSubscription - 2
[2025-03-05 04:31:17] Production.INFO: SubscriptionStartDate =2025-03-05 - SubscriptionEndDate = 2025-04-04
[2025-03-05 04:31:17] Production.INFO: NewNextChargeDate =2025-04-04 00:00:00
[2025-03-05 04:31:17] Production.INFO: EndDate =2025-03-04 00:00:00
[2025-03-05 04:31:17] Production.INFO: NewEndDate1 =2025-03-05
[2025-03-05 04:31:17] Production.INFO: SubscriptionDate
[2025-03-05 04:31:17] Production.INFO: Array
(
[StartDate] => 2025-03-05
[EndDate] => 2025-04-04 00:00:00
[AlreadyCharged] => 0
)
[2025-03-05 04:31:17] Production.INFO: AccountSubscription StartDate 2023-05-08 StartDate 2025-02-05
[2025-03-05 04:31:17] Production.INFO: SubscriptionID - 2025-03-05=====2025-04-04 00:00:00
[2025-03-05 04:31:17] Production.INFO: AccountSubscriptionID - 727 === 2023-05-08=====2026-03-05
[2025-03-05 04:31:17] Production.INFO: regular Advance Subscription
[2025-03-05 04:31:17] Production.INFO: First Time False 2023-05-08 2025-03-05
[2025-03-05 04:31:17] Production.INFO: StartDate 2025-03-05 AccountSubscription->StartDate 2023-05-08 EndDate 2025-04-04 00:00:00 AccountSubscription->EndDate 2026-03-05
[2025-03-05 04:31:17] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-05 04:31:17] Production.INFO: AccountSubscription::getSubscriptionAmount(727,2025-03-05,2025-04-04 00:00:00,,0)
[2025-03-05 04:31:17] Production.INFO: SubscriptionCharge - 10
[2025-03-05 04:31:17] Production.INFO: Already Invoice Subscription 0
[2025-03-05 04:31:17] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(188,1,2,2025-03-05,2025-04-04 00:00:00,License for an Unlimited Canada/US Cloud Phone extension,10,10,1,727)
[2025-03-05 04:31:17] Production.INFO: DiscountAmount 0.000000
[2025-03-05 04:31:17] Production.INFO: DiscountType Flat
[2025-03-05 04:31:17] Production.INFO: SubscriptionCharge 10
[2025-03-05 04:31:17] Production.INFO: New SubscriptionCharge 10
[2025-03-05 04:31:17] Production.INFO: TotalSubscriptionCharge - 10.00
[2025-03-05 04:31:17] Production.INFO: ============================Subscription End =================
[2025-03-05 04:31:17] Production.INFO: ============================Subscription Start =================
[2025-03-05 04:31:17] Production.INFO: SubscriptionID - 4
[2025-03-05 04:31:17] Production.INFO: isAdvanceSubscription - 4
[2025-03-05 04:31:17] Production.INFO: SubscriptionStartDate =2025-03-05 - SubscriptionEndDate = 2025-04-04
[2025-03-05 04:31:17] Production.INFO: NewNextChargeDate =2025-04-04 00:00:00
[2025-03-05 04:31:17] Production.INFO: EndDate =2025-03-04 00:00:00
[2025-03-05 04:31:17] Production.INFO: NewEndDate1 =2025-03-05
[2025-03-05 04:31:17] Production.INFO: SubscriptionDate
[2025-03-05 04:31:17] Production.INFO: Array
(
[StartDate] => 2025-03-05
[EndDate] => 2025-04-04 00:00:00
[AlreadyCharged] => 0
)
[2025-03-05 04:31:17] Production.INFO: AccountSubscription StartDate 2023-05-08 StartDate 2025-02-05
[2025-03-05 04:31:17] Production.INFO: SubscriptionID - 2025-03-05=====2025-04-04 00:00:00
[2025-03-05 04:31:17] Production.INFO: AccountSubscriptionID - 728 === 2023-05-08=====2026-03-05
[2025-03-05 04:31:17] Production.INFO: regular Advance Subscription
[2025-03-05 04:31:17] Production.INFO: First Time False 2023-05-08 2025-03-05
[2025-03-05 04:31:17] Production.INFO: StartDate 2025-03-05 AccountSubscription->StartDate 2023-05-08 EndDate 2025-04-04 00:00:00 AccountSubscription->EndDate 2026-03-05
[2025-03-05 04:31:17] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-05 04:31:17] Production.INFO: AccountSubscription::getSubscriptionAmount(728,2025-03-05,2025-04-04 00:00:00,,0)
[2025-03-05 04:31:17] Production.INFO: SubscriptionCharge - 2.5
[2025-03-05 04:31:17] Production.INFO: Already Invoice Subscription 0
[2025-03-05 04:31:17] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(188,1,4,2025-03-05,2025-04-04 00:00:00,e911 address registration (9053321362 - 1332 Khalsa Drive 11 Mississauga, ON L5S 0A2 Canada),2.5,2.5,1,728)
[2025-03-05 04:31:17] Production.INFO: DiscountAmount 0.000000
[2025-03-05 04:31:17] Production.INFO: DiscountType Flat
[2025-03-05 04:31:17] Production.INFO: SubscriptionCharge 2.5
[2025-03-05 04:31:17] Production.INFO: New SubscriptionCharge 2.5
[2025-03-05 04:31:17] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-03-05 04:31:17] Production.INFO: ============================Subscription End =================
[2025-03-05 04:31:17] Production.INFO: SUBSCRIPTION Over
[2025-03-05 04:31:17] Production.INFO: Call prc_getAccountOneOffCharge(188,0,2025-02-05,2025-03-05 23:59:59)
[2025-03-05 04:31:17] Production.INFO: AccountOneOffCharge 0
[2025-03-05 04:31:17] Production.INFO: AccountOneOffCharge Over
[2025-03-05 04:31:17] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-03-05 04:31:17] Production.INFO: New UsageDates 2025-02-05 - 2025-03-04 23:59:59
[2025-03-05 04:31:17] Production.INFO: SubTotal 19.35
[2025-03-05 04:31:17] Production.INFO: SubTotalWithouttaxTotal 0
[2025-03-05 04:31:17] Production.INFO: AccountOneOffCharge Tax Over
[2025-03-05 04:31:17] Production.INFO: TotalTax 2.5155
[2025-03-05 04:31:17] Production.INFO: InvoiceGrandTotal 21.8655
[2025-03-05 04:31:17] Production.INFO: InvoiceTaxAmount 2.52
[2025-03-05 04:31:17] Production.INFO: GrandTotal 21.87
[2025-03-05 04:31:17] Production.INFO: SubTotal 19.35
[2025-03-05 04:31:17] Production.INFO: TotalDue 21.87
[2025-03-05 04:31:17] Production.INFO: Reseller ==> 0
[2025-03-05 04:31:17] Production.INFO: original start date ==>2025-02-05 changed start date ==>2025-02-05 00:00:00 original end date ==>2025-03-04 23:59:59 changed end date ==>2025-03-04 23:59:59
[2025-03-05 04:31:17] Production.INFO: CALL prc_getInvoiceUsage(1,'188','0','1','2025-02-05 00:00:00','2025-03-04 23:59:59',0)
[2025-03-05 04:31:17] Production.INFO: PDF Generation start
[2025-03-05 04:31:17] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/188/Invoices/2025/03/05/Invoice-all-care-insurance-brokers-ltd-inv11643-from-02-05-2025-to-03-04-2025-10582.pdf
[2025-03-05 04:31:17] Production.INFO: On Linux
[2025-03-05 04:31: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/188/Invoices/2025/03/05/footer-all-care-insurance-brokers-ltd-inv11643-from-02-05-2025-to-03-04-2025-10582.html" "/var/www/tmp/1/188/Invoices/2025/03/05/Invoice-all-care-insurance-brokers-ltd-inv11643-from-02-05-2025-to-03-04-2025-10582.html" "/var/www/tmp/1/188/Invoices/2025/03/05/Invoice-all-care-insurance-brokers-ltd-inv11643-from-02-05-2025-to-03-04-2025-10582.pdf"
[2025-03-05 04:31:19] Production.INFO:
[2025-03-05 04:31:19] Production.INFO: /var/www/tmp/1/188/Invoices/2025/03/05/Invoice-all-care-insurance-brokers-ltd-inv11643-from-02-05-2025-to-03-04-2025-10582.html
[2025-03-05 04:31:19] Production.INFO: /var/www/tmp/1/188/Invoices/2025/03/05/header-all-care-insurance-brokers-ltd-inv11643-from-02-05-2025-to-03-04-2025-10582.html
[2025-03-05 04:31:19] Production.INFO: /var/www/tmp/1/188/Invoices/2025/03/05/footer-all-care-insurance-brokers-ltd-inv11643-from-02-05-2025-to-03-04-2025-10582.html
[2025-03-05 04:31:19] Production.INFO: Invoice generation PDF path
[2025-03-05 04:31:19] Production.INFO: PDF fullPath 1/188/Invoices/2025/03/05/Invoice-all-care-insurance-brokers-ltd-inv11643-from-02-05-2025-to-03-04-2025-10582.pdf
[2025-03-05 04:31:19] Production.INFO: Generate Usage File Start
[2025-03-05 04:31:19] Production.INFO: Usage File fullPath 1/188/InvoiceUsageFile/2025/03/05/all-care-insurance-brokers-ltd-05-02-2025-00-00-00-TO-04-03-2025-23-59-59_8340__97f37890-f9a4-11ef-823c-1b40638b08e8.csv
[2025-03-05 04:31:19] Production.INFO: Sending Email to Staff over
[2025-03-05 04:31:19] Production.INFO: Email Status 1
[2025-03-05 04:31:19] Production.INFO: Sending Email to Customer
[2025-03-05 04:31:21] Production.INFO: Email Try 10582 1
[2025-03-05 04:31:21] Production.INFO: =========== Email Sending over ===========
[2025-03-05 04:31:21] Production.INFO: =========== Returning as Success =========== AccountID 188
[2025-03-05 04:31:21] Production.INFO: Invoice::sendInvoice done
[2025-03-05 04:31:21] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-03-05 04:31:21] Production.INFO: Invoice Committed AccountID = 188
[2025-03-05 04:31:21] Production.INFO: =========== Updating InvoiceDate ===========
[2025-03-05 04:31:21] Production.INFO: NextInvoice 2025-03-05 2025-04-04
[2025-03-05 04:31:21] Production.INFO: new dates
[2025-03-05 04:31:21] Production.INFO: LastInvoiceDate 2025-03-05 NextInvoiceDate 2025-04-05
[2025-03-05 04:31:21] Production.INFO: LastChargeDate 2025-03-05 NextChargeDate 2025-04-04
[2025-03-05 04:31:21] Production.INFO: =========== Updated InvoiceDate ===========
[2025-03-05 04:31:21] Production.INFO: ========================== Invoice Send End =============================
[2025-03-05 04:31:21] Production.INFO: AccountID =195 FirstInvoiceSend 0
[2025-03-05 04:31:21] Production.INFO: LastInvoiceDate 2025-02-05 NextInvoiceDate 2025-03-05
[2025-03-05 04:31:21] Production.INFO: LastChargeDate 2025-03-05 NextChargeDate 2025-04-04
[2025-03-05 04:31:21] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-03-05 04:31:21] Production.INFO: ========================== Invoice Send Start =============================
[2025-03-05 04:31:21] Production.INFO: Invoice::sendInvoice(1,195,2025-02-05,2025-03-05,billing@onswitchit.ca)
[2025-03-05 04:31:21] Production.INFO: start Date =2025-03-05 EndDate =2025-04-04 23:59:59
[2025-03-05 04:31:21] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-03-05 04:31:21] 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-05 04:31:21] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-03-05 04:31:21] Production.INFO: AlreadyBilled
[2025-03-05 04:31:21] Production.INFO: Charge In Advance Logic
[2025-03-05 04:31:21] Production.INFO: Reseller ==> 0
[2025-03-05 04:31:21] Production.INFO: Invoice::getAccountUsageTotal(1,195,2025-02-05,2025-03-04 23:59:59)
[2025-03-05 04:31:21] Production.INFO: TotalCharges - 0
[2025-03-05 04:31:21] Production.INFO: TotalUsageCharges - 0.00
[2025-03-05 04:31:21] Production.INFO: Usage Over
[2025-03-05 04:31:21] Production.INFO: Call prc_getAccountSubscription(195,0)
[2025-03-05 04:31:21] Production.INFO: SUBSCRIPTION 1
[2025-03-05 04:31:21] Production.INFO: ============================Subscription Start =================
[2025-03-05 04:31:21] Production.INFO: SubscriptionID - 1
[2025-03-05 04:31:21] Production.INFO: isAdvanceSubscription - 1
[2025-03-05 04:31:21] Production.INFO: SubscriptionStartDate =2025-04-05 - SubscriptionEndDate = 2025-05-04
[2025-03-05 04:31:21] Production.INFO: NewNextChargeDate =2025-05-04 00:00:00
[2025-03-05 04:31:21] Production.INFO: EndDate =2025-03-04 00:00:00
[2025-03-05 04:31:21] Production.INFO: NewEndDate1 =2025-03-05
[2025-03-05 04:31:21] Production.INFO: SubscriptionDate
[2025-03-05 04:31:21] Production.INFO: Array
(
[StartDate] => 2025-03-05
[EndDate] => 2025-05-04 00:00:00
[AlreadyCharged] => 0
)
[2025-03-05 04:31:21] Production.INFO: AccountSubscription StartDate 2023-01-05 StartDate 2025-03-05
[2025-03-05 04:31:21] Production.INFO: SubscriptionID - 2025-03-05=====2025-05-04 00:00:00
[2025-03-05 04:31:21] Production.INFO: AccountSubscriptionID - 676 === 2023-01-05=====2025-01-27
[2025-03-05 04:31:21] Production.INFO: ============================Subscription End =================
[2025-03-05 04:31:21] Production.INFO: SUBSCRIPTION Over
[2025-03-05 04:31:21] Production.INFO: Call prc_getAccountOneOffCharge(195,0,2025-03-05,2025-04-05 23:59:59)
[2025-03-05 04:31:21] Production.INFO: AccountOneOffCharge 0
[2025-03-05 04:31:21] Production.INFO: AccountOneOffCharge Over
[2025-03-05 04:31:21] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-03-05 04:31:21] Production.INFO: New UsageDates 2025-02-05 - 2025-03-04 23:59:59
[2025-03-05 04:31:21] Production.INFO: SubTotal 0
[2025-03-05 04:31:21] Production.INFO: SubTotalWithouttaxTotal 0
[2025-03-05 04:31:21] Production.INFO: AccountOneOffCharge Tax Over
[2025-03-05 04:31:21] Production.INFO: TotalTax 0
[2025-03-05 04:31:21] Production.INFO: InvoiceGrandTotal 0
[2025-03-05 04:31:21] Production.INFO: InvoiceTaxAmount 0
[2025-03-05 04:31:21] Production.INFO: GrandTotal 0
[2025-03-05 04:31:21] Production.INFO: SubTotal 0.00
[2025-03-05 04:31:21] Production.INFO: TotalDue 0.00
[2025-03-05 04:31:21] Production.INFO: Reseller ==> 0
[2025-03-05 04:31:21] Production.INFO: PDF Generation start
[2025-03-05 04:31:21] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/195/Invoices/2025/03/05/Invoice-tsfv-management-corp-two-small-fish-inv11644-from-03-05-2025-to-04-04-2025-10583.pdf
[2025-03-05 04:31:21] Production.INFO: On Linux
[2025-03-05 04:31: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/195/Invoices/2025/03/05/footer-tsfv-management-corp-two-small-fish-inv11644-from-03-05-2025-to-04-04-2025-10583.html" "/var/www/tmp/1/195/Invoices/2025/03/05/Invoice-tsfv-management-corp-two-small-fish-inv11644-from-03-05-2025-to-04-04-2025-10583.html" "/var/www/tmp/1/195/Invoices/2025/03/05/Invoice-tsfv-management-corp-two-small-fish-inv11644-from-03-05-2025-to-04-04-2025-10583.pdf"
[2025-03-05 04:31:22] Production.INFO:
[2025-03-05 04:31:22] Production.INFO: /var/www/tmp/1/195/Invoices/2025/03/05/Invoice-tsfv-management-corp-two-small-fish-inv11644-from-03-05-2025-to-04-04-2025-10583.html
[2025-03-05 04:31:22] Production.INFO: /var/www/tmp/1/195/Invoices/2025/03/05/header-tsfv-management-corp-two-small-fish-inv11644-from-03-05-2025-to-04-04-2025-10583.html
[2025-03-05 04:31:22] Production.INFO: /var/www/tmp/1/195/Invoices/2025/03/05/footer-tsfv-management-corp-two-small-fish-inv11644-from-03-05-2025-to-04-04-2025-10583.html
[2025-03-05 04:31:22] Production.INFO: Invoice generation PDF path
[2025-03-05 04:31:23] Production.INFO: PDF fullPath 1/195/Invoices/2025/03/05/Invoice-tsfv-management-corp-two-small-fish-inv11644-from-03-05-2025-to-04-04-2025-10583.pdf
[2025-03-05 04:31:23] Production.INFO: Generate Usage File Start
[2025-03-05 04:31:23] Production.INFO: Usage File fullPath 1/195/InvoiceUsageFile/2025/03/05/tsfv-management-corp-two-small-fish-05-02-2025-00-00-00-TO-04-03-2025-23-59-59_6559__9a475c90-f9a4-11ef-be05-539f658dcdb3.csv
[2025-03-05 04:31:23] Production.INFO: Sending Email to Staff over
[2025-03-05 04:31:23] Production.INFO: Email Status 1
[2025-03-05 04:31:23] Production.INFO: Sending Email to Customer
[2025-03-05 04:31:23] Production.INFO: =========== Email Sending over ===========
[2025-03-05 04:31:23] Production.INFO: =========== Returning as Success =========== AccountID 195
[2025-03-05 04:31:23] Production.INFO: Invoice::sendInvoice done
[2025-03-05 04:31:23] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-03-05 04:31:23] Production.INFO: Invoice Committed AccountID = 195
[2025-03-05 04:31:23] Production.INFO: =========== Updating InvoiceDate ===========
[2025-03-05 04:31:23] Production.INFO: NextInvoice 2025-04-05 2025-05-04
[2025-03-05 04:31:23] Production.INFO: new dates
[2025-03-05 04:31:23] Production.INFO: LastInvoiceDate 2025-03-05 NextInvoiceDate 2025-04-05
[2025-03-05 04:31:23] Production.INFO: LastChargeDate 2025-04-05 NextChargeDate 2025-05-04
[2025-03-05 04:31:23] Production.INFO: =========== Updated InvoiceDate ===========
[2025-03-05 04:31:23] Production.INFO: ========================== Invoice Send End =============================
[2025-03-05 04:31:23] Production.INFO: AccountID =218 FirstInvoiceSend 0
[2025-03-05 04:31:23] Production.INFO: LastInvoiceDate 2025-02-05 NextInvoiceDate 2025-03-05
[2025-03-05 04:31:23] Production.INFO: LastChargeDate 2025-02-05 NextChargeDate 2025-03-04
[2025-03-05 04:31:23] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-03-05 04:31:23] Production.INFO: ========================== Invoice Send Start =============================
[2025-03-05 04:31:23] Production.INFO: Invoice::sendInvoice(1,218,2025-02-05,2025-03-05,billing@onswitchit.ca)
[2025-03-05 04:31:23] Production.INFO: start Date =2025-02-05 EndDate =2025-03-04 23:59:59
[2025-03-05 04:31:23] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-03-05 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-05 04:31:23] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-03-05 04:31:23] Production.INFO: AlreadyBilled
[2025-03-05 04:31:23] Production.INFO: Reseller ==> 0
[2025-03-05 04:31:23] Production.INFO: original start date ==>2025-02-05 changed start date ==>2025-02-05 01:00:00 original end date ==>2025-03-04 23:59:59 changed end date ==>2025-03-05 00:59:59
[2025-03-05 04:31:23] Production.INFO: CompanyGatewayID 1 TotalCharges ==>0.36000000
[2025-03-05 04:31:23] Production.INFO: Invoice::getAccountUsageTotal(1,218,2025-02-05,2025-03-04 23:59:59)
[2025-03-05 04:31:23] Production.INFO: TotalCharges - 0.36
[2025-03-05 04:31:23] Production.INFO: TotalUsageCharges - 0.36
[2025-03-05 04:31:23] Production.INFO: Usage Over
[2025-03-05 04:31:23] Production.INFO: Call prc_getAccountSubscription(218,0)
[2025-03-05 04:31:23] Production.INFO: SUBSCRIPTION 2
[2025-03-05 04:31:23] Production.INFO: ============================Subscription Start =================
[2025-03-05 04:31:23] Production.INFO: SubscriptionID - 5
[2025-03-05 04:31:23] Production.INFO: isAdvanceSubscription - 5
[2025-03-05 04:31:23] Production.INFO: SubscriptionStartDate =2025-03-05 - SubscriptionEndDate = 2025-04-04
[2025-03-05 04:31:23] Production.INFO: NewNextChargeDate =2025-04-04 00:00:00
[2025-03-05 04:31:23] Production.INFO: EndDate =2025-03-04 00:00:00
[2025-03-05 04:31:23] Production.INFO: NewEndDate1 =2025-03-05
[2025-03-05 04:31:23] Production.INFO: SubscriptionDate
[2025-03-05 04:31:23] Production.INFO: Array
(
[StartDate] => 2025-03-05
[EndDate] => 2025-04-04 00:00:00
[AlreadyCharged] => 0
)
[2025-03-05 04:31:23] Production.INFO: AccountSubscription StartDate 2023-10-02 StartDate 2025-02-05
[2025-03-05 04:31:23] Production.INFO: SubscriptionID - 2025-03-05=====2025-04-04 00:00:00
[2025-03-05 04:31:23] Production.INFO: AccountSubscriptionID - 729 === 2023-10-02=====2026-03-05
[2025-03-05 04:31:23] Production.INFO: regular Advance Subscription
[2025-03-05 04:31:23] Production.INFO: First Time False 2023-10-02 2025-03-05
[2025-03-05 04:31:23] Production.INFO: StartDate 2025-03-05 AccountSubscription->StartDate 2023-10-02 EndDate 2025-04-04 00:00:00 AccountSubscription->EndDate 2026-03-05
[2025-03-05 04:31:23] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-05 04:31:23] Production.INFO: AccountSubscription::getSubscriptionAmount(729,2025-03-05,2025-04-04 00:00:00,,0)
[2025-03-05 04:31:23] Production.INFO: SubscriptionCharge - 75.99
[2025-03-05 04:31:23] Production.INFO: Already Invoice Subscription 0
[2025-03-05 04:31:23] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(218,1,5,2025-03-05,2025-04-04 00:00:00,Restaurant - 4 Line Flat Rate,75.99,75.99,1,729)
[2025-03-05 04:31:23] Production.INFO: DiscountAmount 0.000000
[2025-03-05 04:31:23] Production.INFO: DiscountType Flat
[2025-03-05 04:31:23] Production.INFO: SubscriptionCharge 75.99
[2025-03-05 04:31:23] Production.INFO: New SubscriptionCharge 75.99
[2025-03-05 04:31:23] Production.INFO: TotalSubscriptionCharge - 75.99
[2025-03-05 04:31:23] Production.INFO: ============================Subscription End =================
[2025-03-05 04:31:23] Production.INFO: ============================Subscription Start =================
[2025-03-05 04:31:23] Production.INFO: SubscriptionID - 4
[2025-03-05 04:31:23] Production.INFO: isAdvanceSubscription - 4
[2025-03-05 04:31:23] Production.INFO: SubscriptionStartDate =2025-03-05 - SubscriptionEndDate = 2025-04-04
[2025-03-05 04:31:23] Production.INFO: NewNextChargeDate =2025-04-04 00:00:00
[2025-03-05 04:31:23] Production.INFO: EndDate =2025-03-04 00:00:00
[2025-03-05 04:31:23] Production.INFO: NewEndDate1 =2025-03-05
[2025-03-05 04:31:23] Production.INFO: SubscriptionDate
[2025-03-05 04:31:23] Production.INFO: Array
(
[StartDate] => 2025-03-05
[EndDate] => 2025-04-04 00:00:00
[AlreadyCharged] => 0
)
[2025-03-05 04:31:24] Production.INFO: AccountSubscription StartDate 2023-10-02 StartDate 2025-02-05
[2025-03-05 04:31:24] Production.INFO: SubscriptionID - 2025-03-05=====2025-04-04 00:00:00
[2025-03-05 04:31:24] Production.INFO: AccountSubscriptionID - 730 === 2023-10-02=====2026-03-05
[2025-03-05 04:31:24] Production.INFO: regular Advance Subscription
[2025-03-05 04:31:24] Production.INFO: First Time False 2023-10-02 2025-03-05
[2025-03-05 04:31:24] Production.INFO: StartDate 2025-03-05 AccountSubscription->StartDate 2023-10-02 EndDate 2025-04-04 00:00:00 AccountSubscription->EndDate 2026-03-05
[2025-03-05 04:31:24] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-05 04:31:24] Production.INFO: AccountSubscription::getSubscriptionAmount(730,2025-03-05,2025-04-04 00:00:00,,0)
[2025-03-05 04:31:24] Production.INFO: SubscriptionCharge - 2.5
[2025-03-05 04:31:24] Production.INFO: Already Invoice Subscription 0
[2025-03-05 04:31:24] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(218,1,4,2025-03-05,2025-04-04 00:00:00,e911 address registration (3064452555 - 302 114 Street North Battleford, SK S9A 2M6 Canada),2.5,2.5,1,730)
[2025-03-05 04:31:24] Production.INFO: DiscountAmount 0.000000
[2025-03-05 04:31:24] Production.INFO: DiscountType Flat
[2025-03-05 04:31:24] Production.INFO: SubscriptionCharge 2.5
[2025-03-05 04:31:24] Production.INFO: New SubscriptionCharge 2.5
[2025-03-05 04:31:24] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-03-05 04:31:24] Production.INFO: ============================Subscription End =================
[2025-03-05 04:31:24] Production.INFO: SUBSCRIPTION Over
[2025-03-05 04:31:24] Production.INFO: Call prc_getAccountOneOffCharge(218,0,2025-02-05,2025-03-05 23:59:59)
[2025-03-05 04:31:24] Production.INFO: AccountOneOffCharge 0
[2025-03-05 04:31:24] Production.INFO: AccountOneOffCharge Over
[2025-03-05 04:31:24] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-03-05 04:31:24] Production.INFO: New UsageDates 2025-02-05 - 2025-03-04 23:59:59
[2025-03-05 04:31:24] Production.INFO: SubTotal 78.85
[2025-03-05 04:31:24] Production.INFO: SubTotalWithouttaxTotal 0
[2025-03-05 04:31:24] Production.INFO: AccountOneOffCharge Tax Over
[2025-03-05 04:31:24] Production.INFO: TotalTax 7.885
[2025-03-05 04:31:24] Production.INFO: InvoiceGrandTotal 86.735
[2025-03-05 04:31:24] Production.INFO: InvoiceTaxAmount 7.89
[2025-03-05 04:31:24] Production.INFO: GrandTotal 86.74
[2025-03-05 04:31:24] Production.INFO: SubTotal 78.85
[2025-03-05 04:31:24] Production.INFO: TotalDue 86.74
[2025-03-05 04:31:24] Production.INFO: Reseller ==> 0
[2025-03-05 04:31:24] Production.INFO: original start date ==>2025-02-05 changed start date ==>2025-02-05 01:00:00 original end date ==>2025-03-04 23:59:59 changed end date ==>2025-03-05 00:59:59
[2025-03-05 04:31:24] Production.INFO: CALL prc_getInvoiceUsage(1,'218','0','1','2025-02-05 01:00:00','2025-03-05 00:59:59',0)
[2025-03-05 04:31:24] Production.INFO: PDF Generation start
[2025-03-05 04:31:24] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/218/Invoices/2025/03/05/Invoice-dominos-10164-jordan-hodgson-inv11645-from-02-05-2025-to-03-04-2025-10584.pdf
[2025-03-05 04:31:24] Production.INFO: On Linux
[2025-03-05 04:31: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/218/Invoices/2025/03/05/footer-dominos-10164-jordan-hodgson-inv11645-from-02-05-2025-to-03-04-2025-10584.html" "/var/www/tmp/1/218/Invoices/2025/03/05/Invoice-dominos-10164-jordan-hodgson-inv11645-from-02-05-2025-to-03-04-2025-10584.html" "/var/www/tmp/1/218/Invoices/2025/03/05/Invoice-dominos-10164-jordan-hodgson-inv11645-from-02-05-2025-to-03-04-2025-10584.pdf"
[2025-03-05 04:31:25] Production.INFO:
[2025-03-05 04:31:25] Production.INFO: /var/www/tmp/1/218/Invoices/2025/03/05/Invoice-dominos-10164-jordan-hodgson-inv11645-from-02-05-2025-to-03-04-2025-10584.html
[2025-03-05 04:31:25] Production.INFO: /var/www/tmp/1/218/Invoices/2025/03/05/header-dominos-10164-jordan-hodgson-inv11645-from-02-05-2025-to-03-04-2025-10584.html
[2025-03-05 04:31:25] Production.INFO: /var/www/tmp/1/218/Invoices/2025/03/05/footer-dominos-10164-jordan-hodgson-inv11645-from-02-05-2025-to-03-04-2025-10584.html
[2025-03-05 04:31:25] Production.INFO: Invoice generation PDF path
[2025-03-05 04:31:25] Production.INFO: PDF fullPath 1/218/Invoices/2025/03/05/Invoice-dominos-10164-jordan-hodgson-inv11645-from-02-05-2025-to-03-04-2025-10584.pdf
[2025-03-05 04:31:25] Production.INFO: Generate Usage File Start
[2025-03-05 04:31:25] Production.INFO: Usage File fullPath 1/218/InvoiceUsageFile/2025/03/05/dominos-10164-jordan-hodgson-05-02-2025-00-00-00-TO-04-03-2025-23-59-59_7905__9b8ea740-f9a4-11ef-b33e-55e51a979795.csv
[2025-03-05 04:31:26] Production.INFO: Sending Email to Staff over
[2025-03-05 04:31:26] Production.INFO: Email Status 1
[2025-03-05 04:31:26] Production.INFO: Sending Email to Customer
[2025-03-05 04:31:27] Production.INFO: Email Try 10584 1
[2025-03-05 04:31:27] Production.INFO: =========== Email Sending over ===========
[2025-03-05 04:31:27] Production.INFO: =========== Returning as Success =========== AccountID 218
[2025-03-05 04:31:27] Production.INFO: Invoice::sendInvoice done
[2025-03-05 04:31:27] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-03-05 04:31:27] Production.INFO: Invoice Committed AccountID = 218
[2025-03-05 04:31:27] Production.INFO: =========== Updating InvoiceDate ===========
[2025-03-05 04:31:27] Production.INFO: NextInvoice 2025-03-05 2025-04-04
[2025-03-05 04:31:27] Production.INFO: new dates
[2025-03-05 04:31:27] Production.INFO: LastInvoiceDate 2025-03-05 NextInvoiceDate 2025-04-05
[2025-03-05 04:31:27] Production.INFO: LastChargeDate 2025-03-05 NextChargeDate 2025-04-04
[2025-03-05 04:31:27] Production.INFO: =========== Updated InvoiceDate ===========
[2025-03-05 04:31:27] Production.INFO: ========================== Invoice Send End =============================
[2025-03-05 04:31:27] Production.INFO: ========================== Recurring invoice Start =============================
[2025-03-05 04:31:27] Production.INFO: recurring invoices ID
[2025-03-05 04:31:27] Production.INFO:
[2025-03-05 04:31:27] Production.INFO: recurring errorsArray
(
)
[2025-03-05 04:31:27] Production.INFO: ========================== Recurring invoice End =============================
[2025-03-05 04:31:27] Production.INFO: ========================== Job Updated =============================
[2025-03-05 04:31:28] Production.INFO: ========================== Job Email Sent =============================
[2025-03-05 04:31:28] Production.ERROR: **Email Sent Status 1
[2025-03-05 04:31:28] Production.ERROR: **Email Sent message Email has been sent
[2025-03-05 04:31:28] Production.ERROR: CronJobId end6
[2025-03-05 04:31:28] Production.INFO: ==27554== Releasing lock...
[2025-03-05 04:31:28] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops#
[2025-03-05 04:31:28] Production.INFO: 40.25 MB #Memory Used#