[2025-02-06 04:31:04] Production.INFO: Call prc_getBillingAccounts(1,2025-02-06,'','0')
[2025-02-06 04:31:04] Production.INFO: Array
(
[0] => stdClass Object
(
[AccountID] => 124
[NextInvoiceDate] => 2025-02-06
[AccountName] => Dominos 39009 (Mudassar Zia)
[ServiceID] => 0
)
[1] => stdClass Object
(
[AccountID] => 153
[NextInvoiceDate] => 2025-02-06
[AccountName] => Dominos 10191 (Chandresh Patel)
[ServiceID] => 0
)
[2] => stdClass Object
(
[AccountID] => 154
[NextInvoiceDate] => 2025-02-06
[AccountName] => Dominos 10385 (Sandeep Chaudhari)
[ServiceID] => 0
)
[3] => stdClass Object
(
[AccountID] => 206
[NextInvoiceDate] => 2025-02-06
[AccountName] => G4 Jobs
[ServiceID] => 0
)
)
[2025-02-06 04:31:04] Production.INFO: AccountID =124 FirstInvoiceSend 0
[2025-02-06 04:31:04] Production.INFO: LastInvoiceDate 2025-01-06 NextInvoiceDate 2025-02-06
[2025-02-06 04:31:04] Production.INFO: LastChargeDate 2025-01-06 NextChargeDate 2025-02-05
[2025-02-06 04:31:04] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-02-06 04:31:04] Production.INFO: ========================== Invoice Send Start =============================
[2025-02-06 04:31:04] Production.INFO: Invoice::sendInvoice(1,124,2025-01-06,2025-02-06,billing@onswitchit.ca)
[2025-02-06 04:31:04] Production.INFO: start Date =2025-01-06 EndDate =2025-02-05 23:59:59
[2025-02-06 04:31:04] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-02-06 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-02-06 04:31:04] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-02-06 04:31:04] Production.INFO: AlreadyBilled
[2025-02-06 04:31:04] Production.INFO: Reseller ==> 0
[2025-02-06 04:31:04] Production.INFO: original start date ==>2025-01-06 changed start date ==>2025-01-06 02:00:00 original end date ==>2025-02-05 23:59:59 changed end date ==>2025-02-06 01:59:59
[2025-02-06 04:31:04] Production.INFO: Invoice::getAccountUsageTotal(1,124,2025-01-06,2025-02-05 23:59:59)
[2025-02-06 04:31:04] Production.INFO: TotalCharges - 0
[2025-02-06 04:31:04] Production.INFO: TotalUsageCharges - 0.00
[2025-02-06 04:31:04] Production.INFO: Usage Over
[2025-02-06 04:31:04] Production.INFO: Call prc_getAccountSubscription(124,0)
[2025-02-06 04:31:04] Production.INFO: SUBSCRIPTION 3
[2025-02-06 04:31:04] Production.INFO: ============================Subscription Start =================
[2025-02-06 04:31:04] Production.INFO: SubscriptionID - 5
[2025-02-06 04:31:04] Production.INFO: isAdvanceSubscription - 5
[2025-02-06 04:31:04] Production.INFO: SubscriptionStartDate =2025-02-06 - SubscriptionEndDate = 2025-03-05
[2025-02-06 04:31:04] Production.INFO: NewNextChargeDate =2025-03-05 00:00:00
[2025-02-06 04:31:04] Production.INFO: EndDate =2025-02-05 00:00:00
[2025-02-06 04:31:04] Production.INFO: NewEndDate1 =2025-02-06
[2025-02-06 04:31:04] Production.INFO: SubscriptionDate
[2025-02-06 04:31:04] Production.INFO: Array
(
[StartDate] => 2025-02-06
[EndDate] => 2025-03-05 00:00:00
[AlreadyCharged] => 0
)
[2025-02-06 04:31:04] Production.INFO: AccountSubscription StartDate 2019-10-04 StartDate 2025-01-06
[2025-02-06 04:31:04] Production.INFO: SubscriptionID - 2025-02-06=====2025-03-05 00:00:00
[2025-02-06 04:31:04] Production.INFO: AccountSubscriptionID - 432 === 2019-10-04=====2026-02-06
[2025-02-06 04:31:04] Production.INFO: regular Advance Subscription
[2025-02-06 04:31:04] Production.INFO: First Time False 2019-10-04 2025-02-06
[2025-02-06 04:31:04] Production.INFO: StartDate 2025-02-06 AccountSubscription->StartDate 2019-10-04 EndDate 2025-03-05 00:00:00 AccountSubscription->EndDate 2026-02-06
[2025-02-06 04:31:04] Production.INFO: days diff - 28 subscription days 28 quarter days 90
[2025-02-06 04:31:04] Production.INFO: AccountSubscription::getSubscriptionAmount(432,2025-02-06,2025-03-05 00:00:00,,0)
[2025-02-06 04:31:04] Production.INFO: SubscriptionCharge - 75
[2025-02-06 04:31:04] Production.INFO: Already Invoice Subscription 0
[2025-02-06 04:31:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(124,1,5,2025-02-06,2025-03-05 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,432)
[2025-02-06 04:31:04] Production.INFO: DiscountAmount 0.000000
[2025-02-06 04:31:04] Production.INFO: DiscountType
[2025-02-06 04:31:04] Production.INFO: SubscriptionCharge 75
[2025-02-06 04:31:04] Production.INFO: New SubscriptionCharge 75
[2025-02-06 04:31:04] Production.INFO: TotalSubscriptionCharge - 75.00
[2025-02-06 04:31:04] Production.INFO: ============================Subscription End =================
[2025-02-06 04:31:04] Production.INFO: ============================Subscription Start =================
[2025-02-06 04:31:04] Production.INFO: SubscriptionID - 4
[2025-02-06 04:31:04] Production.INFO: isAdvanceSubscription - 4
[2025-02-06 04:31:04] Production.INFO: SubscriptionStartDate =2025-02-06 - SubscriptionEndDate = 2025-03-05
[2025-02-06 04:31:04] Production.INFO: NewNextChargeDate =2025-03-05 00:00:00
[2025-02-06 04:31:04] Production.INFO: EndDate =2025-02-05 00:00:00
[2025-02-06 04:31:04] Production.INFO: NewEndDate1 =2025-02-06
[2025-02-06 04:31:04] Production.INFO: SubscriptionDate
[2025-02-06 04:31:04] Production.INFO: Array
(
[StartDate] => 2025-02-06
[EndDate] => 2025-03-05 00:00:00
[AlreadyCharged] => 0
)
[2025-02-06 04:31:04] Production.INFO: AccountSubscription StartDate 2019-10-04 StartDate 2025-01-06
[2025-02-06 04:31:04] Production.INFO: SubscriptionID - 2025-02-06=====2025-03-05 00:00:00
[2025-02-06 04:31:04] Production.INFO: AccountSubscriptionID - 433 === 2019-10-04=====2026-02-06
[2025-02-06 04:31:04] Production.INFO: regular Advance Subscription
[2025-02-06 04:31:04] Production.INFO: First Time False 2019-10-04 2025-02-06
[2025-02-06 04:31:04] Production.INFO: StartDate 2025-02-06 AccountSubscription->StartDate 2019-10-04 EndDate 2025-03-05 00:00:00 AccountSubscription->EndDate 2026-02-06
[2025-02-06 04:31:04] Production.INFO: days diff - 28 subscription days 28 quarter days 90
[2025-02-06 04:31:04] Production.INFO: AccountSubscription::getSubscriptionAmount(433,2025-02-06,2025-03-05 00:00:00,,0)
[2025-02-06 04:31:04] Production.INFO: SubscriptionCharge - 2.5
[2025-02-06 04:31:04] Production.INFO: Already Invoice Subscription 0
[2025-02-06 04:31:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(124,1,4,2025-02-06,2025-03-05 00:00:00,e911 address registration (14039819191 - 104 River Heights Blvd 4A Cochrane, AB T4C 2T8 Canada),2.5,2.5,1,433)
[2025-02-06 04:31:04] Production.INFO: DiscountAmount 0.000000
[2025-02-06 04:31:04] Production.INFO: DiscountType
[2025-02-06 04:31:04] Production.INFO: SubscriptionCharge 2.5
[2025-02-06 04:31:04] Production.INFO: New SubscriptionCharge 2.5
[2025-02-06 04:31:04] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-02-06 04:31:04] Production.INFO: ============================Subscription End =================
[2025-02-06 04:31:04] Production.INFO: ============================Subscription Start =================
[2025-02-06 04:31:04] Production.INFO: SubscriptionID - 11
[2025-02-06 04:31:04] Production.INFO: isAdvanceSubscription - 11
[2025-02-06 04:31:04] Production.INFO: SubscriptionStartDate =2025-02-06 - SubscriptionEndDate = 2025-03-05
[2025-02-06 04:31:04] Production.INFO: NewNextChargeDate =2025-03-05 00:00:00
[2025-02-06 04:31:04] Production.INFO: EndDate =2025-02-05 00:00:00
[2025-02-06 04:31:04] Production.INFO: NewEndDate1 =2025-02-06
[2025-02-06 04:31:04] Production.INFO: SubscriptionDate
[2025-02-06 04:31:04] Production.INFO: Array
(
[StartDate] => 2025-02-06
[EndDate] => 2025-03-05 00:00:00
[AlreadyCharged] => 0
)
[2025-02-06 04:31:04] Production.INFO: AccountSubscription StartDate 2019-10-04 StartDate 2025-01-06
[2025-02-06 04:31:04] Production.INFO: SubscriptionID - 2025-02-06=====2025-03-05 00:00:00
[2025-02-06 04:31:04] Production.INFO: AccountSubscriptionID - 434 === 2019-10-04=====2026-02-06
[2025-02-06 04:31:04] Production.INFO: regular Advance Subscription
[2025-02-06 04:31:04] Production.INFO: First Time False 2019-10-04 2025-02-06
[2025-02-06 04:31:04] Production.INFO: StartDate 2025-02-06 AccountSubscription->StartDate 2019-10-04 EndDate 2025-03-05 00:00:00 AccountSubscription->EndDate 2026-02-06
[2025-02-06 04:31:04] Production.INFO: days diff - 28 subscription days 28 quarter days 90
[2025-02-06 04:31:04] Production.INFO: AccountSubscription::getSubscriptionAmount(434,2025-02-06,2025-03-05 00:00:00,,0)
[2025-02-06 04:31:04] Production.INFO: SubscriptionCharge - -5
[2025-02-06 04:31:04] Production.INFO: Already Invoice Subscription 0
[2025-02-06 04:31:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(124,1,11,2025-02-06,2025-03-05 00:00:00,Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service,-15,-5,3,434)
[2025-02-06 04:31:04] Production.INFO: DiscountAmount 0.000000
[2025-02-06 04:31:04] Production.INFO: DiscountType
[2025-02-06 04:31:04] Production.INFO: SubscriptionCharge -15
[2025-02-06 04:31:04] Production.INFO: New SubscriptionCharge -15
[2025-02-06 04:31:04] Production.INFO: TotalSubscriptionCharge - -15.00
[2025-02-06 04:31:04] Production.INFO: ============================Subscription End =================
[2025-02-06 04:31:04] Production.INFO: SUBSCRIPTION Over
[2025-02-06 04:31:04] Production.INFO: Call prc_getAccountOneOffCharge(124,0,2025-01-06,2025-02-06 23:59:59)
[2025-02-06 04:31:04] Production.INFO: AccountOneOffCharge 0
[2025-02-06 04:31:04] Production.INFO: AccountOneOffCharge Over
[2025-02-06 04:31:04] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-02-06 04:31:04] Production.INFO: New UsageDates 2025-01-06 - 2025-02-05 23:59:59
[2025-02-06 04:31:04] Production.INFO: SubTotal 62.5
[2025-02-06 04:31:04] Production.INFO: SubTotalWithouttaxTotal 0
[2025-02-06 04:31:05] Production.INFO: AccountOneOffCharge Tax Over
[2025-02-06 04:31:05] Production.INFO: TotalTax 3.125
[2025-02-06 04:31:05] Production.INFO: InvoiceGrandTotal 65.625
[2025-02-06 04:31:05] Production.INFO: InvoiceTaxAmount 3.13
[2025-02-06 04:31:05] Production.INFO: GrandTotal 65.63
[2025-02-06 04:31:05] Production.INFO: SubTotal 62.50
[2025-02-06 04:31:05] Production.INFO: TotalDue 0.00
[2025-02-06 04:31:05] Production.INFO: Reseller ==> 0
[2025-02-06 04:31:05] Production.INFO: original start date ==>2025-01-06 changed start date ==>2025-01-06 02:00:00 original end date ==>2025-02-05 23:59:59 changed end date ==>2025-02-06 01:59:59
[2025-02-06 04:31:05] Production.INFO: CALL prc_getInvoiceUsage(1,'124','0','1','2025-01-06 02:00:00','2025-02-06 01:59:59',0)
[2025-02-06 04:31:05] Production.INFO: PDF Generation start
[2025-02-06 04:31:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/124/Invoices/2025/02/06/Invoice-dominos-39009-mudassar-zia-inv11473-from-01-06-2025-to-02-05-2025-10407.pdf
[2025-02-06 04:31:05] Production.INFO: On Linux
[2025-02-06 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/124/Invoices/2025/02/06/footer-dominos-39009-mudassar-zia-inv11473-from-01-06-2025-to-02-05-2025-10407.html" "/var/www/tmp/1/124/Invoices/2025/02/06/Invoice-dominos-39009-mudassar-zia-inv11473-from-01-06-2025-to-02-05-2025-10407.html" "/var/www/tmp/1/124/Invoices/2025/02/06/Invoice-dominos-39009-mudassar-zia-inv11473-from-01-06-2025-to-02-05-2025-10407.pdf"
[2025-02-06 04:31:07] Production.INFO:
[2025-02-06 04:31:07] Production.INFO: /var/www/tmp/1/124/Invoices/2025/02/06/Invoice-dominos-39009-mudassar-zia-inv11473-from-01-06-2025-to-02-05-2025-10407.html
[2025-02-06 04:31:07] Production.INFO: /var/www/tmp/1/124/Invoices/2025/02/06/header-dominos-39009-mudassar-zia-inv11473-from-01-06-2025-to-02-05-2025-10407.html
[2025-02-06 04:31:07] Production.INFO: /var/www/tmp/1/124/Invoices/2025/02/06/footer-dominos-39009-mudassar-zia-inv11473-from-01-06-2025-to-02-05-2025-10407.html
[2025-02-06 04:31:07] Production.INFO: Invoice generation PDF path
[2025-02-06 04:31:07] Production.INFO: PDF fullPath 1/124/Invoices/2025/02/06/Invoice-dominos-39009-mudassar-zia-inv11473-from-01-06-2025-to-02-05-2025-10407.pdf
[2025-02-06 04:31:07] Production.INFO: Generate Usage File Start
[2025-02-06 04:31:07] Production.INFO: Usage File fullPath 1/124/InvoiceUsageFile/2025/02/06/dominos-39009-mudassar-zia-06-01-2025-00-00-00-TO-05-02-2025-23-59-59_607__17a4d690-e46d-11ef-9ea5-832e91a478cf.csv
[2025-02-06 04:31:08] Production.INFO: Sending Email to Staff over
[2025-02-06 04:31:08] Production.INFO: Email Status 1
[2025-02-06 04:31:08] Production.INFO: Sending Email to Customer
[2025-02-06 04:31:09] Production.INFO: Email Try 10407 1
[2025-02-06 04:31:09] Production.INFO: =========== Email Sending over ===========
[2025-02-06 04:31:09] Production.INFO: =========== Returning as Success =========== AccountID 124
[2025-02-06 04:31:09] Production.INFO: Invoice::sendInvoice done
[2025-02-06 04:31:09] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-02-06 04:31:09] Production.INFO: Invoice Committed AccountID = 124
[2025-02-06 04:31:09] Production.INFO: =========== Updating InvoiceDate ===========
[2025-02-06 04:31:09] Production.INFO: NextInvoice 2025-02-06 2025-03-05
[2025-02-06 04:31:09] Production.INFO: new dates
[2025-02-06 04:31:09] Production.INFO: LastInvoiceDate 2025-02-06 NextInvoiceDate 2025-03-06
[2025-02-06 04:31:09] Production.INFO: LastChargeDate 2025-02-06 NextChargeDate 2025-03-05
[2025-02-06 04:31:09] Production.INFO: =========== Updated InvoiceDate ===========
[2025-02-06 04:31:09] Production.INFO: ========================== Invoice Send End =============================
[2025-02-06 04:31:09] Production.INFO: AccountID =153 FirstInvoiceSend 0
[2025-02-06 04:31:09] Production.INFO: LastInvoiceDate 2025-01-06 NextInvoiceDate 2025-02-06
[2025-02-06 04:31:09] Production.INFO: LastChargeDate 2025-01-06 NextChargeDate 2025-02-05
[2025-02-06 04:31:09] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-02-06 04:31:09] Production.INFO: ========================== Invoice Send Start =============================
[2025-02-06 04:31:09] Production.INFO: Invoice::sendInvoice(1,153,2025-01-06,2025-02-06,billing@onswitchit.ca)
[2025-02-06 04:31:09] Production.INFO: start Date =2025-01-06 EndDate =2025-02-05 23:59:59
[2025-02-06 04:31:09] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-02-06 04:31:09] Production.INFO: InvoiceTemplate->Terms =
This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.
[2025-02-06 04:31:09] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-02-06 04:31:09] Production.INFO: AlreadyBilled
[2025-02-06 04:31:09] Production.INFO: Reseller ==> 0
[2025-02-06 04:31:09] Production.INFO: original start date ==>2025-01-06 changed start date ==>2025-01-06 02:00:00 original end date ==>2025-02-05 23:59:59 changed end date ==>2025-02-06 01:59:59
[2025-02-06 04:31:09] Production.INFO: Invoice::getAccountUsageTotal(1,153,2025-01-06,2025-02-05 23:59:59)
[2025-02-06 04:31:09] Production.INFO: TotalCharges - 0
[2025-02-06 04:31:09] Production.INFO: TotalUsageCharges - 0.00
[2025-02-06 04:31:09] Production.INFO: Usage Over
[2025-02-06 04:31:09] Production.INFO: Call prc_getAccountSubscription(153,0)
[2025-02-06 04:31:09] Production.INFO: SUBSCRIPTION 3
[2025-02-06 04:31:09] Production.INFO: ============================Subscription Start =================
[2025-02-06 04:31:09] Production.INFO: SubscriptionID - 5
[2025-02-06 04:31:09] Production.INFO: isAdvanceSubscription - 5
[2025-02-06 04:31:09] Production.INFO: SubscriptionStartDate =2025-02-06 - SubscriptionEndDate = 2025-03-05
[2025-02-06 04:31:09] Production.INFO: NewNextChargeDate =2025-03-05 00:00:00
[2025-02-06 04:31:09] Production.INFO: EndDate =2025-02-05 00:00:00
[2025-02-06 04:31:09] Production.INFO: NewEndDate1 =2025-02-06
[2025-02-06 04:31:09] Production.INFO: SubscriptionDate
[2025-02-06 04:31:09] Production.INFO: Array
(
[StartDate] => 2025-02-06
[EndDate] => 2025-03-05 00:00:00
[AlreadyCharged] => 0
)
[2025-02-06 04:31:09] Production.INFO: AccountSubscription StartDate 2021-07-05 StartDate 2025-01-06
[2025-02-06 04:31:09] Production.INFO: SubscriptionID - 2025-02-06=====2025-03-05 00:00:00
[2025-02-06 04:31:09] Production.INFO: AccountSubscriptionID - 607 === 2021-07-05=====2026-02-06
[2025-02-06 04:31:09] Production.INFO: regular Advance Subscription
[2025-02-06 04:31:09] Production.INFO: First Time False 2021-07-05 2025-02-06
[2025-02-06 04:31:09] Production.INFO: StartDate 2025-02-06 AccountSubscription->StartDate 2021-07-05 EndDate 2025-03-05 00:00:00 AccountSubscription->EndDate 2026-02-06
[2025-02-06 04:31:09] Production.INFO: days diff - 28 subscription days 28 quarter days 90
[2025-02-06 04:31:09] Production.INFO: AccountSubscription::getSubscriptionAmount(607,2025-02-06,2025-03-05 00:00:00,,0)
[2025-02-06 04:31:09] Production.INFO: SubscriptionCharge - 75
[2025-02-06 04:31:09] Production.INFO: Already Invoice Subscription 0
[2025-02-06 04:31:09] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(153,1,5,2025-02-06,2025-03-05 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,607)
[2025-02-06 04:31:09] Production.INFO: DiscountAmount 0.000000
[2025-02-06 04:31:09] Production.INFO: DiscountType
[2025-02-06 04:31:09] Production.INFO: SubscriptionCharge 75
[2025-02-06 04:31:09] Production.INFO: New SubscriptionCharge 75
[2025-02-06 04:31:09] Production.INFO: TotalSubscriptionCharge - 75.00
[2025-02-06 04:31:09] Production.INFO: ============================Subscription End =================
[2025-02-06 04:31:09] Production.INFO: ============================Subscription Start =================
[2025-02-06 04:31:09] Production.INFO: SubscriptionID - 11
[2025-02-06 04:31:09] Production.INFO: isAdvanceSubscription - 11
[2025-02-06 04:31:09] Production.INFO: SubscriptionStartDate =2025-02-06 - SubscriptionEndDate = 2025-03-05
[2025-02-06 04:31:09] Production.INFO: NewNextChargeDate =2025-03-05 00:00:00
[2025-02-06 04:31:09] Production.INFO: EndDate =2025-02-05 00:00:00
[2025-02-06 04:31:09] Production.INFO: NewEndDate1 =2025-02-06
[2025-02-06 04:31:09] Production.INFO: SubscriptionDate
[2025-02-06 04:31:09] Production.INFO: Array
(
[StartDate] => 2025-02-06
[EndDate] => 2025-03-05 00:00:00
[AlreadyCharged] => 0
)
[2025-02-06 04:31:09] Production.INFO: AccountSubscription StartDate 2021-07-05 StartDate 2025-01-06
[2025-02-06 04:31:09] Production.INFO: SubscriptionID - 2025-02-06=====2025-03-05 00:00:00
[2025-02-06 04:31:09] Production.INFO: AccountSubscriptionID - 608 === 2021-07-05=====2026-02-06
[2025-02-06 04:31:09] Production.INFO: regular Advance Subscription
[2025-02-06 04:31:09] Production.INFO: First Time False 2021-07-05 2025-02-06
[2025-02-06 04:31:09] Production.INFO: StartDate 2025-02-06 AccountSubscription->StartDate 2021-07-05 EndDate 2025-03-05 00:00:00 AccountSubscription->EndDate 2026-02-06
[2025-02-06 04:31:09] Production.INFO: days diff - 28 subscription days 28 quarter days 90
[2025-02-06 04:31:09] Production.INFO: AccountSubscription::getSubscriptionAmount(608,2025-02-06,2025-03-05 00:00:00,,0)
[2025-02-06 04:31:09] Production.INFO: SubscriptionCharge - -25
[2025-02-06 04:31:09] Production.INFO: Already Invoice Subscription 0
[2025-02-06 04:31:09] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(153,1,11,2025-02-06,2025-03-05 00:00:00,Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service,-25,-25,1,608)
[2025-02-06 04:31:09] Production.INFO: DiscountAmount 0.000000
[2025-02-06 04:31:09] Production.INFO: DiscountType
[2025-02-06 04:31:09] Production.INFO: SubscriptionCharge -25
[2025-02-06 04:31:09] Production.INFO: New SubscriptionCharge -25
[2025-02-06 04:31:09] Production.INFO: TotalSubscriptionCharge - -25.00
[2025-02-06 04:31:09] Production.INFO: ============================Subscription End =================
[2025-02-06 04:31:09] Production.INFO: ============================Subscription Start =================
[2025-02-06 04:31:09] Production.INFO: SubscriptionID - 4
[2025-02-06 04:31:09] Production.INFO: isAdvanceSubscription - 4
[2025-02-06 04:31:09] Production.INFO: SubscriptionStartDate =2025-02-06 - SubscriptionEndDate = 2025-03-05
[2025-02-06 04:31:09] Production.INFO: NewNextChargeDate =2025-03-05 00:00:00
[2025-02-06 04:31:09] Production.INFO: EndDate =2025-02-05 00:00:00
[2025-02-06 04:31:09] Production.INFO: NewEndDate1 =2025-02-06
[2025-02-06 04:31:09] Production.INFO: SubscriptionDate
[2025-02-06 04:31:09] Production.INFO: Array
(
[StartDate] => 2025-02-06
[EndDate] => 2025-03-05 00:00:00
[AlreadyCharged] => 0
)
[2025-02-06 04:31:09] Production.INFO: AccountSubscription StartDate 2021-07-05 StartDate 2025-01-06
[2025-02-06 04:31:09] Production.INFO: SubscriptionID - 2025-02-06=====2025-03-05 00:00:00
[2025-02-06 04:31:09] Production.INFO: AccountSubscriptionID - 609 === 2021-07-05=====2026-02-06
[2025-02-06 04:31:09] Production.INFO: regular Advance Subscription
[2025-02-06 04:31:09] Production.INFO: First Time False 2021-07-05 2025-02-06
[2025-02-06 04:31:09] Production.INFO: StartDate 2025-02-06 AccountSubscription->StartDate 2021-07-05 EndDate 2025-03-05 00:00:00 AccountSubscription->EndDate 2026-02-06
[2025-02-06 04:31:09] Production.INFO: days diff - 28 subscription days 28 quarter days 90
[2025-02-06 04:31:09] Production.INFO: AccountSubscription::getSubscriptionAmount(609,2025-02-06,2025-03-05 00:00:00,,0)
[2025-02-06 04:31:09] Production.INFO: SubscriptionCharge - 2.5
[2025-02-06 04:31:09] Production.INFO: Already Invoice Subscription 0
[2025-02-06 04:31:09] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(153,1,4,2025-02-06,2025-03-05 00:00:00,e911 address registration (17809689999 - 3919 49 Ave, Unit 121, Stony Plain, AB T7Z2J7),2.5,2.5,1,609)
[2025-02-06 04:31:09] Production.INFO: DiscountAmount 0.000000
[2025-02-06 04:31:09] Production.INFO: DiscountType
[2025-02-06 04:31:09] Production.INFO: SubscriptionCharge 2.5
[2025-02-06 04:31:09] Production.INFO: New SubscriptionCharge 2.5
[2025-02-06 04:31:09] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-02-06 04:31:09] Production.INFO: ============================Subscription End =================
[2025-02-06 04:31:09] Production.INFO: SUBSCRIPTION Over
[2025-02-06 04:31:09] Production.INFO: Call prc_getAccountOneOffCharge(153,0,2025-01-06,2025-02-06 23:59:59)
[2025-02-06 04:31:09] Production.INFO: AccountOneOffCharge 0
[2025-02-06 04:31:09] Production.INFO: AccountOneOffCharge Over
[2025-02-06 04:31:09] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-02-06 04:31:09] Production.INFO: New UsageDates 2025-01-06 - 2025-02-05 23:59:59
[2025-02-06 04:31:09] Production.INFO: SubTotal 52.5
[2025-02-06 04:31:09] Production.INFO: SubTotalWithouttaxTotal 0
[2025-02-06 04:31:09] Production.INFO: AccountOneOffCharge Tax Over
[2025-02-06 04:31:09] Production.INFO: TotalTax 2.625
[2025-02-06 04:31:09] Production.INFO: InvoiceGrandTotal 55.125
[2025-02-06 04:31:09] Production.INFO: InvoiceTaxAmount 2.63
[2025-02-06 04:31:09] Production.INFO: GrandTotal 55.13
[2025-02-06 04:31:09] Production.INFO: SubTotal 52.50
[2025-02-06 04:31:09] Production.INFO: TotalDue 0.00
[2025-02-06 04:31:09] Production.INFO: Reseller ==> 0
[2025-02-06 04:31:09] Production.INFO: original start date ==>2025-01-06 changed start date ==>2025-01-06 02:00:00 original end date ==>2025-02-05 23:59:59 changed end date ==>2025-02-06 01:59:59
[2025-02-06 04:31:09] Production.INFO: CALL prc_getInvoiceUsage(1,'153','0','1','2025-01-06 02:00:00','2025-02-06 01:59:59',0)
[2025-02-06 04:31:09] Production.INFO: PDF Generation start
[2025-02-06 04:31:09] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/153/Invoices/2025/02/06/Invoice-dominos-10191-chandresh-patel-inv11474-from-01-06-2025-to-02-05-2025-10408.pdf
[2025-02-06 04:31:09] Production.INFO: On Linux
[2025-02-06 04:31: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/153/Invoices/2025/02/06/footer-dominos-10191-chandresh-patel-inv11474-from-01-06-2025-to-02-05-2025-10408.html" "/var/www/tmp/1/153/Invoices/2025/02/06/Invoice-dominos-10191-chandresh-patel-inv11474-from-01-06-2025-to-02-05-2025-10408.html" "/var/www/tmp/1/153/Invoices/2025/02/06/Invoice-dominos-10191-chandresh-patel-inv11474-from-01-06-2025-to-02-05-2025-10408.pdf"
[2025-02-06 04:31:11] Production.INFO:
[2025-02-06 04:31:11] Production.INFO: /var/www/tmp/1/153/Invoices/2025/02/06/Invoice-dominos-10191-chandresh-patel-inv11474-from-01-06-2025-to-02-05-2025-10408.html
[2025-02-06 04:31:11] Production.INFO: /var/www/tmp/1/153/Invoices/2025/02/06/header-dominos-10191-chandresh-patel-inv11474-from-01-06-2025-to-02-05-2025-10408.html
[2025-02-06 04:31:11] Production.INFO: /var/www/tmp/1/153/Invoices/2025/02/06/footer-dominos-10191-chandresh-patel-inv11474-from-01-06-2025-to-02-05-2025-10408.html
[2025-02-06 04:31:11] Production.INFO: Invoice generation PDF path
[2025-02-06 04:31:11] Production.INFO: PDF fullPath 1/153/Invoices/2025/02/06/Invoice-dominos-10191-chandresh-patel-inv11474-from-01-06-2025-to-02-05-2025-10408.pdf
[2025-02-06 04:31:11] Production.INFO: Generate Usage File Start
[2025-02-06 04:31:11] Production.INFO: Usage File fullPath 1/153/InvoiceUsageFile/2025/02/06/dominos-10191-chandresh-patel-06-01-2025-00-00-00-TO-05-02-2025-23-59-59_3333__1a1fdfe0-e46d-11ef-ac7f-454813dba354.csv
[2025-02-06 04:31:12] Production.INFO: Sending Email to Staff over
[2025-02-06 04:31:12] Production.INFO: Email Status 1
[2025-02-06 04:31:12] Production.INFO: Sending Email to Customer
[2025-02-06 04:31:13] Production.INFO: Email Try 10408 1
[2025-02-06 04:31:13] Production.INFO: =========== Email Sending over ===========
[2025-02-06 04:31:13] Production.INFO: =========== Returning as Success =========== AccountID 153
[2025-02-06 04:31:13] Production.INFO: Invoice::sendInvoice done
[2025-02-06 04:31:13] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-02-06 04:31:13] Production.INFO: Invoice Committed AccountID = 153
[2025-02-06 04:31:13] Production.INFO: =========== Updating InvoiceDate ===========
[2025-02-06 04:31:13] Production.INFO: NextInvoice 2025-02-06 2025-03-05
[2025-02-06 04:31:13] Production.INFO: new dates
[2025-02-06 04:31:13] Production.INFO: LastInvoiceDate 2025-02-06 NextInvoiceDate 2025-03-06
[2025-02-06 04:31:13] Production.INFO: LastChargeDate 2025-02-06 NextChargeDate 2025-03-05
[2025-02-06 04:31:13] Production.INFO: =========== Updated InvoiceDate ===========
[2025-02-06 04:31:13] Production.INFO: ========================== Invoice Send End =============================
[2025-02-06 04:31:13] Production.INFO: AccountID =154 FirstInvoiceSend 0
[2025-02-06 04:31:13] Production.INFO: LastInvoiceDate 2025-01-06 NextInvoiceDate 2025-02-06
[2025-02-06 04:31:13] Production.INFO: LastChargeDate 2025-01-06 NextChargeDate 2025-02-05
[2025-02-06 04:31:13] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-02-06 04:31:13] Production.INFO: ========================== Invoice Send Start =============================
[2025-02-06 04:31:13] Production.INFO: Invoice::sendInvoice(1,154,2025-01-06,2025-02-06,billing@onswitchit.ca)
[2025-02-06 04:31:13] Production.INFO: start Date =2025-01-06 EndDate =2025-02-05 23:59:59
[2025-02-06 04:31:13] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-02-06 04:31:13] 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-02-06 04:31:13] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-02-06 04:31:13] Production.INFO: AlreadyBilled
[2025-02-06 04:31:13] Production.INFO: Reseller ==> 0
[2025-02-06 04:31:13] Production.INFO: original start date ==>2025-01-06 changed start date ==>2025-01-06 00:00:00 original end date ==>2025-02-05 23:59:59 changed end date ==>2025-02-05 23:59:59
[2025-02-06 04:31:13] Production.INFO: Invoice::getAccountUsageTotal(1,154,2025-01-06,2025-02-05 23:59:59)
[2025-02-06 04:31:13] Production.INFO: TotalCharges - 0
[2025-02-06 04:31:13] Production.INFO: TotalUsageCharges - 0.00
[2025-02-06 04:31:13] Production.INFO: Usage Over
[2025-02-06 04:31:13] Production.INFO: Call prc_getAccountSubscription(154,0)
[2025-02-06 04:31:13] Production.INFO: SUBSCRIPTION 3
[2025-02-06 04:31:13] Production.INFO: ============================Subscription Start =================
[2025-02-06 04:31:13] Production.INFO: SubscriptionID - 5
[2025-02-06 04:31:13] Production.INFO: isAdvanceSubscription - 5
[2025-02-06 04:31:13] Production.INFO: SubscriptionStartDate =2025-02-06 - SubscriptionEndDate = 2025-03-05
[2025-02-06 04:31:13] Production.INFO: NewNextChargeDate =2025-03-05 00:00:00
[2025-02-06 04:31:13] Production.INFO: EndDate =2025-02-05 00:00:00
[2025-02-06 04:31:13] Production.INFO: NewEndDate1 =2025-02-06
[2025-02-06 04:31:13] Production.INFO: SubscriptionDate
[2025-02-06 04:31:13] Production.INFO: Array
(
[StartDate] => 2025-02-06
[EndDate] => 2025-03-05 00:00:00
[AlreadyCharged] => 0
)
[2025-02-06 04:31:13] Production.INFO: AccountSubscription StartDate 2021-05-18 StartDate 2025-01-06
[2025-02-06 04:31:13] Production.INFO: SubscriptionID - 2025-02-06=====2025-03-05 00:00:00
[2025-02-06 04:31:13] Production.INFO: AccountSubscriptionID - 610 === 2021-05-18=====2026-02-06
[2025-02-06 04:31:13] Production.INFO: regular Advance Subscription
[2025-02-06 04:31:13] Production.INFO: First Time False 2021-05-18 2025-02-06
[2025-02-06 04:31:13] Production.INFO: StartDate 2025-02-06 AccountSubscription->StartDate 2021-05-18 EndDate 2025-03-05 00:00:00 AccountSubscription->EndDate 2026-02-06
[2025-02-06 04:31:13] Production.INFO: days diff - 28 subscription days 28 quarter days 90
[2025-02-06 04:31:13] Production.INFO: AccountSubscription::getSubscriptionAmount(610,2025-02-06,2025-03-05 00:00:00,,0)
[2025-02-06 04:31:13] Production.INFO: SubscriptionCharge - 75
[2025-02-06 04:31:13] Production.INFO: Already Invoice Subscription 0
[2025-02-06 04:31:13] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(154,1,5,2025-02-06,2025-03-05 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,610)
[2025-02-06 04:31:13] Production.INFO: DiscountAmount 0.000000
[2025-02-06 04:31:13] Production.INFO: DiscountType
[2025-02-06 04:31:13] Production.INFO: SubscriptionCharge 75
[2025-02-06 04:31:13] Production.INFO: New SubscriptionCharge 75
[2025-02-06 04:31:13] Production.INFO: TotalSubscriptionCharge - 75.00
[2025-02-06 04:31:13] Production.INFO: ============================Subscription End =================
[2025-02-06 04:31:13] Production.INFO: ============================Subscription Start =================
[2025-02-06 04:31:13] Production.INFO: SubscriptionID - 4
[2025-02-06 04:31:13] Production.INFO: isAdvanceSubscription - 4
[2025-02-06 04:31:13] Production.INFO: SubscriptionStartDate =2025-02-06 - SubscriptionEndDate = 2025-03-05
[2025-02-06 04:31:13] Production.INFO: NewNextChargeDate =2025-03-05 00:00:00
[2025-02-06 04:31:13] Production.INFO: EndDate =2025-02-05 00:00:00
[2025-02-06 04:31:13] Production.INFO: NewEndDate1 =2025-02-06
[2025-02-06 04:31:13] Production.INFO: SubscriptionDate
[2025-02-06 04:31:13] Production.INFO: Array
(
[StartDate] => 2025-02-06
[EndDate] => 2025-03-05 00:00:00
[AlreadyCharged] => 0
)
[2025-02-06 04:31:13] Production.INFO: AccountSubscription StartDate 2021-05-18 StartDate 2025-01-06
[2025-02-06 04:31:13] Production.INFO: SubscriptionID - 2025-02-06=====2025-03-05 00:00:00
[2025-02-06 04:31:13] Production.INFO: AccountSubscriptionID - 611 === 2021-05-18=====2026-02-06
[2025-02-06 04:31:13] Production.INFO: regular Advance Subscription
[2025-02-06 04:31:13] Production.INFO: First Time False 2021-05-18 2025-02-06
[2025-02-06 04:31:13] Production.INFO: StartDate 2025-02-06 AccountSubscription->StartDate 2021-05-18 EndDate 2025-03-05 00:00:00 AccountSubscription->EndDate 2026-02-06
[2025-02-06 04:31:13] Production.INFO: days diff - 28 subscription days 28 quarter days 90
[2025-02-06 04:31:13] Production.INFO: AccountSubscription::getSubscriptionAmount(611,2025-02-06,2025-03-05 00:00:00,,0)
[2025-02-06 04:31:13] Production.INFO: SubscriptionCharge - 2.5
[2025-02-06 04:31:13] Production.INFO: Already Invoice Subscription 0
[2025-02-06 04:31:13] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(154,1,4,2025-02-06,2025-03-05 00:00:00,e911 address registration (15197477300 - 450 Columbia St W 2 Waterloo, ON N2T 2W1 Canada),2.5,2.5,1,611)
[2025-02-06 04:31:13] Production.INFO: DiscountAmount 0.000000
[2025-02-06 04:31:13] Production.INFO: DiscountType
[2025-02-06 04:31:13] Production.INFO: SubscriptionCharge 2.5
[2025-02-06 04:31:13] Production.INFO: New SubscriptionCharge 2.5
[2025-02-06 04:31:13] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-02-06 04:31:13] Production.INFO: ============================Subscription End =================
[2025-02-06 04:31:13] Production.INFO: ============================Subscription Start =================
[2025-02-06 04:31:13] Production.INFO: SubscriptionID - 11
[2025-02-06 04:31:13] Production.INFO: isAdvanceSubscription - 11
[2025-02-06 04:31:13] Production.INFO: SubscriptionStartDate =2025-02-06 - SubscriptionEndDate = 2025-03-05
[2025-02-06 04:31:13] Production.INFO: NewNextChargeDate =2025-03-05 00:00:00
[2025-02-06 04:31:13] Production.INFO: EndDate =2025-02-05 00:00:00
[2025-02-06 04:31:13] Production.INFO: NewEndDate1 =2025-02-06
[2025-02-06 04:31:13] Production.INFO: SubscriptionDate
[2025-02-06 04:31:13] Production.INFO: Array
(
[StartDate] => 2025-02-06
[EndDate] => 2025-03-05 00:00:00
[AlreadyCharged] => 0
)
[2025-02-06 04:31:13] Production.INFO: AccountSubscription StartDate 2021-05-18 StartDate 2025-01-06
[2025-02-06 04:31:13] Production.INFO: SubscriptionID - 2025-02-06=====2025-03-05 00:00:00
[2025-02-06 04:31:13] Production.INFO: AccountSubscriptionID - 612 === 2021-05-18=====2026-02-06
[2025-02-06 04:31:13] Production.INFO: regular Advance Subscription
[2025-02-06 04:31:13] Production.INFO: First Time False 2021-05-18 2025-02-06
[2025-02-06 04:31:13] Production.INFO: StartDate 2025-02-06 AccountSubscription->StartDate 2021-05-18 EndDate 2025-03-05 00:00:00 AccountSubscription->EndDate 2026-02-06
[2025-02-06 04:31:13] Production.INFO: days diff - 28 subscription days 28 quarter days 90
[2025-02-06 04:31:14] Production.INFO: AccountSubscription::getSubscriptionAmount(612,2025-02-06,2025-03-05 00:00:00,,0)
[2025-02-06 04:31:14] Production.INFO: SubscriptionCharge - -5
[2025-02-06 04:31:14] Production.INFO: Already Invoice Subscription 0
[2025-02-06 04:31:14] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(154,1,11,2025-02-06,2025-03-05 00:00:00,Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service,-25,-5,5,612)
[2025-02-06 04:31:14] Production.INFO: DiscountAmount 0.000000
[2025-02-06 04:31:14] Production.INFO: DiscountType
[2025-02-06 04:31:14] Production.INFO: SubscriptionCharge -25
[2025-02-06 04:31:14] Production.INFO: New SubscriptionCharge -25
[2025-02-06 04:31:14] Production.INFO: TotalSubscriptionCharge - -25.00
[2025-02-06 04:31:14] Production.INFO: ============================Subscription End =================
[2025-02-06 04:31:14] Production.INFO: SUBSCRIPTION Over
[2025-02-06 04:31:14] Production.INFO: Call prc_getAccountOneOffCharge(154,0,2025-01-06,2025-02-06 23:59:59)
[2025-02-06 04:31:14] Production.INFO: AccountOneOffCharge 0
[2025-02-06 04:31:14] Production.INFO: AccountOneOffCharge Over
[2025-02-06 04:31:14] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-02-06 04:31:14] Production.INFO: New UsageDates 2025-01-06 - 2025-02-05 23:59:59
[2025-02-06 04:31:14] Production.INFO: SubTotal 52.5
[2025-02-06 04:31:14] Production.INFO: SubTotalWithouttaxTotal 0
[2025-02-06 04:31:14] Production.INFO: AccountOneOffCharge Tax Over
[2025-02-06 04:31:14] Production.INFO: TotalTax 6.825
[2025-02-06 04:31:14] Production.INFO: InvoiceGrandTotal 59.325
[2025-02-06 04:31:14] Production.INFO: InvoiceTaxAmount 6.83
[2025-02-06 04:31:14] Production.INFO: GrandTotal 59.33
[2025-02-06 04:31:14] Production.INFO: SubTotal 52.50
[2025-02-06 04:31:14] Production.INFO: TotalDue 0.00
[2025-02-06 04:31:14] Production.INFO: Reseller ==> 0
[2025-02-06 04:31:14] Production.INFO: original start date ==>2025-01-06 changed start date ==>2025-01-06 00:00:00 original end date ==>2025-02-05 23:59:59 changed end date ==>2025-02-05 23:59:59
[2025-02-06 04:31:14] Production.INFO: CALL prc_getInvoiceUsage(1,'154','0','1','2025-01-06 00:00:00','2025-02-05 23:59:59',0)
[2025-02-06 04:31:14] Production.INFO: PDF Generation start
[2025-02-06 04:31:14] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/154/Invoices/2025/02/06/Invoice-dominos-10385-sandeep-chaudhari-inv11475-from-01-06-2025-to-02-05-2025-10409.pdf
[2025-02-06 04:31:14] Production.INFO: On Linux
[2025-02-06 04:31:15] Production.INFO: /var/www/html/onswitch.neon.service/wkhtmltox/bin/wkhtmltopdf --header-spacing 3 --footer-spacing 1 --header-html --footer-html "/var/www/tmp/1/154/Invoices/2025/02/06/footer-dominos-10385-sandeep-chaudhari-inv11475-from-01-06-2025-to-02-05-2025-10409.html" "/var/www/tmp/1/154/Invoices/2025/02/06/Invoice-dominos-10385-sandeep-chaudhari-inv11475-from-01-06-2025-to-02-05-2025-10409.html" "/var/www/tmp/1/154/Invoices/2025/02/06/Invoice-dominos-10385-sandeep-chaudhari-inv11475-from-01-06-2025-to-02-05-2025-10409.pdf"
[2025-02-06 04:31:15] Production.INFO:
[2025-02-06 04:31:15] Production.INFO: /var/www/tmp/1/154/Invoices/2025/02/06/Invoice-dominos-10385-sandeep-chaudhari-inv11475-from-01-06-2025-to-02-05-2025-10409.html
[2025-02-06 04:31:15] Production.INFO: /var/www/tmp/1/154/Invoices/2025/02/06/header-dominos-10385-sandeep-chaudhari-inv11475-from-01-06-2025-to-02-05-2025-10409.html
[2025-02-06 04:31:15] Production.INFO: /var/www/tmp/1/154/Invoices/2025/02/06/footer-dominos-10385-sandeep-chaudhari-inv11475-from-01-06-2025-to-02-05-2025-10409.html
[2025-02-06 04:31:15] Production.INFO: Invoice generation PDF path
[2025-02-06 04:31:15] Production.INFO: PDF fullPath 1/154/Invoices/2025/02/06/Invoice-dominos-10385-sandeep-chaudhari-inv11475-from-01-06-2025-to-02-05-2025-10409.pdf
[2025-02-06 04:31:15] Production.INFO: Generate Usage File Start
[2025-02-06 04:31:15] Production.INFO: Usage File fullPath 1/154/InvoiceUsageFile/2025/02/06/dominos-10385-sandeep-chaudhari-06-01-2025-00-00-00-TO-05-02-2025-23-59-59_3350__1ccaab00-e46d-11ef-be6c-9dc01aab793f.csv
[2025-02-06 04:31:16] Production.INFO: Sending Email to Staff over
[2025-02-06 04:31:16] Production.INFO: Email Status 1
[2025-02-06 04:31:16] Production.INFO: Sending Email to Customer
[2025-02-06 04:31:17] Production.INFO: Email Try 10409 1
[2025-02-06 04:31:18] Production.INFO: Email Try 10409 1
[2025-02-06 04:31:18] Production.INFO: =========== Email Sending over ===========
[2025-02-06 04:31:18] Production.INFO: =========== Returning as Success =========== AccountID 154
[2025-02-06 04:31:18] Production.INFO: Invoice::sendInvoice done
[2025-02-06 04:31:18] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-02-06 04:31:18] Production.INFO: Invoice Committed AccountID = 154
[2025-02-06 04:31:18] Production.INFO: =========== Updating InvoiceDate ===========
[2025-02-06 04:31:18] Production.INFO: NextInvoice 2025-02-06 2025-03-05
[2025-02-06 04:31:18] Production.INFO: new dates
[2025-02-06 04:31:18] Production.INFO: LastInvoiceDate 2025-02-06 NextInvoiceDate 2025-03-06
[2025-02-06 04:31:18] Production.INFO: LastChargeDate 2025-02-06 NextChargeDate 2025-03-05
[2025-02-06 04:31:18] Production.INFO: =========== Updated InvoiceDate ===========
[2025-02-06 04:31:18] Production.INFO: ========================== Invoice Send End =============================
[2025-02-06 04:31:18] Production.INFO: AccountID =206 FirstInvoiceSend 0
[2025-02-06 04:31:18] Production.INFO: LastInvoiceDate 2025-01-06 NextInvoiceDate 2025-02-06
[2025-02-06 04:31:18] Production.INFO: LastChargeDate 2025-01-06 NextChargeDate 2025-02-05
[2025-02-06 04:31:18] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-02-06 04:31:18] Production.INFO: ========================== Invoice Send Start =============================
[2025-02-06 04:31:18] Production.INFO: Invoice::sendInvoice(1,206,2025-01-06,2025-02-06,billing@onswitchit.ca)
[2025-02-06 04:31:18] Production.INFO: start Date =2025-01-06 EndDate =2025-02-05 23:59:59
[2025-02-06 04:31:18] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-02-06 04:31:18] Production.INFO: InvoiceTemplate->Terms =
This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.
[2025-02-06 04:31:18] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-02-06 04:31:18] Production.INFO: AlreadyBilled
[2025-02-06 04:31:18] Production.INFO: Reseller ==> 0
[2025-02-06 04:31:18] Production.INFO: original start date ==>2025-01-06 changed start date ==>2025-01-06 00:00:00 original end date ==>2025-02-05 23:59:59 changed end date ==>2025-02-05 23:59:59
[2025-02-06 04:31:18] Production.INFO: Invoice::getAccountUsageTotal(1,206,2025-01-06,2025-02-05 23:59:59)
[2025-02-06 04:31:18] Production.INFO: TotalCharges - 0
[2025-02-06 04:31:18] Production.INFO: TotalUsageCharges - 0.00
[2025-02-06 04:31:18] Production.INFO: Usage Over
[2025-02-06 04:31:18] Production.INFO: Call prc_getAccountSubscription(206,0)
[2025-02-06 04:31:18] Production.INFO: SUBSCRIPTION 1
[2025-02-06 04:31:18] Production.INFO: ============================Subscription Start =================
[2025-02-06 04:31:18] Production.INFO: SubscriptionID - 2
[2025-02-06 04:31:18] Production.INFO: isAdvanceSubscription - 2
[2025-02-06 04:31:18] Production.INFO: SubscriptionStartDate =2025-02-06 - SubscriptionEndDate = 2025-03-05
[2025-02-06 04:31:18] Production.INFO: NewNextChargeDate =2025-03-05 00:00:00
[2025-02-06 04:31:18] Production.INFO: EndDate =2025-02-05 00:00:00
[2025-02-06 04:31:18] Production.INFO: NewEndDate1 =2025-02-06
[2025-02-06 04:31:18] Production.INFO: SubscriptionDate
[2025-02-06 04:31:18] Production.INFO: Array
(
[StartDate] => 2025-02-06
[EndDate] => 2025-03-05 00:00:00
[AlreadyCharged] => 0
)
[2025-02-06 04:31:18] Production.INFO: AccountSubscription StartDate 2023-08-14 StartDate 2025-01-06
[2025-02-06 04:31:18] Production.INFO: SubscriptionID - 2025-02-06=====2025-03-05 00:00:00
[2025-02-06 04:31:18] Production.INFO: AccountSubscriptionID - 722 === 2023-08-14=====2026-02-06
[2025-02-06 04:31:18] Production.INFO: regular Advance Subscription
[2025-02-06 04:31:18] Production.INFO: First Time False 2023-08-14 2025-02-06
[2025-02-06 04:31:18] Production.INFO: StartDate 2025-02-06 AccountSubscription->StartDate 2023-08-14 EndDate 2025-03-05 00:00:00 AccountSubscription->EndDate 2026-02-06
[2025-02-06 04:31:18] Production.INFO: days diff - 28 subscription days 28 quarter days 90
[2025-02-06 04:31:18] Production.INFO: AccountSubscription::getSubscriptionAmount(722,2025-02-06,2025-03-05 00:00:00,,0)
[2025-02-06 04:31:18] Production.INFO: SubscriptionCharge - 6
[2025-02-06 04:31:18] Production.INFO: Already Invoice Subscription 0
[2025-02-06 04:31:18] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(206,1,2,2025-02-06,2025-03-05 00:00:00,License for an Unlimited Canada/US Cloud Phone extension with Cloud Softphone license,6,6,1,722)
[2025-02-06 04:31:18] Production.INFO: DiscountAmount 0.000000
[2025-02-06 04:31:18] Production.INFO: DiscountType Flat
[2025-02-06 04:31:18] Production.INFO: SubscriptionCharge 6
[2025-02-06 04:31:18] Production.INFO: New SubscriptionCharge 6
[2025-02-06 04:31:18] Production.INFO: TotalSubscriptionCharge - 6.00
[2025-02-06 04:31:18] Production.INFO: ============================Subscription End =================
[2025-02-06 04:31:18] Production.INFO: SUBSCRIPTION Over
[2025-02-06 04:31:18] Production.INFO: Call prc_getAccountOneOffCharge(206,0,2025-01-06,2025-02-06 23:59:59)
[2025-02-06 04:31:18] Production.INFO: AccountOneOffCharge 0
[2025-02-06 04:31:18] Production.INFO: AccountOneOffCharge Over
[2025-02-06 04:31:18] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-02-06 04:31:18] Production.INFO: New UsageDates 2025-01-06 - 2025-02-05 23:59:59
[2025-02-06 04:31:18] Production.INFO: SubTotal 6
[2025-02-06 04:31:18] Production.INFO: SubTotalWithouttaxTotal 0
[2025-02-06 04:31:18] Production.INFO: AccountOneOffCharge Tax Over
[2025-02-06 04:31:18] Production.INFO: TotalTax 0.78
[2025-02-06 04:31:18] Production.INFO: InvoiceGrandTotal 6.78
[2025-02-06 04:31:18] Production.INFO: InvoiceTaxAmount 0.78
[2025-02-06 04:31:18] Production.INFO: GrandTotal 6.78
[2025-02-06 04:31:18] Production.INFO: SubTotal 6.00
[2025-02-06 04:31:18] Production.INFO: TotalDue 127.86
[2025-02-06 04:31:18] Production.INFO: Reseller ==> 0
[2025-02-06 04:31:18] Production.INFO: original start date ==>2025-01-06 changed start date ==>2025-01-06 00:00:00 original end date ==>2025-02-05 23:59:59 changed end date ==>2025-02-05 23:59:59
[2025-02-06 04:31:18] Production.INFO: CALL prc_getInvoiceUsage(1,'206','0','1','2025-01-06 00:00:00','2025-02-05 23:59:59',0)
[2025-02-06 04:31:18] Production.INFO: PDF Generation start
[2025-02-06 04:31:19] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/206/Invoices/2025/02/06/Invoice-g4-jobs-inv11476-from-01-06-2025-to-02-05-2025-10410.pdf
[2025-02-06 04:31:19] Production.INFO: On Linux
[2025-02-06 04:31:20] Production.INFO: /var/www/html/onswitch.neon.service/wkhtmltox/bin/wkhtmltopdf --header-spacing 3 --footer-spacing 1 --header-html --footer-html "/var/www/tmp/1/206/Invoices/2025/02/06/footer-g4-jobs-inv11476-from-01-06-2025-to-02-05-2025-10410.html" "/var/www/tmp/1/206/Invoices/2025/02/06/Invoice-g4-jobs-inv11476-from-01-06-2025-to-02-05-2025-10410.html" "/var/www/tmp/1/206/Invoices/2025/02/06/Invoice-g4-jobs-inv11476-from-01-06-2025-to-02-05-2025-10410.pdf"
[2025-02-06 04:31:20] Production.INFO:
[2025-02-06 04:31:20] Production.INFO: /var/www/tmp/1/206/Invoices/2025/02/06/Invoice-g4-jobs-inv11476-from-01-06-2025-to-02-05-2025-10410.html
[2025-02-06 04:31:20] Production.INFO: /var/www/tmp/1/206/Invoices/2025/02/06/header-g4-jobs-inv11476-from-01-06-2025-to-02-05-2025-10410.html
[2025-02-06 04:31:20] Production.INFO: /var/www/tmp/1/206/Invoices/2025/02/06/footer-g4-jobs-inv11476-from-01-06-2025-to-02-05-2025-10410.html
[2025-02-06 04:31:20] Production.INFO: Invoice generation PDF path
[2025-02-06 04:31:20] Production.INFO: PDF fullPath 1/206/Invoices/2025/02/06/Invoice-g4-jobs-inv11476-from-01-06-2025-to-02-05-2025-10410.pdf
[2025-02-06 04:31:20] Production.INFO: Generate Usage File Start
[2025-02-06 04:31:20] Production.INFO: Usage File fullPath 1/206/InvoiceUsageFile/2025/02/06/g4-jobs-06-01-2025-00-00-00-TO-05-02-2025-23-59-59_1511__1f5b8290-e46d-11ef-9f2f-5f8874f9cc83.csv
[2025-02-06 04:31:20] Production.INFO: Sending Email to Staff over
[2025-02-06 04:31:20] Production.INFO: Email Status 1
[2025-02-06 04:31:20] Production.INFO: Sending Email to Customer
[2025-02-06 04:31:21] Production.INFO: Email Try 10410 1
[2025-02-06 04:31:21] Production.INFO: =========== Email Sending over ===========
[2025-02-06 04:31:21] Production.INFO: =========== Returning as Success =========== AccountID 206
[2025-02-06 04:31:21] Production.INFO: Invoice::sendInvoice done
[2025-02-06 04:31:21] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-02-06 04:31:21] Production.INFO: Invoice Committed AccountID = 206
[2025-02-06 04:31:21] Production.INFO: =========== Updating InvoiceDate ===========
[2025-02-06 04:31:21] Production.INFO: NextInvoice 2025-02-06 2025-03-05
[2025-02-06 04:31:21] Production.INFO: new dates
[2025-02-06 04:31:21] Production.INFO: LastInvoiceDate 2025-02-06 NextInvoiceDate 2025-03-06
[2025-02-06 04:31:21] Production.INFO: LastChargeDate 2025-02-06 NextChargeDate 2025-03-05
[2025-02-06 04:31:21] Production.INFO: =========== Updated InvoiceDate ===========
[2025-02-06 04:31:21] Production.INFO: ========================== Invoice Send End =============================
[2025-02-06 04:31:21] Production.INFO: ========================== Recurring invoice Start =============================
[2025-02-06 04:31:21] Production.INFO: recurring invoices ID
[2025-02-06 04:31:21] Production.INFO:
[2025-02-06 04:31:21] Production.INFO: recurring errorsArray
(
)
[2025-02-06 04:31:21] Production.INFO: ========================== Recurring invoice End =============================
[2025-02-06 04:31:21] Production.INFO: ========================== Job Updated =============================
[2025-02-06 04:31:22] Production.INFO: ========================== Job Email Sent =============================
[2025-02-06 04:31:22] Production.ERROR: **Email Sent Status 0
[2025-02-06 04:31:22] Production.ERROR: **Email Sent message Something wrong with sending mail.SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting ( Email Address: billing@onswitchit.ca)
[2025-02-06 04:31:22] Production.ERROR: CronJobId end6
[2025-02-06 04:31:22] Production.INFO: ==30034== Releasing lock...
[2025-02-06 04:31:22] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops#
[2025-02-06 04:31:22] Production.INFO: 38.5 MB #Memory Used#