[2025-03-30 04:30:04] Production.INFO: Call prc_getBillingAccounts(1,2025-03-30,'','0')
[2025-03-30 04:30:04] Production.INFO: Array
(
[0] => stdClass Object
(
[AccountID] => 165
[NextInvoiceDate] => 2025-03-30
[AccountName] => PharmaSave (Oak Tree Medical)
[ServiceID] => 0
)
[1] => stdClass Object
(
[AccountID] => 205
[NextInvoiceDate] => 2025-03-30
[AccountName] => Dominos 10459 (Sandeep Chaudhari)
[ServiceID] => 0
)
[2] => stdClass Object
(
[AccountID] => 258
[NextInvoiceDate] => 2025-03-10
[AccountName] => Lion Motors
[ServiceID] => 0
)
)
[2025-03-30 04:30:04] Production.INFO: AccountID =165 FirstInvoiceSend 0
[2025-03-30 04:30:04] Production.INFO: LastInvoiceDate 2025-03-02 NextInvoiceDate 2025-03-30
[2025-03-30 04:30:04] Production.INFO: LastChargeDate 2025-03-02 NextChargeDate 2025-03-29
[2025-03-30 04:30:04] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-03-30 04:30:04] Production.INFO: ========================== Invoice Send Start =============================
[2025-03-30 04:30:04] Production.INFO: Invoice::sendInvoice(1,165,2025-03-02,2025-03-30,billing@onswitchit.ca)
[2025-03-30 04:30:04] Production.INFO: start Date =2025-03-02 EndDate =2025-03-29 23:59:59
[2025-03-30 04:30:04] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-03-30 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-03-30 04:30:04] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-03-30 04:30:04] Production.INFO: AlreadyBilled
[2025-03-30 04:30:04] Production.INFO: Reseller ==> 0
[2025-03-30 04:30:04] Production.INFO: original start date ==>2025-03-02 changed start date ==>2025-03-02 00:00:00 original end date ==>2025-03-29 23:59:59 changed end date ==>2025-03-29 23:59:59
[2025-03-30 04:30:05] Production.INFO: Invoice::getAccountUsageTotal(1,165,2025-03-02,2025-03-29 23:59:59)
[2025-03-30 04:30:05] Production.INFO: TotalCharges - 0
[2025-03-30 04:30:05] Production.INFO: TotalUsageCharges - 0.00
[2025-03-30 04:30:05] Production.INFO: Usage Over
[2025-03-30 04:30:05] Production.INFO: Call prc_getAccountSubscription(165,0)
[2025-03-30 04:30:05] Production.INFO: SUBSCRIPTION 3
[2025-03-30 04:30:05] Production.INFO: ============================Subscription Start =================
[2025-03-30 04:30:05] Production.INFO: SubscriptionID - 5
[2025-03-30 04:30:05] Production.INFO: isAdvanceSubscription - 5
[2025-03-30 04:30:05] Production.INFO: SubscriptionStartDate =2025-03-30 - SubscriptionEndDate = 2025-04-29
[2025-03-30 04:30:05] Production.INFO: NewNextChargeDate =2025-04-29 00:00:00
[2025-03-30 04:30:05] Production.INFO: EndDate =2025-03-29 00:00:00
[2025-03-30 04:30:05] Production.INFO: NewEndDate1 =2025-03-30
[2025-03-30 04:30:05] Production.INFO: SubscriptionDate
[2025-03-30 04:30:05] Production.INFO: Array
(
[StartDate] => 2025-03-30
[EndDate] => 2025-04-29 00:00:00
[AlreadyCharged] => 0
)
[2025-03-30 04:30:05] Production.INFO: AccountSubscription StartDate 2022-03-22 StartDate 2025-03-02
[2025-03-30 04:30:05] Production.INFO: SubscriptionID - 2025-03-30=====2025-04-29 00:00:00
[2025-03-30 04:30:05] Production.INFO: AccountSubscriptionID - 645 === 2022-03-22=====2026-03-30
[2025-03-30 04:30:05] Production.INFO: regular Advance Subscription
[2025-03-30 04:30:05] Production.INFO: First Time False 2022-03-22 2025-03-30
[2025-03-30 04:30:05] Production.INFO: StartDate 2025-03-30 AccountSubscription->StartDate 2022-03-22 EndDate 2025-04-29 00:00:00 AccountSubscription->EndDate 2026-03-30
[2025-03-30 04:30:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-30 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(645,2025-03-30,2025-04-29 00:00:00,,0)
[2025-03-30 04:30:05] Production.INFO: SubscriptionCharge - 75
[2025-03-30 04:30:05] Production.INFO: Already Invoice Subscription 0
[2025-03-30 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(165,1,5,2025-03-30,2025-04-29 00:00:00,Retail Phone Service - 3 Channels Dedicated/Burst to 5 Channels,75,75,1,645)
[2025-03-30 04:30:05] Production.INFO: DiscountAmount 0.000000
[2025-03-30 04:30:05] Production.INFO: DiscountType Flat
[2025-03-30 04:30:05] Production.INFO: SubscriptionCharge 75
[2025-03-30 04:30:05] Production.INFO: New SubscriptionCharge 75
[2025-03-30 04:30:05] Production.INFO: TotalSubscriptionCharge - 75.00
[2025-03-30 04:30:05] Production.INFO: ============================Subscription End =================
[2025-03-30 04:30:05] Production.INFO: ============================Subscription Start =================
[2025-03-30 04:30:05] Production.INFO: SubscriptionID - 4
[2025-03-30 04:30:05] Production.INFO: isAdvanceSubscription - 4
[2025-03-30 04:30:05] Production.INFO: SubscriptionStartDate =2025-03-30 - SubscriptionEndDate = 2025-04-29
[2025-03-30 04:30:05] Production.INFO: NewNextChargeDate =2025-04-29 00:00:00
[2025-03-30 04:30:05] Production.INFO: EndDate =2025-03-29 00:00:00
[2025-03-30 04:30:05] Production.INFO: NewEndDate1 =2025-03-30
[2025-03-30 04:30:05] Production.INFO: SubscriptionDate
[2025-03-30 04:30:05] Production.INFO: Array
(
[StartDate] => 2025-03-30
[EndDate] => 2025-04-29 00:00:00
[AlreadyCharged] => 0
)
[2025-03-30 04:30:05] Production.INFO: AccountSubscription StartDate 2022-03-22 StartDate 2025-03-02
[2025-03-30 04:30:05] Production.INFO: SubscriptionID - 2025-03-30=====2025-04-29 00:00:00
[2025-03-30 04:30:05] Production.INFO: AccountSubscriptionID - 646 === 2022-03-22=====2026-03-30
[2025-03-30 04:30:05] Production.INFO: regular Advance Subscription
[2025-03-30 04:30:05] Production.INFO: First Time False 2022-03-22 2025-03-30
[2025-03-30 04:30:05] Production.INFO: StartDate 2025-03-30 AccountSubscription->StartDate 2022-03-22 EndDate 2025-04-29 00:00:00 AccountSubscription->EndDate 2026-03-30
[2025-03-30 04:30:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-30 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(646,2025-03-30,2025-04-29 00:00:00,,0)
[2025-03-30 04:30:05] Production.INFO: SubscriptionCharge - 2.5
[2025-03-30 04:30:05] Production.INFO: Already Invoice Subscription 0
[2025-03-30 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(165,1,4,2025-03-30,2025-04-29 00:00:00,e911 address registration (9058521007 - 4B Campbell Drive, Unit 1, Uxbridge, ON L9P1H6),2.5,2.5,1,646)
[2025-03-30 04:30:05] Production.INFO: DiscountAmount 0.000000
[2025-03-30 04:30:05] Production.INFO: DiscountType Flat
[2025-03-30 04:30:05] Production.INFO: SubscriptionCharge 2.5
[2025-03-30 04:30:05] Production.INFO: New SubscriptionCharge 2.5
[2025-03-30 04:30:05] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-03-30 04:30:05] Production.INFO: ============================Subscription End =================
[2025-03-30 04:30:05] Production.INFO: ============================Subscription Start =================
[2025-03-30 04:30:05] Production.INFO: SubscriptionID - 24
[2025-03-30 04:30:05] Production.INFO: SubscriptionID - 2025-03-02=====2025-03-29
[2025-03-30 04:30:05] Production.INFO: AccountSubscriptionID - 647 === 2022-03-22=====2026-03-30
[2025-03-30 04:30:05] Production.INFO: regular Subscription
[2025-03-30 04:30:05] Production.INFO: First Time False 2022-03-22 2025-03-02
[2025-03-30 04:30:05] Production.INFO: StartDate 2025-03-02 AccountSubscription->StartDate 2022-03-22 EndDate 2025-03-29 AccountSubscription->EndDate 2026-03-30
[2025-03-30 04:30:05] Production.INFO: days diff - 28 subscription days 31 quarter days 90
[2025-03-30 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(647,2025-03-02,2025-03-29,,0)
[2025-03-30 04:30:05] Production.INFO: SubscriptionCharge - -42
[2025-03-30 04:30:05] Production.INFO: Already Invoice Subscription 0
[2025-03-30 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(165,1,24,2025-03-02,2025-03-29,Discount - Friends and Family (Doug Geary referral),-42,-42,1,647)
[2025-03-30 04:30:05] Production.INFO: DiscountAmount 0.000000
[2025-03-30 04:30:05] Production.INFO: DiscountType Flat
[2025-03-30 04:30:05] Production.INFO: SubscriptionCharge -42
[2025-03-30 04:30:05] Production.INFO: New SubscriptionCharge -42
[2025-03-30 04:30:05] Production.INFO: TotalSubscriptionCharge - -42.00
[2025-03-30 04:30:05] Production.INFO: ============================Subscription End =================
[2025-03-30 04:30:05] Production.INFO: SUBSCRIPTION Over
[2025-03-30 04:30:05] Production.INFO: Call prc_getAccountOneOffCharge(165,0,2025-03-02,2025-03-30 23:59:59)
[2025-03-30 04:30:05] Production.INFO: AccountOneOffCharge 0
[2025-03-30 04:30:05] Production.INFO: AccountOneOffCharge Over
[2025-03-30 04:30:05] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-03-30 04:30:05] Production.INFO: New UsageDates 2025-03-02 - 2025-03-29 23:59:59
[2025-03-30 04:30:05] Production.INFO: SubTotal 35.5
[2025-03-30 04:30:05] Production.INFO: SubTotalWithouttaxTotal 0
[2025-03-30 04:30:05] Production.INFO: AccountOneOffCharge Tax Over
[2025-03-30 04:30:05] Production.INFO: TotalTax 4.615
[2025-03-30 04:30:05] Production.INFO: InvoiceGrandTotal 40.115
[2025-03-30 04:30:05] Production.INFO: InvoiceTaxAmount 4.62
[2025-03-30 04:30:05] Production.INFO: GrandTotal 40.12
[2025-03-30 04:30:05] Production.INFO: SubTotal 35.50
[2025-03-30 04:30:05] Production.INFO: TotalDue 40.12
[2025-03-30 04:30:06] Production.INFO: Reseller ==> 0
[2025-03-30 04:30:06] Production.INFO: original start date ==>2025-03-02 changed start date ==>2025-03-02 00:00:00 original end date ==>2025-03-29 23:59:59 changed end date ==>2025-03-29 23:59:59
[2025-03-30 04:30:06] Production.INFO: CALL prc_getInvoiceUsage(1,'165','0','1','2025-03-02 00:00:00','2025-03-29 23:59:59',0)
[2025-03-30 04:30:06] Production.INFO: PDF Generation start
[2025-03-30 04:30:06] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/165/Invoices/2025/03/30/Invoice-pharmasave-oak-tree-medical-inv11774-from-03-02-2025-to-03-29-2025-10716.pdf
[2025-03-30 04:30:06] Production.INFO: On Linux
[2025-03-30 04:30:09] 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/165/Invoices/2025/03/30/footer-pharmasave-oak-tree-medical-inv11774-from-03-02-2025-to-03-29-2025-10716.html" "/var/www/tmp/1/165/Invoices/2025/03/30/Invoice-pharmasave-oak-tree-medical-inv11774-from-03-02-2025-to-03-29-2025-10716.html" "/var/www/tmp/1/165/Invoices/2025/03/30/Invoice-pharmasave-oak-tree-medical-inv11774-from-03-02-2025-to-03-29-2025-10716.pdf"
[2025-03-30 04:30:09] Production.INFO:
[2025-03-30 04:30:09] Production.INFO: /var/www/tmp/1/165/Invoices/2025/03/30/Invoice-pharmasave-oak-tree-medical-inv11774-from-03-02-2025-to-03-29-2025-10716.html
[2025-03-30 04:30:09] Production.INFO: /var/www/tmp/1/165/Invoices/2025/03/30/header-pharmasave-oak-tree-medical-inv11774-from-03-02-2025-to-03-29-2025-10716.html
[2025-03-30 04:30:09] Production.INFO: /var/www/tmp/1/165/Invoices/2025/03/30/footer-pharmasave-oak-tree-medical-inv11774-from-03-02-2025-to-03-29-2025-10716.html
[2025-03-30 04:30:09] Production.INFO: Invoice generation PDF path
[2025-03-30 04:30:09] Production.INFO: PDF fullPath 1/165/Invoices/2025/03/30/Invoice-pharmasave-oak-tree-medical-inv11774-from-03-02-2025-to-03-29-2025-10716.pdf
[2025-03-30 04:30:09] Production.INFO: Generate Usage File Start
[2025-03-30 04:30:09] Production.INFO: Usage File fullPath 1/165/InvoiceUsageFile/2025/03/30/pharmasave-oak-tree-medical-02-03-2025-00-00-00-TO-29-03-2025-23-59-59_2143__30e76910-0d41-11f0-a919-87376e49e9dd.csv
[2025-03-30 04:30:11] Production.INFO: Sending Email to Staff over
[2025-03-30 04:30:12] Production.INFO: Email Status 1
[2025-03-30 04:30:12] Production.INFO: Sending Email to Customer
[2025-03-30 04:30:13] Production.INFO: Email Try 10716 1
[2025-03-30 04:30:13] Production.INFO: =========== Email Sending over ===========
[2025-03-30 04:30:13] Production.INFO: =========== Returning as Success =========== AccountID 165
[2025-03-30 04:30:13] Production.INFO: Invoice::sendInvoice done
[2025-03-30 04:30:13] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-03-30 04:30:13] Production.INFO: Invoice Committed AccountID = 165
[2025-03-30 04:30:13] Production.INFO: =========== Updating InvoiceDate ===========
[2025-03-30 04:30:13] Production.INFO: NextInvoice 2025-03-30 2025-04-29
[2025-03-30 04:30:13] Production.INFO: new dates
[2025-03-30 04:30:13] Production.INFO: LastInvoiceDate 2025-03-30 NextInvoiceDate 2025-04-30
[2025-03-30 04:30:13] Production.INFO: LastChargeDate 2025-03-30 NextChargeDate 2025-04-29
[2025-03-30 04:30:13] Production.INFO: =========== Updated InvoiceDate ===========
[2025-03-30 04:30:13] Production.INFO: ========================== Invoice Send End =============================
[2025-03-30 04:30:13] Production.INFO: AccountID =205 FirstInvoiceSend 0
[2025-03-30 04:30:13] Production.INFO: LastInvoiceDate 2025-03-02 NextInvoiceDate 2025-03-30
[2025-03-30 04:30:13] Production.INFO: LastChargeDate 2025-03-02 NextChargeDate 2025-03-29
[2025-03-30 04:30:13] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-03-30 04:30:13] Production.INFO: ========================== Invoice Send Start =============================
[2025-03-30 04:30:13] Production.INFO: Invoice::sendInvoice(1,205,2025-03-02,2025-03-30,billing@onswitchit.ca)
[2025-03-30 04:30:13] Production.INFO: start Date =2025-03-02 EndDate =2025-03-29 23:59:59
[2025-03-30 04:30:13] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-03-30 04:30: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-03-30 04:30:13] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-03-30 04:30:13] Production.INFO: AlreadyBilled
[2025-03-30 04:30:13] Production.INFO: Reseller ==> 0
[2025-03-30 04:30:13] Production.INFO: original start date ==>2025-03-02 changed start date ==>2025-03-02 00:00:00 original end date ==>2025-03-29 23:59:59 changed end date ==>2025-03-29 23:59:59
[2025-03-30 04:30:13] Production.INFO: Invoice::getAccountUsageTotal(1,205,2025-03-02,2025-03-29 23:59:59)
[2025-03-30 04:30:13] Production.INFO: TotalCharges - 0
[2025-03-30 04:30:13] Production.INFO: TotalUsageCharges - 0.00
[2025-03-30 04:30:13] Production.INFO: Usage Over
[2025-03-30 04:30:13] Production.INFO: Call prc_getAccountSubscription(205,0)
[2025-03-30 04:30:13] Production.INFO: SUBSCRIPTION 3
[2025-03-30 04:30:13] Production.INFO: ============================Subscription Start =================
[2025-03-30 04:30:13] Production.INFO: SubscriptionID - 5
[2025-03-30 04:30:13] Production.INFO: isAdvanceSubscription - 5
[2025-03-30 04:30:13] Production.INFO: SubscriptionStartDate =2025-03-30 - SubscriptionEndDate = 2025-04-29
[2025-03-30 04:30:13] Production.INFO: NewNextChargeDate =2025-04-29 00:00:00
[2025-03-30 04:30:13] Production.INFO: EndDate =2025-03-29 00:00:00
[2025-03-30 04:30:13] Production.INFO: NewEndDate1 =2025-03-30
[2025-03-30 04:30:13] Production.INFO: SubscriptionDate
[2025-03-30 04:30:13] Production.INFO: Array
(
[StartDate] => 2025-03-30
[EndDate] => 2025-04-29 00:00:00
[AlreadyCharged] => 0
)
[2025-03-30 04:30:13] Production.INFO: AccountSubscription StartDate 2023-08-14 StartDate 2025-03-02
[2025-03-30 04:30:13] Production.INFO: SubscriptionID - 2025-03-30=====2025-04-29 00:00:00
[2025-03-30 04:30:13] Production.INFO: AccountSubscriptionID - 698 === 2023-08-14=====2026-03-30
[2025-03-30 04:30:13] Production.INFO: regular Advance Subscription
[2025-03-30 04:30:13] Production.INFO: First Time False 2023-08-14 2025-03-30
[2025-03-30 04:30:13] Production.INFO: StartDate 2025-03-30 AccountSubscription->StartDate 2023-08-14 EndDate 2025-04-29 00:00:00 AccountSubscription->EndDate 2026-03-30
[2025-03-30 04:30:13] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-30 04:30:13] Production.INFO: AccountSubscription::getSubscriptionAmount(698,2025-03-30,2025-04-29 00:00:00,,0)
[2025-03-30 04:30:13] Production.INFO: SubscriptionCharge - 75
[2025-03-30 04:30:13] Production.INFO: Already Invoice Subscription 0
[2025-03-30 04:30:13] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(205,1,5,2025-03-30,2025-04-29 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,698)
[2025-03-30 04:30:13] Production.INFO: DiscountAmount 0.000000
[2025-03-30 04:30:13] Production.INFO: DiscountType Flat
[2025-03-30 04:30:13] Production.INFO: SubscriptionCharge 75
[2025-03-30 04:30:13] Production.INFO: New SubscriptionCharge 75
[2025-03-30 04:30:13] Production.INFO: TotalSubscriptionCharge - 75.00
[2025-03-30 04:30:13] Production.INFO: ============================Subscription End =================
[2025-03-30 04:30:13] Production.INFO: ============================Subscription Start =================
[2025-03-30 04:30:13] Production.INFO: SubscriptionID - 4
[2025-03-30 04:30:13] Production.INFO: isAdvanceSubscription - 4
[2025-03-30 04:30:13] Production.INFO: SubscriptionStartDate =2025-03-30 - SubscriptionEndDate = 2025-04-29
[2025-03-30 04:30:13] Production.INFO: NewNextChargeDate =2025-04-29 00:00:00
[2025-03-30 04:30:13] Production.INFO: EndDate =2025-03-29 00:00:00
[2025-03-30 04:30:13] Production.INFO: NewEndDate1 =2025-03-30
[2025-03-30 04:30:13] Production.INFO: SubscriptionDate
[2025-03-30 04:30:13] Production.INFO: Array
(
[StartDate] => 2025-03-30
[EndDate] => 2025-04-29 00:00:00
[AlreadyCharged] => 0
)
[2025-03-30 04:30:13] Production.INFO: AccountSubscription StartDate 2023-08-14 StartDate 2025-03-02
[2025-03-30 04:30:13] Production.INFO: SubscriptionID - 2025-03-30=====2025-04-29 00:00:00
[2025-03-30 04:30:13] Production.INFO: AccountSubscriptionID - 699 === 2023-08-14=====2026-03-30
[2025-03-30 04:30:13] Production.INFO: regular Advance Subscription
[2025-03-30 04:30:13] Production.INFO: First Time False 2023-08-14 2025-03-30
[2025-03-30 04:30:13] Production.INFO: StartDate 2025-03-30 AccountSubscription->StartDate 2023-08-14 EndDate 2025-04-29 00:00:00 AccountSubscription->EndDate 2026-03-30
[2025-03-30 04:30:13] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-30 04:30:13] Production.INFO: AccountSubscription::getSubscriptionAmount(699,2025-03-30,2025-04-29 00:00:00,,0)
[2025-03-30 04:30:13] Production.INFO: SubscriptionCharge - 2.5
[2025-03-30 04:30:13] Production.INFO: Already Invoice Subscription 0
[2025-03-30 04:30:13] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(205,1,4,2025-03-30,2025-04-29 00:00:00,e911 address registration (5194424400 - 308 Grand River Street North 3 Paris, ON N3L 3R7 Canada),2.5,2.5,1,699)
[2025-03-30 04:30:13] Production.INFO: DiscountAmount 0.000000
[2025-03-30 04:30:13] Production.INFO: DiscountType Flat
[2025-03-30 04:30:13] Production.INFO: SubscriptionCharge 2.5
[2025-03-30 04:30:13] Production.INFO: New SubscriptionCharge 2.5
[2025-03-30 04:30:13] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-03-30 04:30:13] Production.INFO: ============================Subscription End =================
[2025-03-30 04:30:13] Production.INFO: ============================Subscription Start =================
[2025-03-30 04:30:13] Production.INFO: SubscriptionID - 28
[2025-03-30 04:30:13] Production.INFO: isAdvanceSubscription - 28
[2025-03-30 04:30:13] Production.INFO: SubscriptionStartDate =2025-03-30 - SubscriptionEndDate = 2025-04-29
[2025-03-30 04:30:13] Production.INFO: NewNextChargeDate =2025-04-29 00:00:00
[2025-03-30 04:30:13] Production.INFO: EndDate =2025-03-29 00:00:00
[2025-03-30 04:30:13] Production.INFO: NewEndDate1 =2025-03-30
[2025-03-30 04:30:13] Production.INFO: SubscriptionDate
[2025-03-30 04:30:13] Production.INFO: Array
(
[StartDate] => 2025-03-30
[EndDate] => 2025-04-29 00:00:00
[AlreadyCharged] => 0
)
[2025-03-30 04:30:13] Production.INFO: AccountSubscription StartDate 2023-08-14 StartDate 2025-03-02
[2025-03-30 04:30:13] Production.INFO: SubscriptionID - 2025-03-30=====2025-04-29 00:00:00
[2025-03-30 04:30:13] Production.INFO: AccountSubscriptionID - 700 === 2023-08-14=====2026-03-30
[2025-03-30 04:30:13] Production.INFO: regular Advance Subscription
[2025-03-30 04:30:13] Production.INFO: First Time False 2023-08-14 2025-03-30
[2025-03-30 04:30:13] Production.INFO: StartDate 2025-03-30 AccountSubscription->StartDate 2023-08-14 EndDate 2025-04-29 00:00:00 AccountSubscription->EndDate 2026-03-30
[2025-03-30 04:30:13] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-03-30 04:30:13] Production.INFO: AccountSubscription::getSubscriptionAmount(700,2025-03-30,2025-04-29 00:00:00,,0)
[2025-03-30 04:30:13] Production.INFO: SubscriptionCharge - -25
[2025-03-30 04:30:13] Production.INFO: Already Invoice Subscription 0
[2025-03-30 04:30:13] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(205,1,28,2025-03-30,2025-04-29 00:00:00,Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service,-25,-25,1,700)
[2025-03-30 04:30:13] Production.INFO: DiscountAmount 0.000000
[2025-03-30 04:30:13] Production.INFO: DiscountType Flat
[2025-03-30 04:30:13] Production.INFO: SubscriptionCharge -25
[2025-03-30 04:30:13] Production.INFO: New SubscriptionCharge -25
[2025-03-30 04:30:13] Production.INFO: TotalSubscriptionCharge - -25.00
[2025-03-30 04:30:13] Production.INFO: ============================Subscription End =================
[2025-03-30 04:30:13] Production.INFO: SUBSCRIPTION Over
[2025-03-30 04:30:13] Production.INFO: Call prc_getAccountOneOffCharge(205,0,2025-03-02,2025-03-30 23:59:59)
[2025-03-30 04:30:13] Production.INFO: AccountOneOffCharge 0
[2025-03-30 04:30:13] Production.INFO: AccountOneOffCharge Over
[2025-03-30 04:30:13] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-03-30 04:30:13] Production.INFO: New UsageDates 2025-03-02 - 2025-03-29 23:59:59
[2025-03-30 04:30:13] Production.INFO: SubTotal 52.5
[2025-03-30 04:30:13] Production.INFO: SubTotalWithouttaxTotal 0
[2025-03-30 04:30:13] Production.INFO: AccountOneOffCharge Tax Over
[2025-03-30 04:30:13] Production.INFO: TotalTax 6.825
[2025-03-30 04:30:13] Production.INFO: InvoiceGrandTotal 59.325
[2025-03-30 04:30:13] Production.INFO: InvoiceTaxAmount 6.83
[2025-03-30 04:30:13] Production.INFO: GrandTotal 59.33
[2025-03-30 04:30:13] Production.INFO: SubTotal 52.50
[2025-03-30 04:30:13] Production.INFO: TotalDue 59.33
[2025-03-30 04:30:13] Production.INFO: Reseller ==> 0
[2025-03-30 04:30:13] Production.INFO: original start date ==>2025-03-02 changed start date ==>2025-03-02 00:00:00 original end date ==>2025-03-29 23:59:59 changed end date ==>2025-03-29 23:59:59
[2025-03-30 04:30:13] Production.INFO: CALL prc_getInvoiceUsage(1,'205','0','1','2025-03-02 00:00:00','2025-03-29 23:59:59',0)
[2025-03-30 04:30:13] Production.INFO: PDF Generation start
[2025-03-30 04:30:14] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/205/Invoices/2025/03/30/Invoice-dominos-10459-sandeep-chaudhari-inv11775-from-03-02-2025-to-03-29-2025-10717.pdf
[2025-03-30 04:30:14] Production.INFO: On Linux
[2025-03-30 04:30:16] Production.INFO: /var/www/html/onswitch.neon.service/wkhtmltox/bin/wkhtmltopdf --header-spacing 3 --footer-spacing 1 --header-html --footer-html "/var/www/tmp/1/205/Invoices/2025/03/30/footer-dominos-10459-sandeep-chaudhari-inv11775-from-03-02-2025-to-03-29-2025-10717.html" "/var/www/tmp/1/205/Invoices/2025/03/30/Invoice-dominos-10459-sandeep-chaudhari-inv11775-from-03-02-2025-to-03-29-2025-10717.html" "/var/www/tmp/1/205/Invoices/2025/03/30/Invoice-dominos-10459-sandeep-chaudhari-inv11775-from-03-02-2025-to-03-29-2025-10717.pdf"
[2025-03-30 04:30:16] Production.INFO:
[2025-03-30 04:30:16] Production.INFO: /var/www/tmp/1/205/Invoices/2025/03/30/Invoice-dominos-10459-sandeep-chaudhari-inv11775-from-03-02-2025-to-03-29-2025-10717.html
[2025-03-30 04:30:16] Production.INFO: /var/www/tmp/1/205/Invoices/2025/03/30/header-dominos-10459-sandeep-chaudhari-inv11775-from-03-02-2025-to-03-29-2025-10717.html
[2025-03-30 04:30:16] Production.INFO: /var/www/tmp/1/205/Invoices/2025/03/30/footer-dominos-10459-sandeep-chaudhari-inv11775-from-03-02-2025-to-03-29-2025-10717.html
[2025-03-30 04:30:16] Production.INFO: Invoice generation PDF path
[2025-03-30 04:30:16] Production.INFO: PDF fullPath 1/205/Invoices/2025/03/30/Invoice-dominos-10459-sandeep-chaudhari-inv11775-from-03-02-2025-to-03-29-2025-10717.pdf
[2025-03-30 04:30:16] Production.INFO: Generate Usage File Start
[2025-03-30 04:30:16] Production.INFO: Usage File fullPath 1/205/InvoiceUsageFile/2025/03/30/dominos-10459-sandeep-chaudhari-02-03-2025-00-00-00-TO-29-03-2025-23-59-59_2523__35002740-0d41-11f0-946d-33d86c7714f3.csv
[2025-03-30 04:30:17] Production.INFO: Sending Email to Staff over
[2025-03-30 04:30:17] Production.INFO: Email Status 1
[2025-03-30 04:30:17] Production.INFO: Sending Email to Customer
[2025-03-30 04:30:18] Production.INFO: Email Try 10717 1
[2025-03-30 04:30:19] Production.INFO: Email Try 10717 1
[2025-03-30 04:30:19] Production.INFO: =========== Email Sending over ===========
[2025-03-30 04:30:19] Production.INFO: =========== Returning as Success =========== AccountID 205
[2025-03-30 04:30:19] Production.INFO: Invoice::sendInvoice done
[2025-03-30 04:30:19] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-03-30 04:30:19] Production.INFO: Invoice Committed AccountID = 205
[2025-03-30 04:30:19] Production.INFO: =========== Updating InvoiceDate ===========
[2025-03-30 04:30:19] Production.INFO: NextInvoice 2025-03-30 2025-04-29
[2025-03-30 04:30:19] Production.INFO: new dates
[2025-03-30 04:30:19] Production.INFO: LastInvoiceDate 2025-03-30 NextInvoiceDate 2025-04-30
[2025-03-30 04:30:19] Production.INFO: LastChargeDate 2025-03-30 NextChargeDate 2025-04-29
[2025-03-30 04:30:19] Production.INFO: =========== Updated InvoiceDate ===========
[2025-03-30 04:30:19] Production.INFO: ========================== Invoice Send End =============================
[2025-03-30 04:30:19] Production.INFO: AccountID =258 FirstInvoiceSend 0
[2025-03-30 04:30:19] Production.INFO: LastInvoiceDate 2025-02-10 NextInvoiceDate 2025-03-10
[2025-03-30 04:30:19] Production.INFO: LastChargeDate 2025-02-10 NextChargeDate 2025-03-09
[2025-03-30 04:30:19] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-03-30 04:30:19] Production.INFO: ========================== Invoice Send Start =============================
[2025-03-30 04:30:19] Production.INFO: Invoice::sendInvoice(1,258,2025-02-10,2025-03-10,billing@onswitchit.ca)
[2025-03-30 04:30:19] Production.INFO: start Date =2025-02-10 EndDate =2025-03-09 23:59:59
[2025-03-30 04:30:19] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-03-30 04:30:19] Production.INFO: InvoiceTemplate->Terms =
This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.
[2025-03-30 04:30:19] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-03-30 04:30:19] Production.INFO: Invoice::sendInvoice done
[2025-03-30 04:30:19] Production.INFO: Invoice rollback AccountID = 258
[2025-03-30 04:30:19] Production.INFO: ========================== Error =============================
[2025-03-30 04:30:19] Production.INFO: Invoice with Error - Array
(
[status] => failure
[message] => Lion Motors Account is already billed on this duration
)
[2025-03-30 04:30:19] Production.INFO: ========================== Invoice Send End =============================
[2025-03-30 04:30:19] Production.INFO: ========================== Recurring invoice Start =============================
[2025-03-30 04:30:19] Production.INFO: recurring invoices ID
[2025-03-30 04:30:19] Production.INFO:
[2025-03-30 04:30:19] Production.INFO: recurring errorsArray
(
)
[2025-03-30 04:30:19] Production.INFO: ========================== Recurring invoice End =============================
[2025-03-30 04:30:19] Production.INFO: ========================== Job Updated =============================
[2025-03-30 04:30:20] Production.INFO: ========================== Job Email Sent =============================
[2025-03-30 04:30:21] Production.ERROR: **Email Sent Status 1
[2025-03-30 04:30:21] Production.ERROR: **Email Sent message Email has been sent
[2025-03-30 04:30:21] Production.ERROR: CronJobId end6
[2025-03-30 04:30:21] Production.INFO: ==19649== Releasing lock...
[2025-03-30 04:30:21] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops#
[2025-03-30 04:30:21] Production.INFO: 38.5 MB #Memory Used#