[2025-01-05 04:30:04] Production.INFO: Call prc_getBillingAccounts(1,2025-01-05,'','0')
[2025-01-05 04:30:04] Production.INFO: Array
(
[0] => stdClass Object
(
[AccountID] => 30
[NextInvoiceDate] => 2025-01-05
[AccountName] => Compass ELC - Lindsay
[ServiceID] => 0
)
[1] => stdClass Object
(
[AccountID] => 182
[NextInvoiceDate] => 2025-01-05
[AccountName] => Dominos 39049 (Sandeep Chaudhari)
[ServiceID] => 0
)
[2] => stdClass Object
(
[AccountID] => 188
[NextInvoiceDate] => 2025-01-05
[AccountName] => All Care Insurance Brokers Ltd.
[ServiceID] => 0
)
[3] => stdClass Object
(
[AccountID] => 195
[NextInvoiceDate] => 2025-01-05
[AccountName] => TSFV Management Corp (Two Small Fish)
[ServiceID] => 0
)
[4] => stdClass Object
(
[AccountID] => 218
[NextInvoiceDate] => 2025-01-05
[AccountName] => Dominos 10164 (Jordan Hodgson)
[ServiceID] => 0
)
)
[2025-01-05 04:30:04] Production.INFO: AccountID =30 FirstInvoiceSend 0
[2025-01-05 04:30:04] Production.INFO: LastInvoiceDate 2024-12-05 NextInvoiceDate 2025-01-05
[2025-01-05 04:30:04] Production.INFO: LastChargeDate 2024-12-05 NextChargeDate 2025-01-04
[2025-01-05 04:30:04] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-05 04:30:04] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-05 04:30:04] Production.INFO: Invoice::sendInvoice(1,30,2024-12-05,2025-01-05,billing@onswitchit.ca)
[2025-01-05 04:30:04] Production.INFO: start Date =2024-12-05 EndDate =2025-01-04 23:59:59
[2025-01-05 04:30:04] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-05 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-05 04:30:04] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-05 04:30:04] Production.INFO: AlreadyBilled
[2025-01-05 04:30:04] Production.INFO: Reseller ==> 0
[2025-01-05 04:30:04] Production.INFO: original start date ==>2024-12-05 changed start date ==>2024-12-05 00:00:00 original end date ==>2025-01-04 23:59:59 changed end date ==>2025-01-04 23:59:59
[2025-01-05 04:30:04] Production.INFO: CompanyGatewayID 1 TotalCharges ==>1.19000000
[2025-01-05 04:30:04] Production.INFO: Invoice::getAccountUsageTotal(1,30,2024-12-05,2025-01-04 23:59:59)
[2025-01-05 04:30:04] Production.INFO: TotalCharges - 1.19
[2025-01-05 04:30:04] Production.INFO: TotalUsageCharges - 1.19
[2025-01-05 04:30:04] Production.INFO: Usage Over
[2025-01-05 04:30:04] Production.INFO: Call prc_getAccountSubscription(30,0)
[2025-01-05 04:30:04] Production.INFO: SUBSCRIPTION 3
[2025-01-05 04:30:04] Production.INFO: ============================Subscription Start =================
[2025-01-05 04:30:04] Production.INFO: SubscriptionID - 1
[2025-01-05 04:30:04] Production.INFO: isAdvanceSubscription - 1
[2025-01-05 04:30:04] Production.INFO: SubscriptionStartDate =2025-01-05 - SubscriptionEndDate = 2025-02-04
[2025-01-05 04:30:04] Production.INFO: NewNextChargeDate =2025-02-04 00:00:00
[2025-01-05 04:30:04] Production.INFO: EndDate =2023-06-04 00:00:00
[2025-01-05 04:30:04] Production.INFO: NewEndDate1 =2023-06-05
[2025-01-05 04:30:04] Production.INFO: SubscriptionDate
[2025-01-05 04:30:04] Production.INFO: Array
(
[StartDate] => 2023-06-05
[EndDate] => 2025-02-04 00:00:00
[AlreadyCharged] => 0
)
[2025-01-05 04:30:04] Production.INFO: AccountSubscription StartDate 2017-06-04 StartDate 2024-12-05
[2025-01-05 04:30:04] Production.INFO: SubscriptionID - 2023-06-05=====2025-02-04 00:00:00
[2025-01-05 04:30:04] Production.INFO: AccountSubscriptionID - 49 === 2017-06-04=====2023-06-04
[2025-01-05 04:30:04] Production.INFO: ============================Subscription End =================
[2025-01-05 04:30:04] Production.INFO: ============================Subscription Start =================
[2025-01-05 04:30:04] Production.INFO: SubscriptionID - 2
[2025-01-05 04:30:04] Production.INFO: isAdvanceSubscription - 2
[2025-01-05 04:30:04] Production.INFO: SubscriptionStartDate =2025-01-05 - SubscriptionEndDate = 2025-02-04
[2025-01-05 04:30:04] Production.INFO: NewNextChargeDate =2025-02-04 00:00:00
[2025-01-05 04:30:04] Production.INFO: EndDate =2025-01-04 00:00:00
[2025-01-05 04:30:04] Production.INFO: NewEndDate1 =2025-01-05
[2025-01-05 04:30:04] Production.INFO: SubscriptionDate
[2025-01-05 04:30:04] Production.INFO: Array
(
[StartDate] => 2025-01-05
[EndDate] => 2025-02-04 00:00:00
[AlreadyCharged] => 0
)
[2025-01-05 04:30:04] Production.INFO: AccountSubscription StartDate 2023-06-05 StartDate 2024-12-05
[2025-01-05 04:30:04] Production.INFO: SubscriptionID - 2025-01-05=====2025-02-04 00:00:00
[2025-01-05 04:30:04] Production.INFO: AccountSubscriptionID - 690 === 2023-06-05=====2026-01-05
[2025-01-05 04:30:04] Production.INFO: regular Advance Subscription
[2025-01-05 04:30:04] Production.INFO: First Time False 2023-06-05 2025-01-05
[2025-01-05 04:30:04] Production.INFO: StartDate 2025-01-05 AccountSubscription->StartDate 2023-06-05 EndDate 2025-02-04 00:00:00 AccountSubscription->EndDate 2026-01-05
[2025-01-05 04:30:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-05 04:30:04] Production.INFO: AccountSubscription::getSubscriptionAmount(690,2025-01-05,2025-02-04 00:00:00,,0)
[2025-01-05 04:30:05] Production.INFO: SubscriptionCharge - 12
[2025-01-05 04:30:05] Production.INFO: Already Invoice Subscription 0
[2025-01-05 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(30,1,2,2025-01-05,2025-02-04 00:00:00,Capacity Based Billing - 1 Channel, Burstable to 2,12,12,1,690)
[2025-01-05 04:30:05] Production.INFO: DiscountAmount 0.000000
[2025-01-05 04:30:05] Production.INFO: DiscountType Flat
[2025-01-05 04:30:05] Production.INFO: SubscriptionCharge 12
[2025-01-05 04:30:05] Production.INFO: New SubscriptionCharge 12
[2025-01-05 04:30:05] Production.INFO: TotalSubscriptionCharge - 12.00
[2025-01-05 04:30:05] Production.INFO: ============================Subscription End =================
[2025-01-05 04:30:05] Production.INFO: ============================Subscription Start =================
[2025-01-05 04:30:05] Production.INFO: SubscriptionID - 4
[2025-01-05 04:30:05] Production.INFO: isAdvanceSubscription - 4
[2025-01-05 04:30:05] Production.INFO: SubscriptionStartDate =2025-01-05 - SubscriptionEndDate = 2025-02-04
[2025-01-05 04:30:05] Production.INFO: NewNextChargeDate =2025-02-04 00:00:00
[2025-01-05 04:30:05] Production.INFO: EndDate =2025-01-04 00:00:00
[2025-01-05 04:30:05] Production.INFO: NewEndDate1 =2025-01-05
[2025-01-05 04:30:05] Production.INFO: SubscriptionDate
[2025-01-05 04:30:05] Production.INFO: Array
(
[StartDate] => 2025-01-05
[EndDate] => 2025-02-04 00:00:00
[AlreadyCharged] => 0
)
[2025-01-05 04:30:05] Production.INFO: AccountSubscription StartDate 2017-06-04 StartDate 2024-12-05
[2025-01-05 04:30:05] Production.INFO: SubscriptionID - 2025-01-05=====2025-02-04 00:00:00
[2025-01-05 04:30:05] Production.INFO: AccountSubscriptionID - 50 === 2017-06-04=====2026-01-05
[2025-01-05 04:30:05] Production.INFO: regular Advance Subscription
[2025-01-05 04:30:05] Production.INFO: First Time False 2017-06-04 2025-01-05
[2025-01-05 04:30:05] Production.INFO: StartDate 2025-01-05 AccountSubscription->StartDate 2017-06-04 EndDate 2025-02-04 00:00:00 AccountSubscription->EndDate 2026-01-05
[2025-01-05 04:30:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-05 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(50,2025-01-05,2025-02-04 00:00:00,,0)
[2025-01-05 04:30:05] Production.INFO: SubscriptionCharge - 2.5
[2025-01-05 04:30:05] Production.INFO: Already Invoice Subscription 0
[2025-01-05 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(30,1,4,2025-01-05,2025-02-04 00:00:00,e911 address registration (17057019601 - 320 MARY ST W LINDSAY, ON K9V5X5),2.5,2.5,1,50)
[2025-01-05 04:30:05] Production.INFO: DiscountAmount 0.000000
[2025-01-05 04:30:05] Production.INFO: DiscountType
[2025-01-05 04:30:05] Production.INFO: SubscriptionCharge 2.5
[2025-01-05 04:30:05] Production.INFO: New SubscriptionCharge 2.5
[2025-01-05 04:30:05] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-01-05 04:30:05] Production.INFO: ============================Subscription End =================
[2025-01-05 04:30:05] Production.INFO: SUBSCRIPTION Over
[2025-01-05 04:30:05] Production.INFO: Call prc_getAccountOneOffCharge(30,0,2024-12-05,2025-01-05 23:59:59)
[2025-01-05 04:30:05] Production.INFO: AccountOneOffCharge 0
[2025-01-05 04:30:05] Production.INFO: AccountOneOffCharge Over
[2025-01-05 04:30:05] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-05 04:30:05] Production.INFO: New UsageDates 2024-12-05 - 2025-01-04 23:59:59
[2025-01-05 04:30:05] Production.INFO: SubTotal 15.69
[2025-01-05 04:30:05] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-05 04:30:05] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-05 04:30:05] Production.INFO: TotalTax 2.0397
[2025-01-05 04:30:05] Production.INFO: InvoiceGrandTotal 17.7297
[2025-01-05 04:30:05] Production.INFO: InvoiceTaxAmount 2.04
[2025-01-05 04:30:05] Production.INFO: GrandTotal 17.73
[2025-01-05 04:30:05] Production.INFO: SubTotal 15.69
[2025-01-05 04:30:05] Production.INFO: TotalDue 35.19
[2025-01-05 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-05 04:30:05] Production.INFO: original start date ==>2024-12-05 changed start date ==>2024-12-05 00:00:00 original end date ==>2025-01-04 23:59:59 changed end date ==>2025-01-04 23:59:59
[2025-01-05 04:30:05] Production.INFO: CALL prc_getInvoiceUsage(1,'30','0','1','2024-12-05 00:00:00','2025-01-04 23:59:59',0)
[2025-01-05 04:30:05] Production.INFO: PDF Generation start
[2025-01-05 04:30:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/30/Invoices/2025/01/05/Invoice-compass-elc-lindsay-inv11311-from-12-05-2024-to-01-04-2025-10236.pdf
[2025-01-05 04:30:05] Production.INFO: On Linux
[2025-01-05 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/30/Invoices/2025/01/05/footer-compass-elc-lindsay-inv11311-from-12-05-2024-to-01-04-2025-10236.html" "/var/www/tmp/1/30/Invoices/2025/01/05/Invoice-compass-elc-lindsay-inv11311-from-12-05-2024-to-01-04-2025-10236.html" "/var/www/tmp/1/30/Invoices/2025/01/05/Invoice-compass-elc-lindsay-inv11311-from-12-05-2024-to-01-04-2025-10236.pdf"
[2025-01-05 04:30:07] Production.INFO:
[2025-01-05 04:30:07] Production.INFO: /var/www/tmp/1/30/Invoices/2025/01/05/Invoice-compass-elc-lindsay-inv11311-from-12-05-2024-to-01-04-2025-10236.html
[2025-01-05 04:30:07] Production.INFO: /var/www/tmp/1/30/Invoices/2025/01/05/header-compass-elc-lindsay-inv11311-from-12-05-2024-to-01-04-2025-10236.html
[2025-01-05 04:30:07] Production.INFO: /var/www/tmp/1/30/Invoices/2025/01/05/footer-compass-elc-lindsay-inv11311-from-12-05-2024-to-01-04-2025-10236.html
[2025-01-05 04:30:07] Production.INFO: Invoice generation PDF path
[2025-01-05 04:30:07] Production.INFO: PDF fullPath 1/30/Invoices/2025/01/05/Invoice-compass-elc-lindsay-inv11311-from-12-05-2024-to-01-04-2025-10236.pdf
[2025-01-05 04:30:07] Production.INFO: Generate Usage File Start
[2025-01-05 04:30:07] Production.INFO: Usage File fullPath 1/30/InvoiceUsageFile/2025/01/05/compass-elc-lindsay-05-12-2024-00-00-00-TO-04-01-2025-23-59-59_8128__a6c8b5d0-cb47-11ef-8809-ef66b8aa0de0.csv
[2025-01-05 04:30:08] Production.INFO: Sending Email to Staff over
[2025-01-05 04:30:08] Production.INFO: Email Status 1
[2025-01-05 04:30:08] Production.INFO: Sending Email to Customer
[2025-01-05 04:30:09] Production.INFO: Email Try 10236 1
[2025-01-05 04:30:09] Production.INFO: =========== Email Sending over ===========
[2025-01-05 04:30:09] Production.INFO: =========== Returning as Success =========== AccountID 30
[2025-01-05 04:30:09] Production.INFO: Invoice::sendInvoice done
[2025-01-05 04:30:09] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-05 04:30:09] Production.INFO: Invoice Committed AccountID = 30
[2025-01-05 04:30:10] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-05 04:30:10] Production.INFO: NextInvoice 2025-01-05 2025-02-04
[2025-01-05 04:30:10] Production.INFO: new dates
[2025-01-05 04:30:10] Production.INFO: LastInvoiceDate 2025-01-05 NextInvoiceDate 2025-02-05
[2025-01-05 04:30:10] Production.INFO: LastChargeDate 2025-01-05 NextChargeDate 2025-02-04
[2025-01-05 04:30:10] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-05 04:30:10] Production.INFO: ========================== Invoice Send End =============================
[2025-01-05 04:30:10] Production.INFO: AccountID =182 FirstInvoiceSend 0
[2025-01-05 04:30:10] Production.INFO: LastInvoiceDate 2024-12-05 NextInvoiceDate 2025-01-05
[2025-01-05 04:30:10] Production.INFO: LastChargeDate 2024-12-05 NextChargeDate 2025-01-04
[2025-01-05 04:30:10] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-05 04:30:10] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-05 04:30:10] Production.INFO: Invoice::sendInvoice(1,182,2024-12-05,2025-01-05,billing@onswitchit.ca)
[2025-01-05 04:30:10] Production.INFO: start Date =2024-12-05 EndDate =2025-01-04 23:59:59
[2025-01-05 04:30:10] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-05 04:30:10] Production.INFO: InvoiceTemplate->Terms =
This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.
[2025-01-05 04:30:10] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-05 04:30:10] Production.INFO: AlreadyBilled
[2025-01-05 04:30:10] Production.INFO: Reseller ==> 0
[2025-01-05 04:30:10] Production.INFO: original start date ==>2024-12-05 changed start date ==>2024-12-05 00:00:00 original end date ==>2025-01-04 23:59:59 changed end date ==>2025-01-04 23:59:59
[2025-01-05 04:30:10] Production.INFO: Invoice::getAccountUsageTotal(1,182,2024-12-05,2025-01-04 23:59:59)
[2025-01-05 04:30:10] Production.INFO: TotalCharges - 0
[2025-01-05 04:30:10] Production.INFO: TotalUsageCharges - 0.00
[2025-01-05 04:30:10] Production.INFO: Usage Over
[2025-01-05 04:30:10] Production.INFO: Call prc_getAccountSubscription(182,0)
[2025-01-05 04:30:10] Production.INFO: SUBSCRIPTION 2
[2025-01-05 04:30:10] Production.INFO: ============================Subscription Start =================
[2025-01-05 04:30:10] Production.INFO: SubscriptionID - 5
[2025-01-05 04:30:10] Production.INFO: isAdvanceSubscription - 5
[2025-01-05 04:30:10] Production.INFO: SubscriptionStartDate =2025-01-05 - SubscriptionEndDate = 2025-02-04
[2025-01-05 04:30:10] Production.INFO: NewNextChargeDate =2025-02-04 00:00:00
[2025-01-05 04:30:10] Production.INFO: EndDate =2025-01-04 00:00:00
[2025-01-05 04:30:10] Production.INFO: NewEndDate1 =2025-01-05
[2025-01-05 04:30:10] Production.INFO: SubscriptionDate
[2025-01-05 04:30:10] Production.INFO: Array
(
[StartDate] => 2025-01-05
[EndDate] => 2025-02-04 00:00:00
[AlreadyCharged] => 0
)
[2025-01-05 04:30:10] Production.INFO: AccountSubscription StartDate 2022-09-02 StartDate 2024-12-05
[2025-01-05 04:30:10] Production.INFO: SubscriptionID - 2025-01-05=====2025-02-04 00:00:00
[2025-01-05 04:30:10] Production.INFO: AccountSubscriptionID - 723 === 2022-09-02=====2026-01-05
[2025-01-05 04:30:10] Production.INFO: regular Advance Subscription
[2025-01-05 04:30:10] Production.INFO: First Time False 2022-09-02 2025-01-05
[2025-01-05 04:30:10] Production.INFO: StartDate 2025-01-05 AccountSubscription->StartDate 2022-09-02 EndDate 2025-02-04 00:00:00 AccountSubscription->EndDate 2026-01-05
[2025-01-05 04:30:10] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-05 04:30:10] Production.INFO: AccountSubscription::getSubscriptionAmount(723,2025-01-05,2025-02-04 00:00:00,,0)
[2025-01-05 04:30:10] Production.INFO: SubscriptionCharge - 75
[2025-01-05 04:30:10] Production.INFO: Already Invoice Subscription 0
[2025-01-05 04:30:10] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(182,1,5,2025-01-05,2025-02-04 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,723)
[2025-01-05 04:30:10] Production.INFO: DiscountAmount 0.000000
[2025-01-05 04:30:10] Production.INFO: DiscountType Flat
[2025-01-05 04:30:10] Production.INFO: SubscriptionCharge 75
[2025-01-05 04:30:10] Production.INFO: New SubscriptionCharge 75
[2025-01-05 04:30:10] Production.INFO: TotalSubscriptionCharge - 75.00
[2025-01-05 04:30:10] Production.INFO: ============================Subscription End =================
[2025-01-05 04:30:10] Production.INFO: ============================Subscription Start =================
[2025-01-05 04:30:10] Production.INFO: SubscriptionID - 28
[2025-01-05 04:30:10] Production.INFO: isAdvanceSubscription - 28
[2025-01-05 04:30:10] Production.INFO: SubscriptionStartDate =2025-01-05 - SubscriptionEndDate = 2025-02-04
[2025-01-05 04:30:10] Production.INFO: NewNextChargeDate =2025-02-04 00:00:00
[2025-01-05 04:30:10] Production.INFO: EndDate =2025-01-04 00:00:00
[2025-01-05 04:30:10] Production.INFO: NewEndDate1 =2025-01-05
[2025-01-05 04:30:10] Production.INFO: SubscriptionDate
[2025-01-05 04:30:10] Production.INFO: Array
(
[StartDate] => 2025-01-05
[EndDate] => 2025-02-04 00:00:00
[AlreadyCharged] => 0
)
[2025-01-05 04:30:10] Production.INFO: AccountSubscription StartDate 2022-09-06 StartDate 2024-12-05
[2025-01-05 04:30:10] Production.INFO: SubscriptionID - 2025-01-05=====2025-02-04 00:00:00
[2025-01-05 04:30:10] Production.INFO: AccountSubscriptionID - 724 === 2022-09-06=====2026-01-05
[2025-01-05 04:30:10] Production.INFO: regular Advance Subscription
[2025-01-05 04:30:10] Production.INFO: First Time False 2022-09-06 2025-01-05
[2025-01-05 04:30:10] Production.INFO: StartDate 2025-01-05 AccountSubscription->StartDate 2022-09-06 EndDate 2025-02-04 00:00:00 AccountSubscription->EndDate 2026-01-05
[2025-01-05 04:30:10] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-05 04:30:10] Production.INFO: AccountSubscription::getSubscriptionAmount(724,2025-01-05,2025-02-04 00:00:00,,0)
[2025-01-05 04:30:10] Production.INFO: SubscriptionCharge - -25
[2025-01-05 04:30:10] Production.INFO: Already Invoice Subscription 0
[2025-01-05 04:30:10] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(182,1,28,2025-01-05,2025-02-04 00:00:00,Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service,-25,-25,1,724)
[2025-01-05 04:30:10] Production.INFO: DiscountAmount 0.000000
[2025-01-05 04:30:10] Production.INFO: DiscountType Flat
[2025-01-05 04:30:10] Production.INFO: SubscriptionCharge -25
[2025-01-05 04:30:10] Production.INFO: New SubscriptionCharge -25
[2025-01-05 04:30:10] Production.INFO: TotalSubscriptionCharge - -25.00
[2025-01-05 04:30:10] Production.INFO: ============================Subscription End =================
[2025-01-05 04:30:10] Production.INFO: SUBSCRIPTION Over
[2025-01-05 04:30:10] Production.INFO: Call prc_getAccountOneOffCharge(182,0,2024-12-05,2025-01-05 23:59:59)
[2025-01-05 04:30:10] Production.INFO: AccountOneOffCharge 0
[2025-01-05 04:30:10] Production.INFO: AccountOneOffCharge Over
[2025-01-05 04:30:10] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-05 04:30:10] Production.INFO: New UsageDates 2024-12-05 - 2025-01-04 23:59:59
[2025-01-05 04:30:10] Production.INFO: SubTotal 50
[2025-01-05 04:30:10] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-05 04:30:10] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-05 04:30:10] Production.INFO: TotalTax 6.5
[2025-01-05 04:30:10] Production.INFO: InvoiceGrandTotal 56.5
[2025-01-05 04:30:10] Production.INFO: InvoiceTaxAmount 6.5
[2025-01-05 04:30:10] Production.INFO: GrandTotal 56.5
[2025-01-05 04:30:10] Production.INFO: SubTotal 50.00
[2025-01-05 04:30:10] Production.INFO: TotalDue 56.50
[2025-01-05 04:30:10] Production.INFO: Reseller ==> 0
[2025-01-05 04:30:10] Production.INFO: original start date ==>2024-12-05 changed start date ==>2024-12-05 00:00:00 original end date ==>2025-01-04 23:59:59 changed end date ==>2025-01-04 23:59:59
[2025-01-05 04:30:10] Production.INFO: CALL prc_getInvoiceUsage(1,'182','0','1','2024-12-05 00:00:00','2025-01-04 23:59:59',0)
[2025-01-05 04:30:10] Production.INFO: PDF Generation start
[2025-01-05 04:30:10] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/182/Invoices/2025/01/05/Invoice-dominos-39049-sandeep-chaudhari-inv11312-from-12-05-2024-to-01-04-2025-10237.pdf
[2025-01-05 04:30:10] Production.INFO: On Linux
[2025-01-05 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/182/Invoices/2025/01/05/footer-dominos-39049-sandeep-chaudhari-inv11312-from-12-05-2024-to-01-04-2025-10237.html" "/var/www/tmp/1/182/Invoices/2025/01/05/Invoice-dominos-39049-sandeep-chaudhari-inv11312-from-12-05-2024-to-01-04-2025-10237.html" "/var/www/tmp/1/182/Invoices/2025/01/05/Invoice-dominos-39049-sandeep-chaudhari-inv11312-from-12-05-2024-to-01-04-2025-10237.pdf"
[2025-01-05 04:30:11] Production.INFO:
[2025-01-05 04:30:11] Production.INFO: /var/www/tmp/1/182/Invoices/2025/01/05/Invoice-dominos-39049-sandeep-chaudhari-inv11312-from-12-05-2024-to-01-04-2025-10237.html
[2025-01-05 04:30:11] Production.INFO: /var/www/tmp/1/182/Invoices/2025/01/05/header-dominos-39049-sandeep-chaudhari-inv11312-from-12-05-2024-to-01-04-2025-10237.html
[2025-01-05 04:30:11] Production.INFO: /var/www/tmp/1/182/Invoices/2025/01/05/footer-dominos-39049-sandeep-chaudhari-inv11312-from-12-05-2024-to-01-04-2025-10237.html
[2025-01-05 04:30:11] Production.INFO: Invoice generation PDF path
[2025-01-05 04:30:11] Production.INFO: PDF fullPath 1/182/Invoices/2025/01/05/Invoice-dominos-39049-sandeep-chaudhari-inv11312-from-12-05-2024-to-01-04-2025-10237.pdf
[2025-01-05 04:30:11] Production.INFO: Generate Usage File Start
[2025-01-05 04:30:11] Production.INFO: Usage File fullPath 1/182/InvoiceUsageFile/2025/01/05/dominos-39049-sandeep-chaudhari-05-12-2024-00-00-00-TO-04-01-2025-23-59-59_479__a9751c00-cb47-11ef-b1c2-253fc1259a1a.csv
[2025-01-05 04:30:12] Production.INFO: Sending Email to Staff over
[2025-01-05 04:30:12] Production.INFO: Email Status 1
[2025-01-05 04:30:12] Production.INFO: Sending Email to Customer
[2025-01-05 04:30:13] Production.INFO: Email Try 10237 1
[2025-01-05 04:30:14] Production.INFO: =========== Email Sending over ===========
[2025-01-05 04:30:14] Production.INFO: =========== Returning as Success =========== AccountID 182
[2025-01-05 04:30:14] Production.INFO: Invoice::sendInvoice done
[2025-01-05 04:30:14] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-05 04:30:14] Production.INFO: Invoice Committed AccountID = 182
[2025-01-05 04:30:14] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-05 04:30:14] Production.INFO: NextInvoice 2025-01-05 2025-02-04
[2025-01-05 04:30:14] Production.INFO: new dates
[2025-01-05 04:30:14] Production.INFO: LastInvoiceDate 2025-01-05 NextInvoiceDate 2025-02-05
[2025-01-05 04:30:14] Production.INFO: LastChargeDate 2025-01-05 NextChargeDate 2025-02-04
[2025-01-05 04:30:14] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-05 04:30:14] Production.INFO: ========================== Invoice Send End =============================
[2025-01-05 04:30:14] Production.INFO: AccountID =188 FirstInvoiceSend 0
[2025-01-05 04:30:14] Production.INFO: LastInvoiceDate 2024-12-05 NextInvoiceDate 2025-01-05
[2025-01-05 04:30:14] Production.INFO: LastChargeDate 2024-12-05 NextChargeDate 2025-01-04
[2025-01-05 04:30:14] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-05 04:30:14] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-05 04:30:14] Production.INFO: Invoice::sendInvoice(1,188,2024-12-05,2025-01-05,billing@onswitchit.ca)
[2025-01-05 04:30:14] Production.INFO: start Date =2024-12-05 EndDate =2025-01-04 23:59:59
[2025-01-05 04:30:14] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-05 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-05 04:30:14] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-05 04:30:14] Production.INFO: AlreadyBilled
[2025-01-05 04:30:14] Production.INFO: Reseller ==> 0
[2025-01-05 04:30:14] Production.INFO: original start date ==>2024-12-05 changed start date ==>2024-12-05 00:00:00 original end date ==>2025-01-04 23:59:59 changed end date ==>2025-01-04 23:59:59
[2025-01-05 04:30:14] Production.INFO: CompanyGatewayID 1 TotalCharges ==>10.09000000
[2025-01-05 04:30:14] Production.INFO: Invoice::getAccountUsageTotal(1,188,2024-12-05,2025-01-04 23:59:59)
[2025-01-05 04:30:14] Production.INFO: TotalCharges - 10.09
[2025-01-05 04:30:14] Production.INFO: TotalUsageCharges - 10.09
[2025-01-05 04:30:14] Production.INFO: Usage Over
[2025-01-05 04:30:14] Production.INFO: Call prc_getAccountSubscription(188,0)
[2025-01-05 04:30:14] Production.INFO: SUBSCRIPTION 2
[2025-01-05 04:30:14] Production.INFO: ============================Subscription Start =================
[2025-01-05 04:30:14] Production.INFO: SubscriptionID - 2
[2025-01-05 04:30:14] Production.INFO: isAdvanceSubscription - 2
[2025-01-05 04:30:14] Production.INFO: SubscriptionStartDate =2025-01-05 - SubscriptionEndDate = 2025-02-04
[2025-01-05 04:30:14] Production.INFO: NewNextChargeDate =2025-02-04 00:00:00
[2025-01-05 04:30:14] Production.INFO: EndDate =2025-01-04 00:00:00
[2025-01-05 04:30:14] Production.INFO: NewEndDate1 =2025-01-05
[2025-01-05 04:30:14] Production.INFO: SubscriptionDate
[2025-01-05 04:30:14] Production.INFO: Array
(
[StartDate] => 2025-01-05
[EndDate] => 2025-02-04 00:00:00
[AlreadyCharged] => 0
)
[2025-01-05 04:30:14] Production.INFO: AccountSubscription StartDate 2023-05-08 StartDate 2024-12-05
[2025-01-05 04:30:14] Production.INFO: SubscriptionID - 2025-01-05=====2025-02-04 00:00:00
[2025-01-05 04:30:14] Production.INFO: AccountSubscriptionID - 727 === 2023-05-08=====2026-01-05
[2025-01-05 04:30:14] Production.INFO: regular Advance Subscription
[2025-01-05 04:30:14] Production.INFO: First Time False 2023-05-08 2025-01-05
[2025-01-05 04:30:14] Production.INFO: StartDate 2025-01-05 AccountSubscription->StartDate 2023-05-08 EndDate 2025-02-04 00:00:00 AccountSubscription->EndDate 2026-01-05
[2025-01-05 04:30:14] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-05 04:30:14] Production.INFO: AccountSubscription::getSubscriptionAmount(727,2025-01-05,2025-02-04 00:00:00,,0)
[2025-01-05 04:30:14] Production.INFO: SubscriptionCharge - 10
[2025-01-05 04:30:14] Production.INFO: Already Invoice Subscription 0
[2025-01-05 04:30:14] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(188,1,2,2025-01-05,2025-02-04 00:00:00,License for an Unlimited Canada/US Cloud Phone extension,10,10,1,727)
[2025-01-05 04:30:14] Production.INFO: DiscountAmount 0.000000
[2025-01-05 04:30:14] Production.INFO: DiscountType Flat
[2025-01-05 04:30:14] Production.INFO: SubscriptionCharge 10
[2025-01-05 04:30:14] Production.INFO: New SubscriptionCharge 10
[2025-01-05 04:30:14] Production.INFO: TotalSubscriptionCharge - 10.00
[2025-01-05 04:30:14] Production.INFO: ============================Subscription End =================
[2025-01-05 04:30:14] Production.INFO: ============================Subscription Start =================
[2025-01-05 04:30:14] Production.INFO: SubscriptionID - 4
[2025-01-05 04:30:14] Production.INFO: isAdvanceSubscription - 4
[2025-01-05 04:30:14] Production.INFO: SubscriptionStartDate =2025-01-05 - SubscriptionEndDate = 2025-02-04
[2025-01-05 04:30:14] Production.INFO: NewNextChargeDate =2025-02-04 00:00:00
[2025-01-05 04:30:14] Production.INFO: EndDate =2025-01-04 00:00:00
[2025-01-05 04:30:14] Production.INFO: NewEndDate1 =2025-01-05
[2025-01-05 04:30:14] Production.INFO: SubscriptionDate
[2025-01-05 04:30:14] Production.INFO: Array
(
[StartDate] => 2025-01-05
[EndDate] => 2025-02-04 00:00:00
[AlreadyCharged] => 0
)
[2025-01-05 04:30:14] Production.INFO: AccountSubscription StartDate 2023-05-08 StartDate 2024-12-05
[2025-01-05 04:30:14] Production.INFO: SubscriptionID - 2025-01-05=====2025-02-04 00:00:00
[2025-01-05 04:30:14] Production.INFO: AccountSubscriptionID - 728 === 2023-05-08=====2026-01-05
[2025-01-05 04:30:14] Production.INFO: regular Advance Subscription
[2025-01-05 04:30:14] Production.INFO: First Time False 2023-05-08 2025-01-05
[2025-01-05 04:30:14] Production.INFO: StartDate 2025-01-05 AccountSubscription->StartDate 2023-05-08 EndDate 2025-02-04 00:00:00 AccountSubscription->EndDate 2026-01-05
[2025-01-05 04:30:14] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-05 04:30:14] Production.INFO: AccountSubscription::getSubscriptionAmount(728,2025-01-05,2025-02-04 00:00:00,,0)
[2025-01-05 04:30:14] Production.INFO: SubscriptionCharge - 2.5
[2025-01-05 04:30:14] Production.INFO: Already Invoice Subscription 0
[2025-01-05 04:30:14] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(188,1,4,2025-01-05,2025-02-04 00:00:00,e911 address registration (9053321362 - 1332 Khalsa Drive 11 Mississauga, ON L5S 0A2 Canada),2.5,2.5,1,728)
[2025-01-05 04:30:14] Production.INFO: DiscountAmount 0.000000
[2025-01-05 04:30:14] Production.INFO: DiscountType Flat
[2025-01-05 04:30:14] Production.INFO: SubscriptionCharge 2.5
[2025-01-05 04:30:14] Production.INFO: New SubscriptionCharge 2.5
[2025-01-05 04:30:14] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-01-05 04:30:14] Production.INFO: ============================Subscription End =================
[2025-01-05 04:30:14] Production.INFO: SUBSCRIPTION Over
[2025-01-05 04:30:14] Production.INFO: Call prc_getAccountOneOffCharge(188,0,2024-12-05,2025-01-05 23:59:59)
[2025-01-05 04:30:14] Production.INFO: AccountOneOffCharge 0
[2025-01-05 04:30:14] Production.INFO: AccountOneOffCharge Over
[2025-01-05 04:30:14] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-05 04:30:14] Production.INFO: New UsageDates 2024-12-05 - 2025-01-04 23:59:59
[2025-01-05 04:30:14] Production.INFO: SubTotal 22.59
[2025-01-05 04:30:14] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-05 04:30:14] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-05 04:30:14] Production.INFO: TotalTax 2.9367
[2025-01-05 04:30:14] Production.INFO: InvoiceGrandTotal 25.5267
[2025-01-05 04:30:14] Production.INFO: InvoiceTaxAmount 2.94
[2025-01-05 04:30:14] Production.INFO: GrandTotal 25.53
[2025-01-05 04:30:14] Production.INFO: SubTotal 22.59
[2025-01-05 04:30:14] Production.INFO: TotalDue 25.53
[2025-01-05 04:30:14] Production.INFO: Reseller ==> 0
[2025-01-05 04:30:14] Production.INFO: original start date ==>2024-12-05 changed start date ==>2024-12-05 00:00:00 original end date ==>2025-01-04 23:59:59 changed end date ==>2025-01-04 23:59:59
[2025-01-05 04:30:14] Production.INFO: CALL prc_getInvoiceUsage(1,'188','0','1','2024-12-05 00:00:00','2025-01-04 23:59:59',0)
[2025-01-05 04:30:14] Production.INFO: PDF Generation start
[2025-01-05 04:30:15] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/188/Invoices/2025/01/05/Invoice-all-care-insurance-brokers-ltd-inv11313-from-12-05-2024-to-01-04-2025-10238.pdf
[2025-01-05 04:30:15] Production.INFO: On Linux
[2025-01-05 04:30:17] Production.INFO: /var/www/html/onswitch.neon.service/wkhtmltox/bin/wkhtmltopdf --header-spacing 3 --footer-spacing 1 --header-html --footer-html "/var/www/tmp/1/188/Invoices/2025/01/05/footer-all-care-insurance-brokers-ltd-inv11313-from-12-05-2024-to-01-04-2025-10238.html" "/var/www/tmp/1/188/Invoices/2025/01/05/Invoice-all-care-insurance-brokers-ltd-inv11313-from-12-05-2024-to-01-04-2025-10238.html" "/var/www/tmp/1/188/Invoices/2025/01/05/Invoice-all-care-insurance-brokers-ltd-inv11313-from-12-05-2024-to-01-04-2025-10238.pdf"
[2025-01-05 04:30:17] Production.INFO:
[2025-01-05 04:30:17] Production.INFO: /var/www/tmp/1/188/Invoices/2025/01/05/Invoice-all-care-insurance-brokers-ltd-inv11313-from-12-05-2024-to-01-04-2025-10238.html
[2025-01-05 04:30:17] Production.INFO: /var/www/tmp/1/188/Invoices/2025/01/05/header-all-care-insurance-brokers-ltd-inv11313-from-12-05-2024-to-01-04-2025-10238.html
[2025-01-05 04:30:17] Production.INFO: /var/www/tmp/1/188/Invoices/2025/01/05/footer-all-care-insurance-brokers-ltd-inv11313-from-12-05-2024-to-01-04-2025-10238.html
[2025-01-05 04:30:17] Production.INFO: Invoice generation PDF path
[2025-01-05 04:30:17] Production.INFO: PDF fullPath 1/188/Invoices/2025/01/05/Invoice-all-care-insurance-brokers-ltd-inv11313-from-12-05-2024-to-01-04-2025-10238.pdf
[2025-01-05 04:30:17] Production.INFO: Generate Usage File Start
[2025-01-05 04:30:17] Production.INFO: Usage File fullPath 1/188/InvoiceUsageFile/2025/01/05/all-care-insurance-brokers-ltd-05-12-2024-00-00-00-TO-04-01-2025-23-59-59_6328__ac934e20-cb47-11ef-a3d1-3bdcd7d5971d.csv
[2025-01-05 04:30:17] Production.INFO: Sending Email to Staff over
[2025-01-05 04:30:17] Production.INFO: Email Status 1
[2025-01-05 04:30:17] Production.INFO: Sending Email to Customer
[2025-01-05 04:30:18] Production.INFO: Email Try 10238 1
[2025-01-05 04:30:18] Production.INFO: =========== Email Sending over ===========
[2025-01-05 04:30:18] Production.INFO: =========== Returning as Success =========== AccountID 188
[2025-01-05 04:30:18] Production.INFO: Invoice::sendInvoice done
[2025-01-05 04:30:18] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-05 04:30:18] Production.INFO: Invoice Committed AccountID = 188
[2025-01-05 04:30:18] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-05 04:30:18] Production.INFO: NextInvoice 2025-01-05 2025-02-04
[2025-01-05 04:30:18] Production.INFO: new dates
[2025-01-05 04:30:18] Production.INFO: LastInvoiceDate 2025-01-05 NextInvoiceDate 2025-02-05
[2025-01-05 04:30:18] Production.INFO: LastChargeDate 2025-01-05 NextChargeDate 2025-02-04
[2025-01-05 04:30:18] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-05 04:30:18] Production.INFO: ========================== Invoice Send End =============================
[2025-01-05 04:30:18] Production.INFO: AccountID =195 FirstInvoiceSend 0
[2025-01-05 04:30:18] Production.INFO: LastInvoiceDate 2024-12-05 NextInvoiceDate 2025-01-05
[2025-01-05 04:30:18] Production.INFO: LastChargeDate 2025-01-05 NextChargeDate 2025-02-04
[2025-01-05 04:30:18] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-05 04:30:18] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-05 04:30:18] Production.INFO: Invoice::sendInvoice(1,195,2024-12-05,2025-01-05,billing@onswitchit.ca)
[2025-01-05 04:30:18] Production.INFO: start Date =2025-01-05 EndDate =2025-02-04 23:59:59
[2025-01-05 04:30:18] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-05 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-05 04:30:18] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-05 04:30:18] Production.INFO: AlreadyBilled
[2025-01-05 04:30:18] Production.INFO: Charge In Advance Logic
[2025-01-05 04:30:18] Production.INFO: Reseller ==> 0
[2025-01-05 04:30:18] Production.INFO: Invoice::getAccountUsageTotal(1,195,2024-12-05,2025-01-04 23:59:59)
[2025-01-05 04:30:18] Production.INFO: TotalCharges - 0
[2025-01-05 04:30:18] Production.INFO: TotalUsageCharges - 0.00
[2025-01-05 04:30:18] Production.INFO: Usage Over
[2025-01-05 04:30:18] Production.INFO: Call prc_getAccountSubscription(195,0)
[2025-01-05 04:30:18] Production.INFO: SUBSCRIPTION 1
[2025-01-05 04:30:18] Production.INFO: ============================Subscription Start =================
[2025-01-05 04:30:18] Production.INFO: SubscriptionID - 1
[2025-01-05 04:30:18] Production.INFO: isAdvanceSubscription - 1
[2025-01-05 04:30:18] Production.INFO: SubscriptionStartDate =2025-02-05 - SubscriptionEndDate = 2025-03-04
[2025-01-05 04:30:18] Production.INFO: NewNextChargeDate =2025-03-04 00:00:00
[2025-01-05 04:30:18] Production.INFO: EndDate =2025-02-04 00:00:00
[2025-01-05 04:30:18] Production.INFO: NewEndDate1 =2025-02-05
[2025-01-05 04:30:18] Production.INFO: SubscriptionDate
[2025-01-05 04:30:18] Production.INFO: Array
(
[StartDate] => 2025-02-05
[EndDate] => 2025-03-04 00:00:00
[AlreadyCharged] => 0
)
[2025-01-05 04:30:18] Production.INFO: AccountSubscription StartDate 2023-01-05 StartDate 2025-01-05
[2025-01-05 04:30:18] Production.INFO: SubscriptionID - 2025-02-05=====2025-03-04 00:00:00
[2025-01-05 04:30:18] Production.INFO: AccountSubscriptionID - 676 === 2023-01-05=====2026-01-05
[2025-01-05 04:30:18] Production.INFO: regular Advance Subscription
[2025-01-05 04:30:18] Production.INFO: First Time False 2023-01-05 2025-02-05
[2025-01-05 04:30:18] Production.INFO: StartDate 2025-02-05 AccountSubscription->StartDate 2023-01-05 EndDate 2025-03-04 00:00:00 AccountSubscription->EndDate 2026-01-05
[2025-01-05 04:30:18] Production.INFO: days diff - 28 subscription days 28 quarter days 90
[2025-01-05 04:30:18] Production.INFO: AccountSubscription::getSubscriptionAmount(676,2025-02-05,2025-03-04 00:00:00,,0)
[2025-01-05 04:30:18] Production.INFO: SubscriptionCharge - 1.75
[2025-01-05 04:30:18] Production.INFO: Already Invoice Subscription 0
[2025-01-05 04:30:18] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(195,1,1,2025-02-05,2025-03-04 00:00:00,License for a VM-only line,1.75,1.75,1,676)
[2025-01-05 04:30:18] Production.INFO: DiscountAmount 0.000000
[2025-01-05 04:30:18] Production.INFO: DiscountType Flat
[2025-01-05 04:30:18] Production.INFO: SubscriptionCharge 1.75
[2025-01-05 04:30:18] Production.INFO: New SubscriptionCharge 1.75
[2025-01-05 04:30:18] Production.INFO: TotalSubscriptionCharge - 1.75
[2025-01-05 04:30:18] Production.INFO: ============================Subscription End =================
[2025-01-05 04:30:18] Production.INFO: SUBSCRIPTION Over
[2025-01-05 04:30:18] Production.INFO: Call prc_getAccountOneOffCharge(195,0,2025-01-05,2025-02-05 23:59:59)
[2025-01-05 04:30:18] Production.INFO: AccountOneOffCharge 0
[2025-01-05 04:30:18] Production.INFO: AccountOneOffCharge Over
[2025-01-05 04:30:18] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-05 04:30:18] Production.INFO: New UsageDates 2024-12-05 - 2025-01-04 23:59:59
[2025-01-05 04:30:18] Production.INFO: SubTotal 1.75
[2025-01-05 04:30:18] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-05 04:30:18] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-05 04:30:18] Production.INFO: TotalTax 0.2275
[2025-01-05 04:30:18] Production.INFO: InvoiceGrandTotal 1.9775
[2025-01-05 04:30:18] Production.INFO: InvoiceTaxAmount 0.23
[2025-01-05 04:30:18] Production.INFO: GrandTotal 1.98
[2025-01-05 04:30:18] Production.INFO: SubTotal 1.75
[2025-01-05 04:30:18] Production.INFO: TotalDue 1.98
[2025-01-05 04:30:18] Production.INFO: Reseller ==> 0
[2025-01-05 04:30:18] Production.INFO: PDF Generation start
[2025-01-05 04:30:18] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/195/Invoices/2025/01/05/Invoice-tsfv-management-corp-two-small-fish-inv11314-from-01-05-2025-to-02-04-2025-10239.pdf
[2025-01-05 04:30:18] Production.INFO: On Linux
[2025-01-05 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/195/Invoices/2025/01/05/footer-tsfv-management-corp-two-small-fish-inv11314-from-01-05-2025-to-02-04-2025-10239.html" "/var/www/tmp/1/195/Invoices/2025/01/05/Invoice-tsfv-management-corp-two-small-fish-inv11314-from-01-05-2025-to-02-04-2025-10239.html" "/var/www/tmp/1/195/Invoices/2025/01/05/Invoice-tsfv-management-corp-two-small-fish-inv11314-from-01-05-2025-to-02-04-2025-10239.pdf"
[2025-01-05 04:30:19] Production.INFO:
[2025-01-05 04:30:19] Production.INFO: /var/www/tmp/1/195/Invoices/2025/01/05/Invoice-tsfv-management-corp-two-small-fish-inv11314-from-01-05-2025-to-02-04-2025-10239.html
[2025-01-05 04:30:19] Production.INFO: /var/www/tmp/1/195/Invoices/2025/01/05/header-tsfv-management-corp-two-small-fish-inv11314-from-01-05-2025-to-02-04-2025-10239.html
[2025-01-05 04:30:19] Production.INFO: /var/www/tmp/1/195/Invoices/2025/01/05/footer-tsfv-management-corp-two-small-fish-inv11314-from-01-05-2025-to-02-04-2025-10239.html
[2025-01-05 04:30:19] Production.INFO: Invoice generation PDF path
[2025-01-05 04:30:19] Production.INFO: PDF fullPath 1/195/Invoices/2025/01/05/Invoice-tsfv-management-corp-two-small-fish-inv11314-from-01-05-2025-to-02-04-2025-10239.pdf
[2025-01-05 04:30:19] Production.INFO: Generate Usage File Start
[2025-01-05 04:30:19] Production.INFO: Usage File fullPath 1/195/InvoiceUsageFile/2025/01/05/tsfv-management-corp-two-small-fish-05-12-2024-00-00-00-TO-04-01-2025-23-59-59_5778__ae4dfaf0-cb47-11ef-a914-d5fd70a15643.csv
[2025-01-05 04:30:20] Production.INFO: Sending Email to Staff over
[2025-01-05 04:30:20] Production.INFO: Email Status 1
[2025-01-05 04:30:20] Production.INFO: Sending Email to Customer
[2025-01-05 04:30:20] Production.INFO: =========== Email Sending over ===========
[2025-01-05 04:30:20] Production.INFO: =========== Returning as Success =========== AccountID 195
[2025-01-05 04:30:20] Production.INFO: Invoice::sendInvoice done
[2025-01-05 04:30:20] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-05 04:30:20] Production.INFO: Invoice Committed AccountID = 195
[2025-01-05 04:30:20] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-05 04:30:20] Production.INFO: NextInvoice 2025-02-05 2025-03-04
[2025-01-05 04:30:20] Production.INFO: new dates
[2025-01-05 04:30:20] Production.INFO: LastInvoiceDate 2025-01-05 NextInvoiceDate 2025-02-05
[2025-01-05 04:30:20] Production.INFO: LastChargeDate 2025-02-05 NextChargeDate 2025-03-04
[2025-01-05 04:30:20] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-05 04:30:20] Production.INFO: ========================== Invoice Send End =============================
[2025-01-05 04:30:20] Production.INFO: AccountID =218 FirstInvoiceSend 0
[2025-01-05 04:30:20] Production.INFO: LastInvoiceDate 2024-12-05 NextInvoiceDate 2025-01-05
[2025-01-05 04:30:20] Production.INFO: LastChargeDate 2024-12-05 NextChargeDate 2025-01-04
[2025-01-05 04:30:20] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-05 04:30:20] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-05 04:30:20] Production.INFO: Invoice::sendInvoice(1,218,2024-12-05,2025-01-05,billing@onswitchit.ca)
[2025-01-05 04:30:20] Production.INFO: start Date =2024-12-05 EndDate =2025-01-04 23:59:59
[2025-01-05 04:30:20] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-05 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-05 04:30:20] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-05 04:30:20] Production.INFO: AlreadyBilled
[2025-01-05 04:30:20] Production.INFO: Reseller ==> 0
[2025-01-05 04:30:20] Production.INFO: original start date ==>2024-12-05 changed start date ==>2024-12-05 01:00:00 original end date ==>2025-01-04 23:59:59 changed end date ==>2025-01-05 00:59:59
[2025-01-05 04:30:21] Production.INFO: CompanyGatewayID 1 TotalCharges ==>1.05000000
[2025-01-05 04:30:21] Production.INFO: Invoice::getAccountUsageTotal(1,218,2024-12-05,2025-01-04 23:59:59)
[2025-01-05 04:30:21] Production.INFO: TotalCharges - 1.05
[2025-01-05 04:30:21] Production.INFO: TotalUsageCharges - 1.05
[2025-01-05 04:30:21] Production.INFO: Usage Over
[2025-01-05 04:30:21] Production.INFO: Call prc_getAccountSubscription(218,0)
[2025-01-05 04:30:21] Production.INFO: SUBSCRIPTION 2
[2025-01-05 04:30:21] Production.INFO: ============================Subscription Start =================
[2025-01-05 04:30:21] Production.INFO: SubscriptionID - 5
[2025-01-05 04:30:21] Production.INFO: isAdvanceSubscription - 5
[2025-01-05 04:30:21] Production.INFO: SubscriptionStartDate =2025-01-05 - SubscriptionEndDate = 2025-02-04
[2025-01-05 04:30:21] Production.INFO: NewNextChargeDate =2025-02-04 00:00:00
[2025-01-05 04:30:21] Production.INFO: EndDate =2025-01-04 00:00:00
[2025-01-05 04:30:21] Production.INFO: NewEndDate1 =2025-01-05
[2025-01-05 04:30:21] Production.INFO: SubscriptionDate
[2025-01-05 04:30:21] Production.INFO: Array
(
[StartDate] => 2025-01-05
[EndDate] => 2025-02-04 00:00:00
[AlreadyCharged] => 0
)
[2025-01-05 04:30:21] Production.INFO: AccountSubscription StartDate 2023-10-02 StartDate 2024-12-05
[2025-01-05 04:30:21] Production.INFO: SubscriptionID - 2025-01-05=====2025-02-04 00:00:00
[2025-01-05 04:30:21] Production.INFO: AccountSubscriptionID - 729 === 2023-10-02=====2026-01-05
[2025-01-05 04:30:21] Production.INFO: regular Advance Subscription
[2025-01-05 04:30:21] Production.INFO: First Time False 2023-10-02 2025-01-05
[2025-01-05 04:30:21] Production.INFO: StartDate 2025-01-05 AccountSubscription->StartDate 2023-10-02 EndDate 2025-02-04 00:00:00 AccountSubscription->EndDate 2026-01-05
[2025-01-05 04:30:21] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-05 04:30:21] Production.INFO: AccountSubscription::getSubscriptionAmount(729,2025-01-05,2025-02-04 00:00:00,,0)
[2025-01-05 04:30:21] Production.INFO: SubscriptionCharge - 75.99
[2025-01-05 04:30:21] Production.INFO: Already Invoice Subscription 0
[2025-01-05 04:30:21] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(218,1,5,2025-01-05,2025-02-04 00:00:00,Restaurant - 4 Line Flat Rate,75.99,75.99,1,729)
[2025-01-05 04:30:21] Production.INFO: DiscountAmount 0.000000
[2025-01-05 04:30:21] Production.INFO: DiscountType Flat
[2025-01-05 04:30:21] Production.INFO: SubscriptionCharge 75.99
[2025-01-05 04:30:21] Production.INFO: New SubscriptionCharge 75.99
[2025-01-05 04:30:21] Production.INFO: TotalSubscriptionCharge - 75.99
[2025-01-05 04:30:21] Production.INFO: ============================Subscription End =================
[2025-01-05 04:30:21] Production.INFO: ============================Subscription Start =================
[2025-01-05 04:30:21] Production.INFO: SubscriptionID - 4
[2025-01-05 04:30:21] Production.INFO: isAdvanceSubscription - 4
[2025-01-05 04:30:21] Production.INFO: SubscriptionStartDate =2025-01-05 - SubscriptionEndDate = 2025-02-04
[2025-01-05 04:30:21] Production.INFO: NewNextChargeDate =2025-02-04 00:00:00
[2025-01-05 04:30:21] Production.INFO: EndDate =2025-01-04 00:00:00
[2025-01-05 04:30:21] Production.INFO: NewEndDate1 =2025-01-05
[2025-01-05 04:30:21] Production.INFO: SubscriptionDate
[2025-01-05 04:30:21] Production.INFO: Array
(
[StartDate] => 2025-01-05
[EndDate] => 2025-02-04 00:00:00
[AlreadyCharged] => 0
)
[2025-01-05 04:30:21] Production.INFO: AccountSubscription StartDate 2023-10-02 StartDate 2024-12-05
[2025-01-05 04:30:21] Production.INFO: SubscriptionID - 2025-01-05=====2025-02-04 00:00:00
[2025-01-05 04:30:21] Production.INFO: AccountSubscriptionID - 730 === 2023-10-02=====2026-01-05
[2025-01-05 04:30:21] Production.INFO: regular Advance Subscription
[2025-01-05 04:30:21] Production.INFO: First Time False 2023-10-02 2025-01-05
[2025-01-05 04:30:21] Production.INFO: StartDate 2025-01-05 AccountSubscription->StartDate 2023-10-02 EndDate 2025-02-04 00:00:00 AccountSubscription->EndDate 2026-01-05
[2025-01-05 04:30:21] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-05 04:30:21] Production.INFO: AccountSubscription::getSubscriptionAmount(730,2025-01-05,2025-02-04 00:00:00,,0)
[2025-01-05 04:30:21] Production.INFO: SubscriptionCharge - 2.5
[2025-01-05 04:30:21] Production.INFO: Already Invoice Subscription 0
[2025-01-05 04:30:21] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(218,1,4,2025-01-05,2025-02-04 00:00:00,e911 address registration (3064452555 - 302 114 Street North Battleford, SK S9A 2M6 Canada),2.5,2.5,1,730)
[2025-01-05 04:30:21] Production.INFO: DiscountAmount 0.000000
[2025-01-05 04:30:21] Production.INFO: DiscountType Flat
[2025-01-05 04:30:21] Production.INFO: SubscriptionCharge 2.5
[2025-01-05 04:30:21] Production.INFO: New SubscriptionCharge 2.5
[2025-01-05 04:30:21] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-01-05 04:30:21] Production.INFO: ============================Subscription End =================
[2025-01-05 04:30:21] Production.INFO: SUBSCRIPTION Over
[2025-01-05 04:30:21] Production.INFO: Call prc_getAccountOneOffCharge(218,0,2024-12-05,2025-01-05 23:59:59)
[2025-01-05 04:30:21] Production.INFO: AccountOneOffCharge 0
[2025-01-05 04:30:21] Production.INFO: AccountOneOffCharge Over
[2025-01-05 04:30:21] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-05 04:30:21] Production.INFO: New UsageDates 2024-12-05 - 2025-01-04 23:59:59
[2025-01-05 04:30:21] Production.INFO: SubTotal 79.54
[2025-01-05 04:30:21] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-05 04:30:21] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-05 04:30:21] Production.INFO: TotalTax 7.954
[2025-01-05 04:30:21] Production.INFO: InvoiceGrandTotal 87.494
[2025-01-05 04:30:21] Production.INFO: InvoiceTaxAmount 7.95
[2025-01-05 04:30:21] Production.INFO: GrandTotal 87.49
[2025-01-05 04:30:21] Production.INFO: SubTotal 79.54
[2025-01-05 04:30:21] Production.INFO: TotalDue 437.47
[2025-01-05 04:30:21] Production.INFO: Reseller ==> 0
[2025-01-05 04:30:21] Production.INFO: original start date ==>2024-12-05 changed start date ==>2024-12-05 01:00:00 original end date ==>2025-01-04 23:59:59 changed end date ==>2025-01-05 00:59:59
[2025-01-05 04:30:21] Production.INFO: CALL prc_getInvoiceUsage(1,'218','0','1','2024-12-05 01:00:00','2025-01-05 00:59:59',0)
[2025-01-05 04:30:21] Production.INFO: PDF Generation start
[2025-01-05 04:30:22] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/218/Invoices/2025/01/05/Invoice-dominos-10164-jordan-hodgson-inv11315-from-12-05-2024-to-01-04-2025-10240.pdf
[2025-01-05 04:30:22] Production.INFO: On Linux
[2025-01-05 04:30:23] 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/01/05/footer-dominos-10164-jordan-hodgson-inv11315-from-12-05-2024-to-01-04-2025-10240.html" "/var/www/tmp/1/218/Invoices/2025/01/05/Invoice-dominos-10164-jordan-hodgson-inv11315-from-12-05-2024-to-01-04-2025-10240.html" "/var/www/tmp/1/218/Invoices/2025/01/05/Invoice-dominos-10164-jordan-hodgson-inv11315-from-12-05-2024-to-01-04-2025-10240.pdf"
[2025-01-05 04:30:23] Production.INFO:
[2025-01-05 04:30:23] Production.INFO: /var/www/tmp/1/218/Invoices/2025/01/05/Invoice-dominos-10164-jordan-hodgson-inv11315-from-12-05-2024-to-01-04-2025-10240.html
[2025-01-05 04:30:23] Production.INFO: /var/www/tmp/1/218/Invoices/2025/01/05/header-dominos-10164-jordan-hodgson-inv11315-from-12-05-2024-to-01-04-2025-10240.html
[2025-01-05 04:30:23] Production.INFO: /var/www/tmp/1/218/Invoices/2025/01/05/footer-dominos-10164-jordan-hodgson-inv11315-from-12-05-2024-to-01-04-2025-10240.html
[2025-01-05 04:30:23] Production.INFO: Invoice generation PDF path
[2025-01-05 04:30:23] Production.INFO: PDF fullPath 1/218/Invoices/2025/01/05/Invoice-dominos-10164-jordan-hodgson-inv11315-from-12-05-2024-to-01-04-2025-10240.pdf
[2025-01-05 04:30:23] Production.INFO: Generate Usage File Start
[2025-01-05 04:30:23] Production.INFO: Usage File fullPath 1/218/InvoiceUsageFile/2025/01/05/dominos-10164-jordan-hodgson-05-12-2024-00-00-00-TO-04-01-2025-23-59-59_149__b0895d80-cb47-11ef-947e-591f057e9cbc.csv
[2025-01-05 04:30:24] Production.INFO: Sending Email to Staff over
[2025-01-05 04:30:24] Production.INFO: Email Status 1
[2025-01-05 04:30:24] Production.INFO: Sending Email to Customer
[2025-01-05 04:30:25] Production.INFO: Email Try 10240 1
[2025-01-05 04:30:25] Production.INFO: =========== Email Sending over ===========
[2025-01-05 04:30:25] Production.INFO: =========== Returning as Success =========== AccountID 218
[2025-01-05 04:30:25] Production.INFO: Invoice::sendInvoice done
[2025-01-05 04:30:25] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-05 04:30:25] Production.INFO: Invoice Committed AccountID = 218
[2025-01-05 04:30:25] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-05 04:30:25] Production.INFO: NextInvoice 2025-01-05 2025-02-04
[2025-01-05 04:30:25] Production.INFO: new dates
[2025-01-05 04:30:25] Production.INFO: LastInvoiceDate 2025-01-05 NextInvoiceDate 2025-02-05
[2025-01-05 04:30:25] Production.INFO: LastChargeDate 2025-01-05 NextChargeDate 2025-02-04
[2025-01-05 04:30:25] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-05 04:30:25] Production.INFO: ========================== Invoice Send End =============================
[2025-01-05 04:30:25] Production.INFO: ========================== Recurring invoice Start =============================
[2025-01-05 04:30:25] Production.INFO: recurring invoices ID
[2025-01-05 04:30:25] Production.INFO:
[2025-01-05 04:30:25] Production.INFO: recurring errorsArray
(
)
[2025-01-05 04:30:25] Production.INFO: ========================== Recurring invoice End =============================
[2025-01-05 04:30:25] Production.INFO: ========================== Job Updated =============================
[2025-01-05 04:30:26] Production.INFO: ========================== Job Email Sent =============================
[2025-01-05 04:30:27] Production.ERROR: **Email Sent Status 1
[2025-01-05 04:30:27] Production.ERROR: **Email Sent message Email has been sent
[2025-01-05 04:30:27] Production.ERROR: CronJobId end6
[2025-01-05 04:30:27] Production.INFO: ==2503== Releasing lock...
[2025-01-05 04:30:27] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops#
[2025-01-05 04:30:27] Production.INFO: 40.25 MB #Memory Used#