[2024-12-26 04:30:04] Production.INFO: Call prc_getBillingAccounts(1,2024-12-26,'','0')
[2024-12-26 04:30:04] Production.INFO: Array
(
[0] => stdClass Object
(
[AccountID] => 101
[NextInvoiceDate] => 2024-12-26
[AccountName] => Dominos 10364 (Shane Linthorne)
[ServiceID] => 0
)
)
[2024-12-26 04:30:04] Production.INFO: AccountID =101 FirstInvoiceSend 0
[2024-12-26 04:30:04] Production.INFO: LastInvoiceDate 2024-11-26 NextInvoiceDate 2024-12-26
[2024-12-26 04:30:04] Production.INFO: LastChargeDate 2024-11-26 NextChargeDate 2024-12-25
[2024-12-26 04:30:04] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2024-12-26 04:30:04] Production.INFO: ========================== Invoice Send Start =============================
[2024-12-26 04:30:04] Production.INFO: Invoice::sendInvoice(1,101,2024-11-26,2024-12-26,billing@onswitchit.ca)
[2024-12-26 04:30:04] Production.INFO: start Date =2024-11-26 EndDate =2024-12-25 23:59:59
[2024-12-26 04:30:04] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2024-12-26 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.
[2024-12-26 04:30:04] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2024-12-26 04:30:04] Production.INFO: AlreadyBilled
[2024-12-26 04:30:04] Production.INFO: Reseller ==> 0
[2024-12-26 04:30:04] Production.INFO: original start date ==>2024-11-26 changed start date ==>2024-11-26 00:00:00 original end date ==>2024-12-25 23:59:59 changed end date ==>2024-12-25 23:59:59
[2024-12-26 04:30:04] Production.INFO: Invoice::getAccountUsageTotal(1,101,2024-11-26,2024-12-25 23:59:59)
[2024-12-26 04:30:04] Production.INFO: TotalCharges - 0
[2024-12-26 04:30:04] Production.INFO: TotalUsageCharges - 0.00
[2024-12-26 04:30:04] Production.INFO: Usage Over
[2024-12-26 04:30:04] Production.INFO: Call prc_getAccountSubscription(101,0)
[2024-12-26 04:30:04] Production.INFO: SUBSCRIPTION 6
[2024-12-26 04:30:04] Production.INFO: ============================Subscription Start =================
[2024-12-26 04:30:04] Production.INFO: SubscriptionID - 19
[2024-12-26 04:30:04] Production.INFO: isAdvanceSubscription - 19
[2024-12-26 04:30:04] Production.INFO: SubscriptionStartDate =2024-12-26 - SubscriptionEndDate = 2025-01-25
[2024-12-26 04:30:04] Production.INFO: NewNextChargeDate =2025-01-25 00:00:00
[2024-12-26 04:30:04] Production.INFO: EndDate =2024-12-25 00:00:00
[2024-12-26 04:30:04] Production.INFO: NewEndDate1 =2024-12-26
[2024-12-26 04:30:04] Production.INFO: SubscriptionDate
[2024-12-26 04:30:04] Production.INFO: Array
(
[StartDate] => 2024-12-26
[EndDate] => 2025-01-25 00:00:00
[AlreadyCharged] => 0
)
[2024-12-26 04:30:04] Production.INFO: AccountSubscription StartDate 2018-11-23 StartDate 2024-11-26
[2024-12-26 04:30:04] Production.INFO: SubscriptionID - 2024-12-26=====2025-01-25 00:00:00
[2024-12-26 04:30:04] Production.INFO: AccountSubscriptionID - 337 === 2018-11-23=====2025-12-26
[2024-12-26 04:30:04] Production.INFO: regular Advance Subscription
[2024-12-26 04:30:04] Production.INFO: First Time False 2018-11-23 2024-12-26
[2024-12-26 04:30:04] Production.INFO: StartDate 2024-12-26 AccountSubscription->StartDate 2018-11-23 EndDate 2025-01-25 00:00:00 AccountSubscription->EndDate 2025-12-26
[2024-12-26 04:30:04] Production.INFO: days diff - 31 subscription days 31 quarter days 92
[2024-12-26 04:30:04] Production.INFO: AccountSubscription::getSubscriptionAmount(337,2024-12-26,2025-01-25 00:00:00,,0)
[2024-12-26 04:30:04] Production.INFO: SubscriptionCharge - 69.78
[2024-12-26 04:30:04] Production.INFO: Already Invoice Subscription 0
[2024-12-26 04:30:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(101,5,19,2024-12-26,2025-01-25 00:00:00,VDSL Internet Service (324 Guelph St 10 Georgetown, ON L7G 4B5 Canada),69.78,69.78,1,337)
[2024-12-26 04:30:04] Production.INFO: DiscountAmount 0.000000
[2024-12-26 04:30:04] Production.INFO: DiscountType
[2024-12-26 04:30:04] Production.INFO: SubscriptionCharge 69.78
[2024-12-26 04:30:04] Production.INFO: New SubscriptionCharge 69.78
[2024-12-26 04:30:04] Production.INFO: TotalSubscriptionCharge - 69.78
[2024-12-26 04:30:04] Production.INFO: ============================Subscription End =================
[2024-12-26 04:30:04] Production.INFO: ============================Subscription Start =================
[2024-12-26 04:30:04] Production.INFO: SubscriptionID - 23
[2024-12-26 04:30:04] Production.INFO: isAdvanceSubscription - 23
[2024-12-26 04:30:04] Production.INFO: SubscriptionStartDate =2024-12-26 - SubscriptionEndDate = 2025-01-25
[2024-12-26 04:30:04] Production.INFO: NewNextChargeDate =2025-01-25 00:00:00
[2024-12-26 04:30:04] Production.INFO: EndDate =2024-12-25 00:00:00
[2024-12-26 04:30:04] Production.INFO: NewEndDate1 =2024-12-26
[2024-12-26 04:30:04] Production.INFO: SubscriptionDate
[2024-12-26 04:30:04] Production.INFO: Array
(
[StartDate] => 2024-12-26
[EndDate] => 2025-01-25 00:00:00
[AlreadyCharged] => 0
)
[2024-12-26 04:30:04] Production.INFO: AccountSubscription StartDate 2018-11-23 StartDate 2024-11-26
[2024-12-26 04:30:04] Production.INFO: SubscriptionID - 2024-12-26=====2025-01-25 00:00:00
[2024-12-26 04:30:04] Production.INFO: AccountSubscriptionID - 338 === 2018-11-23=====2025-12-26
[2024-12-26 04:30:04] Production.INFO: regular Advance Subscription
[2024-12-26 04:30:04] Production.INFO: First Time False 2018-11-23 2024-12-26
[2024-12-26 04:30:04] Production.INFO: StartDate 2024-12-26 AccountSubscription->StartDate 2018-11-23 EndDate 2025-01-25 00:00:00 AccountSubscription->EndDate 2025-12-26
[2024-12-26 04:30:04] Production.INFO: days diff - 31 subscription days 31 quarter days 92
[2024-12-26 04:30:04] Production.INFO: AccountSubscription::getSubscriptionAmount(338,2024-12-26,2025-01-25 00:00:00,,0)
[2024-12-26 04:30:04] Production.INFO: SubscriptionCharge - 55.9
[2024-12-26 04:30:04] Production.INFO: Already Invoice Subscription 0
[2024-12-26 04:30:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(101,5,23,2024-12-26,2025-01-25 00:00:00,LTE Internet Failover Service (324 Guelph St 10 Georgetown, ON L7G 4B5 Canada),55.9,55.9,1,338)
[2024-12-26 04:30:04] Production.INFO: DiscountAmount 0.000000
[2024-12-26 04:30:04] Production.INFO: DiscountType
[2024-12-26 04:30:04] Production.INFO: SubscriptionCharge 55.9
[2024-12-26 04:30:04] Production.INFO: New SubscriptionCharge 55.9
[2024-12-26 04:30:04] Production.INFO: TotalSubscriptionCharge - 55.90
[2024-12-26 04:30:04] Production.INFO: ============================Subscription End =================
[2024-12-26 04:30:04] Production.INFO: ============================Subscription Start =================
[2024-12-26 04:30:04] Production.INFO: SubscriptionID - 5
[2024-12-26 04:30:04] Production.INFO: isAdvanceSubscription - 5
[2024-12-26 04:30:05] Production.INFO: SubscriptionStartDate =2024-12-26 - SubscriptionEndDate = 2025-01-25
[2024-12-26 04:30:05] Production.INFO: NewNextChargeDate =2025-01-25 00:00:00
[2024-12-26 04:30:05] Production.INFO: EndDate =2024-12-25 00:00:00
[2024-12-26 04:30:05] Production.INFO: NewEndDate1 =2024-12-26
[2024-12-26 04:30:05] Production.INFO: SubscriptionDate
[2024-12-26 04:30:05] Production.INFO: Array
(
[StartDate] => 2024-12-26
[EndDate] => 2025-01-25 00:00:00
[AlreadyCharged] => 0
)
[2024-12-26 04:30:05] Production.INFO: AccountSubscription StartDate 2019-01-28 StartDate 2024-11-26
[2024-12-26 04:30:05] Production.INFO: SubscriptionID - 2024-12-26=====2025-01-25 00:00:00
[2024-12-26 04:30:05] Production.INFO: AccountSubscriptionID - 370 === 2019-01-28=====2025-12-26
[2024-12-26 04:30:05] Production.INFO: regular Advance Subscription
[2024-12-26 04:30:05] Production.INFO: First Time False 2019-01-28 2024-12-26
[2024-12-26 04:30:05] Production.INFO: StartDate 2024-12-26 AccountSubscription->StartDate 2019-01-28 EndDate 2025-01-25 00:00:00 AccountSubscription->EndDate 2025-12-26
[2024-12-26 04:30:05] Production.INFO: days diff - 31 subscription days 31 quarter days 92
[2024-12-26 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(370,2024-12-26,2025-01-25 00:00:00,,0)
[2024-12-26 04:30:05] Production.INFO: SubscriptionCharge - 75
[2024-12-26 04:30:05] Production.INFO: Already Invoice Subscription 0
[2024-12-26 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(101,1,5,2024-12-26,2025-01-25 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,370)
[2024-12-26 04:30:05] Production.INFO: DiscountAmount 0.000000
[2024-12-26 04:30:05] Production.INFO: DiscountType
[2024-12-26 04:30:05] Production.INFO: SubscriptionCharge 75
[2024-12-26 04:30:05] Production.INFO: New SubscriptionCharge 75
[2024-12-26 04:30:05] Production.INFO: TotalSubscriptionCharge - 75.00
[2024-12-26 04:30:05] Production.INFO: ============================Subscription End =================
[2024-12-26 04:30:05] Production.INFO: ============================Subscription Start =================
[2024-12-26 04:30:05] Production.INFO: SubscriptionID - 4
[2024-12-26 04:30:05] Production.INFO: isAdvanceSubscription - 4
[2024-12-26 04:30:05] Production.INFO: SubscriptionStartDate =2024-12-26 - SubscriptionEndDate = 2025-01-25
[2024-12-26 04:30:05] Production.INFO: NewNextChargeDate =2025-01-25 00:00:00
[2024-12-26 04:30:05] Production.INFO: EndDate =2024-12-25 00:00:00
[2024-12-26 04:30:05] Production.INFO: NewEndDate1 =2024-12-26
[2024-12-26 04:30:05] Production.INFO: SubscriptionDate
[2024-12-26 04:30:05] Production.INFO: Array
(
[StartDate] => 2024-12-26
[EndDate] => 2025-01-25 00:00:00
[AlreadyCharged] => 0
)
[2024-12-26 04:30:05] Production.INFO: AccountSubscription StartDate 2019-01-28 StartDate 2024-11-26
[2024-12-26 04:30:05] Production.INFO: SubscriptionID - 2024-12-26=====2025-01-25 00:00:00
[2024-12-26 04:30:05] Production.INFO: AccountSubscriptionID - 371 === 2019-01-28=====2025-12-26
[2024-12-26 04:30:05] Production.INFO: regular Advance Subscription
[2024-12-26 04:30:05] Production.INFO: First Time False 2019-01-28 2024-12-26
[2024-12-26 04:30:05] Production.INFO: StartDate 2024-12-26 AccountSubscription->StartDate 2019-01-28 EndDate 2025-01-25 00:00:00 AccountSubscription->EndDate 2025-12-26
[2024-12-26 04:30:05] Production.INFO: days diff - 31 subscription days 31 quarter days 92
[2024-12-26 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(371,2024-12-26,2025-01-25 00:00:00,,0)
[2024-12-26 04:30:05] Production.INFO: SubscriptionCharge - 2.5
[2024-12-26 04:30:05] Production.INFO: Already Invoice Subscription 0
[2024-12-26 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(101,1,4,2024-12-26,2025-01-25 00:00:00,e911 address registration (19057028800 - 324 Guelph St 10 Georgetown, ON L7G 4B5 Canada),2.5,2.5,1,371)
[2024-12-26 04:30:05] Production.INFO: DiscountAmount 0.000000
[2024-12-26 04:30:05] Production.INFO: DiscountType
[2024-12-26 04:30:05] Production.INFO: SubscriptionCharge 2.5
[2024-12-26 04:30:05] Production.INFO: New SubscriptionCharge 2.5
[2024-12-26 04:30:05] Production.INFO: TotalSubscriptionCharge - 2.50
[2024-12-26 04:30:05] Production.INFO: ============================Subscription End =================
[2024-12-26 04:30:05] Production.INFO: ============================Subscription Start =================
[2024-12-26 04:30:05] Production.INFO: SubscriptionID - 11
[2024-12-26 04:30:05] Production.INFO: isAdvanceSubscription - 11
[2024-12-26 04:30:05] Production.INFO: SubscriptionStartDate =2024-12-26 - SubscriptionEndDate = 2025-01-25
[2024-12-26 04:30:05] Production.INFO: NewNextChargeDate =2025-01-25 00:00:00
[2024-12-26 04:30:05] Production.INFO: EndDate =2024-12-25 00:00:00
[2024-12-26 04:30:05] Production.INFO: NewEndDate1 =2024-12-26
[2024-12-26 04:30:05] Production.INFO: SubscriptionDate
[2024-12-26 04:30:05] Production.INFO: Array
(
[StartDate] => 2024-12-26
[EndDate] => 2025-01-25 00:00:00
[AlreadyCharged] => 0
)
[2024-12-26 04:30:05] Production.INFO: AccountSubscription StartDate 2019-10-31 StartDate 2024-11-26
[2024-12-26 04:30:05] Production.INFO: SubscriptionID - 2024-12-26=====2025-01-25 00:00:00
[2024-12-26 04:30:05] Production.INFO: AccountSubscriptionID - 447 === 2019-10-31=====2025-12-26
[2024-12-26 04:30:05] Production.INFO: regular Advance Subscription
[2024-12-26 04:30:05] Production.INFO: First Time False 2019-10-31 2024-12-26
[2024-12-26 04:30:05] Production.INFO: StartDate 2024-12-26 AccountSubscription->StartDate 2019-10-31 EndDate 2025-01-25 00:00:00 AccountSubscription->EndDate 2025-12-26
[2024-12-26 04:30:05] Production.INFO: days diff - 31 subscription days 31 quarter days 92
[2024-12-26 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(447,2024-12-26,2025-01-25 00:00:00,,0)
[2024-12-26 04:30:05] Production.INFO: SubscriptionCharge - -5
[2024-12-26 04:30:05] Production.INFO: Already Invoice Subscription 0
[2024-12-26 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(101,1,11,2024-12-26,2025-01-25 00:00:00,Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service,-10,-5,2,447)
[2024-12-26 04:30:05] Production.INFO: DiscountAmount 0.000000
[2024-12-26 04:30:05] Production.INFO: DiscountType
[2024-12-26 04:30:05] Production.INFO: SubscriptionCharge -10
[2024-12-26 04:30:05] Production.INFO: New SubscriptionCharge -10
[2024-12-26 04:30:05] Production.INFO: TotalSubscriptionCharge - -10.00
[2024-12-26 04:30:05] Production.INFO: ============================Subscription End =================
[2024-12-26 04:30:05] Production.INFO: ============================Subscription Start =================
[2024-12-26 04:30:05] Production.INFO: SubscriptionID - 24
[2024-12-26 04:30:05] Production.INFO: SubscriptionID - 2024-11-26=====2024-12-25
[2024-12-26 04:30:05] Production.INFO: AccountSubscriptionID - 470 === 2020-01-26=====2020-09-26
[2024-12-26 04:30:05] Production.INFO: ============================Subscription End =================
[2024-12-26 04:30:05] Production.INFO: SUBSCRIPTION Over
[2024-12-26 04:30:05] Production.INFO: Call prc_getAccountOneOffCharge(101,0,2024-11-26,2024-12-26 23:59:59)
[2024-12-26 04:30:05] Production.INFO: AccountOneOffCharge 0
[2024-12-26 04:30:05] Production.INFO: AccountOneOffCharge Over
[2024-12-26 04:30:05] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2024-12-26 04:30:05] Production.INFO: New UsageDates 2024-11-26 - 2024-12-25 23:59:59
[2024-12-26 04:30:05] Production.INFO: SubTotal 193.18
[2024-12-26 04:30:05] Production.INFO: SubTotalWithouttaxTotal 0
[2024-12-26 04:30:05] Production.INFO: AccountOneOffCharge Tax Over
[2024-12-26 04:30:05] Production.INFO: TotalTax 25.1134
[2024-12-26 04:30:05] Production.INFO: InvoiceGrandTotal 218.2934
[2024-12-26 04:30:05] Production.INFO: InvoiceTaxAmount 25.11
[2024-12-26 04:30:05] Production.INFO: GrandTotal 218.29
[2024-12-26 04:30:05] Production.INFO: SubTotal 193.18
[2024-12-26 04:30:05] Production.INFO: TotalDue -0.01
[2024-12-26 04:30:05] Production.INFO: Reseller ==> 0
[2024-12-26 04:30:05] Production.INFO: original start date ==>2024-11-26 changed start date ==>2024-11-26 00:00:00 original end date ==>2024-12-25 23:59:59 changed end date ==>2024-12-25 23:59:59
[2024-12-26 04:30:05] Production.INFO: CALL prc_getInvoiceUsage(1,'101','0','1','2024-11-26 00:00:00','2024-12-25 23:59:59',0)
[2024-12-26 04:30:05] Production.INFO: PDF Generation start
[2024-12-26 04:30:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/101/Invoices/2024/12/26/Invoice-dominos-10364-shane-linthorne-inv11265-from-11-26-2024-to-12-25-2024-10187.pdf
[2024-12-26 04:30:05] Production.INFO: On Linux
[2024-12-26 04:30:08] 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/101/Invoices/2024/12/26/footer-dominos-10364-shane-linthorne-inv11265-from-11-26-2024-to-12-25-2024-10187.html" "/var/www/tmp/1/101/Invoices/2024/12/26/Invoice-dominos-10364-shane-linthorne-inv11265-from-11-26-2024-to-12-25-2024-10187.html" "/var/www/tmp/1/101/Invoices/2024/12/26/Invoice-dominos-10364-shane-linthorne-inv11265-from-11-26-2024-to-12-25-2024-10187.pdf"
[2024-12-26 04:30:08] Production.INFO:
[2024-12-26 04:30:08] Production.INFO: /var/www/tmp/1/101/Invoices/2024/12/26/Invoice-dominos-10364-shane-linthorne-inv11265-from-11-26-2024-to-12-25-2024-10187.html
[2024-12-26 04:30:08] Production.INFO: /var/www/tmp/1/101/Invoices/2024/12/26/header-dominos-10364-shane-linthorne-inv11265-from-11-26-2024-to-12-25-2024-10187.html
[2024-12-26 04:30:08] Production.INFO: /var/www/tmp/1/101/Invoices/2024/12/26/footer-dominos-10364-shane-linthorne-inv11265-from-11-26-2024-to-12-25-2024-10187.html
[2024-12-26 04:30:08] Production.INFO: Invoice generation PDF path
[2024-12-26 04:30:08] Production.INFO: PDF fullPath 1/101/Invoices/2024/12/26/Invoice-dominos-10364-shane-linthorne-inv11265-from-11-26-2024-to-12-25-2024-10187.pdf
[2024-12-26 04:30:08] Production.INFO: Generate Usage File Start
[2024-12-26 04:30:08] Production.INFO: Usage File fullPath 1/101/InvoiceUsageFile/2024/12/26/dominos-10364-shane-linthorne-26-11-2024-00-00-00-TO-25-12-2024-23-59-59_691__ff173e70-c36b-11ef-9a94-89eafc79c829.csv
[2024-12-26 04:30:09] Production.INFO: Sending Email to Staff over
[2024-12-26 04:30:09] Production.INFO: Email Status 1
[2024-12-26 04:30:09] Production.INFO: Sending Email to Customer
[2024-12-26 04:30:11] Production.INFO: Email Try 10187 1
[2024-12-26 04:30:11] Production.INFO: =========== Email Sending over ===========
[2024-12-26 04:30:11] Production.INFO: =========== Returning as Success =========== AccountID 101
[2024-12-26 04:30:11] Production.INFO: Invoice::sendInvoice done
[2024-12-26 04:30:11] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2024-12-26 04:30:11] Production.INFO: Invoice Committed AccountID = 101
[2024-12-26 04:30:11] Production.INFO: =========== Updating InvoiceDate ===========
[2024-12-26 04:30:11] Production.INFO: NextInvoice 2024-12-26 2025-01-25
[2024-12-26 04:30:11] Production.INFO: new dates
[2024-12-26 04:30:11] Production.INFO: LastInvoiceDate 2024-12-26 NextInvoiceDate 2025-01-26
[2024-12-26 04:30:11] Production.INFO: LastChargeDate 2024-12-26 NextChargeDate 2025-01-25
[2024-12-26 04:30:11] Production.INFO: =========== Updated InvoiceDate ===========
[2024-12-26 04:30:11] Production.INFO: ========================== Invoice Send End =============================
[2024-12-26 04:30:11] Production.INFO: ========================== Recurring invoice Start =============================
[2024-12-26 04:30:11] Production.INFO: recurring invoices ID
[2024-12-26 04:30:11] Production.INFO:
[2024-12-26 04:30:11] Production.INFO: recurring errorsArray
(
)
[2024-12-26 04:30:11] Production.INFO: ========================== Recurring invoice End =============================
[2024-12-26 04:30:11] Production.INFO: ========================== Job Updated =============================
[2024-12-26 04:30:12] Production.INFO: ========================== Job Email Sent =============================
[2024-12-26 04:30:13] Production.ERROR: **Email Sent Status 1
[2024-12-26 04:30:13] Production.ERROR: **Email Sent message Email has been sent
[2024-12-26 04:30:13] Production.ERROR: CronJobId end6
[2024-12-26 04:30:13] Production.INFO: ==9177== Releasing lock...
[2024-12-26 04:30:13] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops#
[2024-12-26 04:30:13] Production.INFO: 38.25 MB #Memory Used#