[2025-04-22 04:30:04] Production.INFO: Call prc_getBillingAccounts(1,2025-04-22,'','0')
[2025-04-22 04:30:04] Production.INFO: Array
(
[0] => stdClass Object
(
[AccountID] => 115
[NextInvoiceDate] => 2025-04-22
[AccountName] => AromaCafeBayviewVillage
[ServiceID] => 0
)
[1] => stdClass Object
(
[AccountID] => 253
[NextInvoiceDate] => 2025-04-22
[AccountName] => Pharmasave (Toronto East)
[ServiceID] => 0
)
[2] => stdClass Object
(
[AccountID] => 258
[NextInvoiceDate] => 2025-03-10
[AccountName] => Lion Motors
[ServiceID] => 0
)
)
[2025-04-22 04:30:04] Production.INFO: AccountID =115 FirstInvoiceSend 0
[2025-04-22 04:30:04] Production.INFO: LastInvoiceDate 2025-03-22 NextInvoiceDate 2025-04-22
[2025-04-22 04:30:04] Production.INFO: LastChargeDate 2025-03-22 NextChargeDate 2025-04-21
[2025-04-22 04:30:04] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-04-22 04:30:04] Production.INFO: ========================== Invoice Send Start =============================
[2025-04-22 04:30:04] Production.INFO: Invoice::sendInvoice(1,115,2025-03-22,2025-04-22,billing@onswitchit.ca)
[2025-04-22 04:30:04] Production.INFO: start Date =2025-03-22 EndDate =2025-04-21 23:59:59
[2025-04-22 04:30:04] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-04-22 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-04-22 04:30:04] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-04-22 04:30:04] Production.INFO: AlreadyBilled
[2025-04-22 04:30:04] Production.INFO: Reseller ==> 0
[2025-04-22 04:30:04] Production.INFO: Invoice::getAccountUsageTotal(1,115,2025-03-22,2025-04-21 23:59:59)
[2025-04-22 04:30:04] Production.INFO: TotalCharges - 0
[2025-04-22 04:30:04] Production.INFO: TotalUsageCharges - 0.00
[2025-04-22 04:30:04] Production.INFO: Usage Over
[2025-04-22 04:30:04] Production.INFO: Call prc_getAccountSubscription(115,0)
[2025-04-22 04:30:04] Production.INFO: SUBSCRIPTION 1
[2025-04-22 04:30:04] Production.INFO: ============================Subscription Start =================
[2025-04-22 04:30:04] Production.INFO: SubscriptionID - 23
[2025-04-22 04:30:04] Production.INFO: isAdvanceSubscription - 23
[2025-04-22 04:30:05] Production.INFO: SubscriptionStartDate =2025-04-22 - SubscriptionEndDate = 2025-05-21
[2025-04-22 04:30:05] Production.INFO: NewNextChargeDate =2025-05-21 00:00:00
[2025-04-22 04:30:05] Production.INFO: EndDate =2025-04-21 00:00:00
[2025-04-22 04:30:05] Production.INFO: NewEndDate1 =2025-04-22
[2025-04-22 04:30:05] Production.INFO: SubscriptionDate
[2025-04-22 04:30:05] Production.INFO: Array
(
[StartDate] => 2025-04-22
[EndDate] => 2025-05-21 00:00:00
[AlreadyCharged] => 0
)
[2025-04-22 04:30:05] Production.INFO: AccountSubscription StartDate 2019-03-13 StartDate 2025-03-22
[2025-04-22 04:30:05] Production.INFO: SubscriptionID - 2025-04-22=====2025-05-21 00:00:00
[2025-04-22 04:30:05] Production.INFO: AccountSubscriptionID - 392 === 2019-03-13=====2025-04-20
[2025-04-22 04:30:05] Production.INFO: ============================Subscription End =================
[2025-04-22 04:30:05] Production.INFO: SUBSCRIPTION Over
[2025-04-22 04:30:05] Production.INFO: Call prc_getAccountOneOffCharge(115,0,2025-03-22,2025-04-22 23:59:59)
[2025-04-22 04:30:05] Production.INFO: AccountOneOffCharge 0
[2025-04-22 04:30:05] Production.INFO: AccountOneOffCharge Over
[2025-04-22 04:30:05] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-04-22 04:30:05] Production.INFO: New UsageDates 2025-03-22 - 2025-04-21 23:59:59
[2025-04-22 04:30:05] Production.INFO: SubTotal 0
[2025-04-22 04:30:05] Production.INFO: SubTotalWithouttaxTotal 0
[2025-04-22 04:30:05] Production.INFO: AccountOneOffCharge Tax Over
[2025-04-22 04:30:05] Production.INFO: TotalTax 0
[2025-04-22 04:30:05] Production.INFO: InvoiceGrandTotal 0
[2025-04-22 04:30:05] Production.INFO: InvoiceTaxAmount 0
[2025-04-22 04:30:05] Production.INFO: GrandTotal 0
[2025-04-22 04:30:05] Production.INFO: SubTotal 0.00
[2025-04-22 04:30:05] Production.INFO: TotalDue 0.00
[2025-04-22 04:30:05] Production.INFO: Reseller ==> 0
[2025-04-22 04:30:05] Production.INFO: PDF Generation start
[2025-04-22 04:30:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/115/Invoices/2025/04/22/Invoice-aromacafebayviewvillage-inv11922-from-03-22-2025-to-04-21-2025-10870.pdf
[2025-04-22 04:30:05] Production.INFO: On Linux
[2025-04-22 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/115/Invoices/2025/04/22/footer-aromacafebayviewvillage-inv11922-from-03-22-2025-to-04-21-2025-10870.html" "/var/www/tmp/1/115/Invoices/2025/04/22/Invoice-aromacafebayviewvillage-inv11922-from-03-22-2025-to-04-21-2025-10870.html" "/var/www/tmp/1/115/Invoices/2025/04/22/Invoice-aromacafebayviewvillage-inv11922-from-03-22-2025-to-04-21-2025-10870.pdf"
[2025-04-22 04:30:07] Production.INFO:
[2025-04-22 04:30:07] Production.INFO: /var/www/tmp/1/115/Invoices/2025/04/22/Invoice-aromacafebayviewvillage-inv11922-from-03-22-2025-to-04-21-2025-10870.html
[2025-04-22 04:30:07] Production.INFO: /var/www/tmp/1/115/Invoices/2025/04/22/header-aromacafebayviewvillage-inv11922-from-03-22-2025-to-04-21-2025-10870.html
[2025-04-22 04:30:07] Production.INFO: /var/www/tmp/1/115/Invoices/2025/04/22/footer-aromacafebayviewvillage-inv11922-from-03-22-2025-to-04-21-2025-10870.html
[2025-04-22 04:30:07] Production.INFO: Invoice generation PDF path
[2025-04-22 04:30:07] Production.INFO: PDF fullPath 1/115/Invoices/2025/04/22/Invoice-aromacafebayviewvillage-inv11922-from-03-22-2025-to-04-21-2025-10870.pdf
[2025-04-22 04:30:07] Production.INFO: Generate Usage File Start
[2025-04-22 04:30:07] Production.INFO: Usage File fullPath 1/115/InvoiceUsageFile/2025/04/22/aromacafebayviewvillage-22-03-2025-00-00-00-TO-21-04-2025-23-59-59_4360__ff7ebbe0-1f53-11f0-9e61-f5c1ec5507d3.csv
[2025-04-22 04:30:09] Production.INFO: Sending Email to Staff over
[2025-04-22 04:30:09] Production.INFO: Email Status 1
[2025-04-22 04:30:09] Production.INFO: Sending Email to Customer
[2025-04-22 04:30:09] Production.INFO: =========== Email Sending over ===========
[2025-04-22 04:30:09] Production.INFO: =========== Returning as Success =========== AccountID 115
[2025-04-22 04:30:09] Production.INFO: Invoice::sendInvoice done
[2025-04-22 04:30:09] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-04-22 04:30:09] Production.INFO: Invoice Committed AccountID = 115
[2025-04-22 04:30:09] Production.INFO: =========== Updating InvoiceDate ===========
[2025-04-22 04:30:09] Production.INFO: NextInvoice 2025-04-22 2025-05-21
[2025-04-22 04:30:09] Production.INFO: new dates
[2025-04-22 04:30:09] Production.INFO: LastInvoiceDate 2025-04-22 NextInvoiceDate 2025-05-22
[2025-04-22 04:30:09] Production.INFO: LastChargeDate 2025-04-22 NextChargeDate 2025-05-21
[2025-04-22 04:30:09] Production.INFO: =========== Updated InvoiceDate ===========
[2025-04-22 04:30:10] Production.INFO: ========================== Invoice Send End =============================
[2025-04-22 04:30:10] Production.INFO: AccountID =253 FirstInvoiceSend 0
[2025-04-22 04:30:10] Production.INFO: LastInvoiceDate 2025-03-22 NextInvoiceDate 2025-04-22
[2025-04-22 04:30:10] Production.INFO: LastChargeDate 2025-03-22 NextChargeDate 2025-04-21
[2025-04-22 04:30:10] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-04-22 04:30:10] Production.INFO: ========================== Invoice Send Start =============================
[2025-04-22 04:30:10] Production.INFO: Invoice::sendInvoice(1,253,2025-03-22,2025-04-22,billing@onswitchit.ca)
[2025-04-22 04:30:10] Production.INFO: start Date =2025-03-22 EndDate =2025-04-21 23:59:59
[2025-04-22 04:30:10] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-04-22 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-04-22 04:30:10] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-04-22 04:30:10] Production.INFO: AlreadyBilled
[2025-04-22 04:30:10] Production.INFO: Reseller ==> 0
[2025-04-22 04:30:10] Production.INFO: original start date ==>2025-03-22 changed start date ==>2025-03-22 00:00:00 original end date ==>2025-04-21 23:59:59 changed end date ==>2025-04-21 23:59:59
[2025-04-22 04:30:10] Production.INFO: Invoice::getAccountUsageTotal(1,253,2025-03-22,2025-04-21 23:59:59)
[2025-04-22 04:30:10] Production.INFO: TotalCharges - 0
[2025-04-22 04:30:10] Production.INFO: TotalUsageCharges - 0.00
[2025-04-22 04:30:10] Production.INFO: Usage Over
[2025-04-22 04:30:10] Production.INFO: Call prc_getAccountSubscription(253,0)
[2025-04-22 04:30:10] Production.INFO: SUBSCRIPTION 4
[2025-04-22 04:30:10] Production.INFO: ============================Subscription Start =================
[2025-04-22 04:30:10] Production.INFO: SubscriptionID - 65
[2025-04-22 04:30:10] Production.INFO: isAdvanceSubscription - 65
[2025-04-22 04:30:10] Production.INFO: SubscriptionStartDate =2025-04-22 - SubscriptionEndDate = 2025-05-21
[2025-04-22 04:30:10] Production.INFO: NewNextChargeDate =2025-05-21 00:00:00
[2025-04-22 04:30:10] Production.INFO: EndDate =2025-04-21 00:00:00
[2025-04-22 04:30:10] Production.INFO: NewEndDate1 =2025-04-22
[2025-04-22 04:30:10] Production.INFO: SubscriptionDate
[2025-04-22 04:30:10] Production.INFO: Array
(
[StartDate] => 2025-04-22
[EndDate] => 2025-05-21 00:00:00
[AlreadyCharged] => 0
)
[2025-04-22 04:30:10] Production.INFO: AccountSubscription StartDate 2025-03-08 StartDate 2025-03-22
[2025-04-22 04:30:10] Production.INFO: SubscriptionID - 2025-04-22=====2025-05-21 00:00:00
[2025-04-22 04:30:10] Production.INFO: AccountSubscriptionID - 1264 === 2025-03-08=====2026-04-22
[2025-04-22 04:30:10] Production.INFO: regular Advance Subscription
[2025-04-22 04:30:10] Production.INFO: First Time False 2025-03-08 2025-04-22
[2025-04-22 04:30:10] Production.INFO: StartDate 2025-04-22 AccountSubscription->StartDate 2025-03-08 EndDate 2025-05-21 00:00:00 AccountSubscription->EndDate 2026-04-22
[2025-04-22 04:30:10] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-04-22 04:30:10] Production.INFO: AccountSubscription::getSubscriptionAmount(1264,2025-04-22,2025-05-21 00:00:00,,0)
[2025-04-22 04:30:10] Production.INFO: SubscriptionCharge - 22.99
[2025-04-22 04:30:10] Production.INFO: Already Invoice Subscription 0
[2025-04-22 04:30:10] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(253,1,65,2025-04-22,2025-05-21 00:00:00,CloudPhone.ONE Per Line License,206.91,22.99,9,1264)
[2025-04-22 04:30:10] Production.INFO: DiscountAmount 0.000000
[2025-04-22 04:30:10] Production.INFO: DiscountType Flat
[2025-04-22 04:30:10] Production.INFO: SubscriptionCharge 206.91
[2025-04-22 04:30:10] Production.INFO: New SubscriptionCharge 206.91
[2025-04-22 04:30:10] Production.INFO: TotalSubscriptionCharge - 206.91
[2025-04-22 04:30:10] Production.INFO: ============================Subscription End =================
[2025-04-22 04:30:10] Production.INFO: ============================Subscription Start =================
[2025-04-22 04:30:10] Production.INFO: SubscriptionID - 68
[2025-04-22 04:30:10] Production.INFO: isAdvanceSubscription - 68
[2025-04-22 04:30:10] Production.INFO: SubscriptionStartDate =2025-04-22 - SubscriptionEndDate = 2025-05-21
[2025-04-22 04:30:10] Production.INFO: NewNextChargeDate =2025-05-21 00:00:00
[2025-04-22 04:30:10] Production.INFO: EndDate =2025-04-21 00:00:00
[2025-04-22 04:30:10] Production.INFO: NewEndDate1 =2025-04-22
[2025-04-22 04:30:10] Production.INFO: SubscriptionDate
[2025-04-22 04:30:10] Production.INFO: Array
(
[StartDate] => 2025-04-22
[EndDate] => 2025-05-21 00:00:00
[AlreadyCharged] => 0
)
[2025-04-22 04:30:10] Production.INFO: AccountSubscription StartDate 2025-03-08 StartDate 2025-03-22
[2025-04-22 04:30:10] Production.INFO: SubscriptionID - 2025-04-22=====2025-05-21 00:00:00
[2025-04-22 04:30:10] Production.INFO: AccountSubscriptionID - 1265 === 2025-03-08=====2026-04-22
[2025-04-22 04:30:10] Production.INFO: regular Advance Subscription
[2025-04-22 04:30:10] Production.INFO: First Time False 2025-03-08 2025-04-22
[2025-04-22 04:30:10] Production.INFO: StartDate 2025-04-22 AccountSubscription->StartDate 2025-03-08 EndDate 2025-05-21 00:00:00 AccountSubscription->EndDate 2026-04-22
[2025-04-22 04:30:10] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-04-22 04:30:10] Production.INFO: AccountSubscription::getSubscriptionAmount(1265,2025-04-22,2025-05-21 00:00:00,,0)
[2025-04-22 04:30:10] Production.INFO: SubscriptionCharge - 5
[2025-04-22 04:30:10] Production.INFO: Already Invoice Subscription 0
[2025-04-22 04:30:10] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(253,1,68,2025-04-22,2025-05-21 00:00:00,CloudPhone.ONE Call Recording Per Line One Month Storage,20,5,4,1265)
[2025-04-22 04:30:10] Production.INFO: DiscountAmount 0.000000
[2025-04-22 04:30:10] Production.INFO: DiscountType Flat
[2025-04-22 04:30:10] Production.INFO: SubscriptionCharge 20
[2025-04-22 04:30:10] Production.INFO: New SubscriptionCharge 20
[2025-04-22 04:30:10] Production.INFO: TotalSubscriptionCharge - 20.00
[2025-04-22 04:30:10] Production.INFO: ============================Subscription End =================
[2025-04-22 04:30:10] Production.INFO: ============================Subscription Start =================
[2025-04-22 04:30:10] Production.INFO: SubscriptionID - 4
[2025-04-22 04:30:10] Production.INFO: isAdvanceSubscription - 4
[2025-04-22 04:30:10] Production.INFO: SubscriptionStartDate =2025-04-22 - SubscriptionEndDate = 2025-05-21
[2025-04-22 04:30:10] Production.INFO: NewNextChargeDate =2025-05-21 00:00:00
[2025-04-22 04:30:10] Production.INFO: EndDate =2025-04-21 00:00:00
[2025-04-22 04:30:10] Production.INFO: NewEndDate1 =2025-04-22
[2025-04-22 04:30:10] Production.INFO: SubscriptionDate
[2025-04-22 04:30:10] Production.INFO: Array
(
[StartDate] => 2025-04-22
[EndDate] => 2025-05-21 00:00:00
[AlreadyCharged] => 0
)
[2025-04-22 04:30:10] Production.INFO: AccountSubscription StartDate 2025-03-08 StartDate 2025-03-22
[2025-04-22 04:30:10] Production.INFO: SubscriptionID - 2025-04-22=====2025-05-21 00:00:00
[2025-04-22 04:30:10] Production.INFO: AccountSubscriptionID - 1266 === 2025-03-08=====2026-04-22
[2025-04-22 04:30:10] Production.INFO: regular Advance Subscription
[2025-04-22 04:30:10] Production.INFO: First Time False 2025-03-08 2025-04-22
[2025-04-22 04:30:10] Production.INFO: StartDate 2025-04-22 AccountSubscription->StartDate 2025-03-08 EndDate 2025-05-21 00:00:00 AccountSubscription->EndDate 2026-04-22
[2025-04-22 04:30:10] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-04-22 04:30:10] Production.INFO: AccountSubscription::getSubscriptionAmount(1266,2025-04-22,2025-05-21 00:00:00,,0)
[2025-04-22 04:30:10] Production.INFO: SubscriptionCharge - 2.5
[2025-04-22 04:30:10] Production.INFO: Already Invoice Subscription 0
[2025-04-22 04:30:10] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(253,1,4,2025-04-22,2025-05-21 00:00:00,e911 address registration (4166139511 - 840 Coxwell Ave Unit 102, Toronto, ON),2.5,2.5,1,1266)
[2025-04-22 04:30:10] Production.INFO: DiscountAmount 0.000000
[2025-04-22 04:30:10] Production.INFO: DiscountType Flat
[2025-04-22 04:30:10] Production.INFO: SubscriptionCharge 2.5
[2025-04-22 04:30:10] Production.INFO: New SubscriptionCharge 2.5
[2025-04-22 04:30:10] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-04-22 04:30:10] Production.INFO: ============================Subscription End =================
[2025-04-22 04:30:10] Production.INFO: ============================Subscription Start =================
[2025-04-22 04:30:10] Production.INFO: SubscriptionID - 4
[2025-04-22 04:30:10] Production.INFO: isAdvanceSubscription - 4
[2025-04-22 04:30:10] Production.INFO: SubscriptionStartDate =2025-04-22 - SubscriptionEndDate = 2025-05-21
[2025-04-22 04:30:10] Production.INFO: NewNextChargeDate =2025-05-21 00:00:00
[2025-04-22 04:30:10] Production.INFO: EndDate =2025-04-21 00:00:00
[2025-04-22 04:30:10] Production.INFO: NewEndDate1 =2025-04-22
[2025-04-22 04:30:10] Production.INFO: SubscriptionDate
[2025-04-22 04:30:10] Production.INFO: Array
(
[StartDate] => 2025-04-22
[EndDate] => 2025-05-21 00:00:00
[AlreadyCharged] => 0
)
[2025-04-22 04:30:10] Production.INFO: AccountSubscription StartDate 2025-03-08 StartDate 2025-03-22
[2025-04-22 04:30:10] Production.INFO: SubscriptionID - 2025-04-22=====2025-05-21 00:00:00
[2025-04-22 04:30:10] Production.INFO: AccountSubscriptionID - 1267 === 2025-03-08=====2026-04-22
[2025-04-22 04:30:10] Production.INFO: regular Advance Subscription
[2025-04-22 04:30:10] Production.INFO: First Time False 2025-03-08 2025-04-22
[2025-04-22 04:30:10] Production.INFO: StartDate 2025-04-22 AccountSubscription->StartDate 2025-03-08 EndDate 2025-05-21 00:00:00 AccountSubscription->EndDate 2026-04-22
[2025-04-22 04:30:10] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-04-22 04:30:10] Production.INFO: AccountSubscription::getSubscriptionAmount(1267,2025-04-22,2025-05-21 00:00:00,,0)
[2025-04-22 04:30:10] Production.INFO: SubscriptionCharge - 2.5
[2025-04-22 04:30:10] Production.INFO: Already Invoice Subscription 0
[2025-04-22 04:30:10] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(253,1,4,2025-04-22,2025-05-21 00:00:00,e911 address registration (4167781221 - 825 Coxwell Ave Unit C114, East York, ON),2.5,2.5,1,1267)
[2025-04-22 04:30:10] Production.INFO: DiscountAmount 0.000000
[2025-04-22 04:30:10] Production.INFO: DiscountType Flat
[2025-04-22 04:30:10] Production.INFO: SubscriptionCharge 2.5
[2025-04-22 04:30:10] Production.INFO: New SubscriptionCharge 2.5
[2025-04-22 04:30:10] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-04-22 04:30:10] Production.INFO: ============================Subscription End =================
[2025-04-22 04:30:10] Production.INFO: SUBSCRIPTION Over
[2025-04-22 04:30:10] Production.INFO: Call prc_getAccountOneOffCharge(253,0,2025-03-22,2025-04-22 23:59:59)
[2025-04-22 04:30:10] Production.INFO: AccountOneOffCharge 0
[2025-04-22 04:30:10] Production.INFO: AccountOneOffCharge Over
[2025-04-22 04:30:10] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-04-22 04:30:10] Production.INFO: New UsageDates 2025-03-22 - 2025-04-21 23:59:59
[2025-04-22 04:30:10] Production.INFO: SubTotal 231.91
[2025-04-22 04:30:10] Production.INFO: SubTotalWithouttaxTotal 0
[2025-04-22 04:30:10] Production.INFO: AccountOneOffCharge Tax Over
[2025-04-22 04:30:10] Production.INFO: TotalTax 30.1483
[2025-04-22 04:30:10] Production.INFO: InvoiceGrandTotal 262.0583
[2025-04-22 04:30:10] Production.INFO: InvoiceTaxAmount 30.15
[2025-04-22 04:30:10] Production.INFO: GrandTotal 262.06
[2025-04-22 04:30:10] Production.INFO: SubTotal 231.91
[2025-04-22 04:30:10] Production.INFO: TotalDue 2747.54
[2025-04-22 04:30:10] Production.INFO: Reseller ==> 0
[2025-04-22 04:30:10] Production.INFO: original start date ==>2025-03-22 changed start date ==>2025-03-22 00:00:00 original end date ==>2025-04-21 23:59:59 changed end date ==>2025-04-21 23:59:59
[2025-04-22 04:30:10] Production.INFO: CALL prc_getInvoiceUsage(1,'253','0','1','2025-03-22 00:00:00','2025-04-21 23:59:59',0)
[2025-04-22 04:30:11] Production.INFO: PDF Generation start
[2025-04-22 04:30:11] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/253/Invoices/2025/04/22/Invoice-pharmasave-toronto-east-inv11923-from-03-22-2025-to-04-21-2025-10871.pdf
[2025-04-22 04:30:11] Production.INFO: On Linux
[2025-04-22 04:30:13] 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/253/Invoices/2025/04/22/footer-pharmasave-toronto-east-inv11923-from-03-22-2025-to-04-21-2025-10871.html" "/var/www/tmp/1/253/Invoices/2025/04/22/Invoice-pharmasave-toronto-east-inv11923-from-03-22-2025-to-04-21-2025-10871.html" "/var/www/tmp/1/253/Invoices/2025/04/22/Invoice-pharmasave-toronto-east-inv11923-from-03-22-2025-to-04-21-2025-10871.pdf"
[2025-04-22 04:30:13] Production.INFO:
[2025-04-22 04:30:13] Production.INFO: /var/www/tmp/1/253/Invoices/2025/04/22/Invoice-pharmasave-toronto-east-inv11923-from-03-22-2025-to-04-21-2025-10871.html
[2025-04-22 04:30:13] Production.INFO: /var/www/tmp/1/253/Invoices/2025/04/22/header-pharmasave-toronto-east-inv11923-from-03-22-2025-to-04-21-2025-10871.html
[2025-04-22 04:30:13] Production.INFO: /var/www/tmp/1/253/Invoices/2025/04/22/footer-pharmasave-toronto-east-inv11923-from-03-22-2025-to-04-21-2025-10871.html
[2025-04-22 04:30:13] Production.INFO: Invoice generation PDF path
[2025-04-22 04:30:13] Production.INFO: PDF fullPath 1/253/Invoices/2025/04/22/Invoice-pharmasave-toronto-east-inv11923-from-03-22-2025-to-04-21-2025-10871.pdf
[2025-04-22 04:30:13] Production.INFO: Generate Usage File Start
[2025-04-22 04:30:13] Production.INFO: Usage File fullPath 1/253/InvoiceUsageFile/2025/04/22/pharmasave-toronto-east-22-03-2025-00-00-00-TO-21-04-2025-23-59-59_8559__02aa8460-1f54-11f0-b6bd-116ac5c6ed91.csv
[2025-04-22 04:30:14] Production.INFO: Sending Email to Staff over
[2025-04-22 04:30:14] Production.INFO: Email Status 1
[2025-04-22 04:30:14] Production.INFO: Sending Email to Customer
[2025-04-22 04:30:14] Production.INFO: =========== Email Sending over ===========
[2025-04-22 04:30:14] Production.INFO: =========== Returning as Success =========== AccountID 253
[2025-04-22 04:30:14] Production.INFO: Invoice::sendInvoice done
[2025-04-22 04:30:14] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-04-22 04:30:14] Production.INFO: Invoice Committed AccountID = 253
[2025-04-22 04:30:14] Production.INFO: =========== Updating InvoiceDate ===========
[2025-04-22 04:30:14] Production.INFO: NextInvoice 2025-04-22 2025-05-21
[2025-04-22 04:30:14] Production.INFO: new dates
[2025-04-22 04:30:14] Production.INFO: LastInvoiceDate 2025-04-22 NextInvoiceDate 2025-05-22
[2025-04-22 04:30:14] Production.INFO: LastChargeDate 2025-04-22 NextChargeDate 2025-05-21
[2025-04-22 04:30:14] Production.INFO: =========== Updated InvoiceDate ===========
[2025-04-22 04:30:14] Production.INFO: ========================== Invoice Send End =============================
[2025-04-22 04:30:14] Production.INFO: AccountID =258 FirstInvoiceSend 0
[2025-04-22 04:30:14] Production.INFO: LastInvoiceDate 2025-02-10 NextInvoiceDate 2025-03-10
[2025-04-22 04:30:14] Production.INFO: LastChargeDate 2025-02-10 NextChargeDate 2025-03-09
[2025-04-22 04:30:14] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-04-22 04:30:14] Production.INFO: ========================== Invoice Send Start =============================
[2025-04-22 04:30:14] Production.INFO: Invoice::sendInvoice(1,258,2025-02-10,2025-03-10,billing@onswitchit.ca)
[2025-04-22 04:30:14] Production.INFO: start Date =2025-02-10 EndDate =2025-03-09 23:59:59
[2025-04-22 04:30:14] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-04-22 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-04-22 04:30:14] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-04-22 04:30:14] Production.INFO: Invoice::sendInvoice done
[2025-04-22 04:30:14] Production.INFO: Invoice rollback AccountID = 258
[2025-04-22 04:30:14] Production.INFO: ========================== Error =============================
[2025-04-22 04:30:14] Production.INFO: Invoice with Error - Array
(
[status] => failure
[message] => Lion Motors Account is already billed on this duration
)
[2025-04-22 04:30:14] Production.INFO: ========================== Invoice Send End =============================
[2025-04-22 04:30:14] Production.INFO: ========================== Recurring invoice Start =============================
[2025-04-22 04:30:14] Production.INFO: recurring invoices ID
[2025-04-22 04:30:14] Production.INFO:
[2025-04-22 04:30:14] Production.INFO: recurring errorsArray
(
)
[2025-04-22 04:30:14] Production.INFO: ========================== Recurring invoice End =============================
[2025-04-22 04:30:14] Production.INFO: ========================== Job Updated =============================
[2025-04-22 04:30:16] Production.INFO: ========================== Job Email Sent =============================
[2025-04-22 04:30:17] Production.ERROR: **Email Sent Status 1
[2025-04-22 04:30:17] Production.ERROR: **Email Sent message Email has been sent
[2025-04-22 04:30:17] Production.ERROR: CronJobId end6
[2025-04-22 04:30:17] Production.INFO: ==22198== Releasing lock...
[2025-04-22 04:30:17] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops#
[2025-04-22 04:30:17] Production.INFO: 38 MB #Memory Used#