[2025-01-24 04:31:04] Production.INFO: Call prc_getBillingAccounts(1,2025-01-24,'','0')
[2025-01-24 04:31:04] Production.INFO: Array
(
[0] => stdClass Object
(
[AccountID] => 7
[NextInvoiceDate] => 2025-01-24
[AccountName] => Dominos 10099 (Mudassar Zia)
[ServiceID] => 0
)
)
[2025-01-24 04:31:04] Production.INFO: AccountID =7 FirstInvoiceSend 0
[2025-01-24 04:31:04] Production.INFO: LastInvoiceDate 2024-12-24 NextInvoiceDate 2025-01-24
[2025-01-24 04:31:04] Production.INFO: LastChargeDate 2024-12-24 NextChargeDate 2025-01-23
[2025-01-24 04:31:04] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-24 04:31:04] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-24 04:31:04] Production.INFO: Invoice::sendInvoice(1,7,2024-12-24,2025-01-24,billing@onswitchit.ca)
[2025-01-24 04:31:04] Production.INFO: start Date =2024-12-24 EndDate =2025-01-23 23:59:59
[2025-01-24 04:31:04] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-24 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-01-24 04:31:04] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-24 04:31:04] Production.INFO: AlreadyBilled
[2025-01-24 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-24 04:31:04] Production.INFO: original start date ==>2024-12-24 changed start date ==>2024-12-24 02:00:00 original end date ==>2025-01-23 23:59:59 changed end date ==>2025-01-24 01:59:59
[2025-01-24 04:31:04] Production.INFO: Invoice::getAccountUsageTotal(1,7,2024-12-24,2025-01-23 23:59:59)
[2025-01-24 04:31:04] Production.INFO: TotalCharges - 0
[2025-01-24 04:31:04] Production.INFO: TotalUsageCharges - 0.00
[2025-01-24 04:31:04] Production.INFO: Usage Over
[2025-01-24 04:31:04] Production.INFO: Call prc_getAccountSubscription(7,0)
[2025-01-24 04:31:04] Production.INFO: SUBSCRIPTION 4
[2025-01-24 04:31:04] Production.INFO: ============================Subscription Start =================
[2025-01-24 04:31:04] Production.INFO: SubscriptionID - 5
[2025-01-24 04:31:04] Production.INFO: isAdvanceSubscription - 5
[2025-01-24 04:31:04] Production.INFO: SubscriptionStartDate =2025-01-24 - SubscriptionEndDate = 2025-02-23
[2025-01-24 04:31:04] Production.INFO: NewNextChargeDate =2025-02-23 00:00:00
[2025-01-24 04:31:04] Production.INFO: EndDate =2025-01-23 00:00:00
[2025-01-24 04:31:04] Production.INFO: NewEndDate1 =2025-01-24
[2025-01-24 04:31:04] Production.INFO: SubscriptionDate
[2025-01-24 04:31:04] Production.INFO: Array
(
[StartDate] => 2025-01-24
[EndDate] => 2025-02-23 00:00:00
[AlreadyCharged] => 0
)
[2025-01-24 04:31:04] Production.INFO: AccountSubscription StartDate 2017-04-24 StartDate 2024-12-24
[2025-01-24 04:31:04] Production.INFO: SubscriptionID - 2025-01-24=====2025-02-23 00:00:00
[2025-01-24 04:31:04] Production.INFO: AccountSubscriptionID - 7 === 2017-04-24=====2026-01-24
[2025-01-24 04:31:04] Production.INFO: regular Advance Subscription
[2025-01-24 04:31:04] Production.INFO: First Time False 2017-04-24 2025-01-24
[2025-01-24 04:31:04] Production.INFO: StartDate 2025-01-24 AccountSubscription->StartDate 2017-04-24 EndDate 2025-02-23 00:00:00 AccountSubscription->EndDate 2026-01-24
[2025-01-24 04:31:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-24 04:31:05] Production.INFO: AccountSubscription::getSubscriptionAmount(7,2025-01-24,2025-02-23 00:00:00,,0)
[2025-01-24 04:31:05] Production.INFO: SubscriptionCharge - 75
[2025-01-24 04:31:05] Production.INFO: Already Invoice Subscription 0
[2025-01-24 04:31:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(7,1,5,2025-01-24,2025-02-23 00:00:00,Dominos Pizza - 4 Line Flat Rate with $5 discount (3+ stores),75,75,1,7)
[2025-01-24 04:31:05] Production.INFO: DiscountAmount 0.000000
[2025-01-24 04:31:05] Production.INFO: DiscountType
[2025-01-24 04:31:05] Production.INFO: SubscriptionCharge 75
[2025-01-24 04:31:05] Production.INFO: New SubscriptionCharge 75
[2025-01-24 04:31:05] Production.INFO: TotalSubscriptionCharge - 75.00
[2025-01-24 04:31:05] Production.INFO: ============================Subscription End =================
[2025-01-24 04:31:05] Production.INFO: ============================Subscription Start =================
[2025-01-24 04:31:05] Production.INFO: SubscriptionID - 4
[2025-01-24 04:31:05] Production.INFO: isAdvanceSubscription - 4
[2025-01-24 04:31:05] Production.INFO: SubscriptionStartDate =2025-01-24 - SubscriptionEndDate = 2025-02-23
[2025-01-24 04:31:05] Production.INFO: NewNextChargeDate =2025-02-23 00:00:00
[2025-01-24 04:31:05] Production.INFO: EndDate =2025-01-23 00:00:00
[2025-01-24 04:31:05] Production.INFO: NewEndDate1 =2025-01-24
[2025-01-24 04:31:05] Production.INFO: SubscriptionDate
[2025-01-24 04:31:05] Production.INFO: Array
(
[StartDate] => 2025-01-24
[EndDate] => 2025-02-23 00:00:00
[AlreadyCharged] => 0
)
[2025-01-24 04:31:05] Production.INFO: AccountSubscription StartDate 2017-04-24 StartDate 2024-12-24
[2025-01-24 04:31:05] Production.INFO: SubscriptionID - 2025-01-24=====2025-02-23 00:00:00
[2025-01-24 04:31:05] Production.INFO: AccountSubscriptionID - 8 === 2017-04-24=====2026-01-24
[2025-01-24 04:31:05] Production.INFO: regular Advance Subscription
[2025-01-24 04:31:05] Production.INFO: First Time False 2017-04-24 2025-01-24
[2025-01-24 04:31:05] Production.INFO: StartDate 2025-01-24 AccountSubscription->StartDate 2017-04-24 EndDate 2025-02-23 00:00:00 AccountSubscription->EndDate 2026-01-24
[2025-01-24 04:31:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-24 04:31:05] Production.INFO: AccountSubscription::getSubscriptionAmount(8,2025-01-24,2025-02-23 00:00:00,,0)
[2025-01-24 04:31:05] Production.INFO: SubscriptionCharge - 2.5
[2025-01-24 04:31:05] Production.INFO: Already Invoice Subscription 0
[2025-01-24 04:31:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(7,1,4,2025-01-24,2025-02-23 00:00:00,e911 address registration - (AUBURN MEADOWS DR SE UNIT 330 CALGARY, AB T3M2G5),2.5,2.5,1,8)
[2025-01-24 04:31:05] Production.INFO: DiscountAmount 0.000000
[2025-01-24 04:31:05] Production.INFO: DiscountType
[2025-01-24 04:31:05] Production.INFO: SubscriptionCharge 2.5
[2025-01-24 04:31:05] Production.INFO: New SubscriptionCharge 2.5
[2025-01-24 04:31:05] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-01-24 04:31:05] Production.INFO: ============================Subscription End =================
[2025-01-24 04:31:05] Production.INFO: ============================Subscription Start =================
[2025-01-24 04:31:05] Production.INFO: SubscriptionID - 8
[2025-01-24 04:31:05] Production.INFO: isAdvanceSubscription - 8
[2025-01-24 04:31:05] Production.INFO: SubscriptionStartDate =2025-01-24 - SubscriptionEndDate = 2025-02-23
[2025-01-24 04:31:05] Production.INFO: NewNextChargeDate =2025-02-23 00:00:00
[2025-01-24 04:31:05] Production.INFO: EndDate =2025-01-23 00:00:00
[2025-01-24 04:31:05] Production.INFO: NewEndDate1 =2025-01-24
[2025-01-24 04:31:05] Production.INFO: SubscriptionDate
[2025-01-24 04:31:05] Production.INFO: Array
(
[StartDate] => 2025-01-24
[EndDate] => 2025-02-23 00:00:00
[AlreadyCharged] => 0
)
[2025-01-24 04:31:05] Production.INFO: AccountSubscription StartDate 2017-12-12 StartDate 2024-12-24
[2025-01-24 04:31:05] Production.INFO: SubscriptionID - 2025-01-24=====2025-02-23 00:00:00
[2025-01-24 04:31:05] Production.INFO: AccountSubscriptionID - 190 === 2017-12-12=====2026-01-24
[2025-01-24 04:31:05] Production.INFO: regular Advance Subscription
[2025-01-24 04:31:05] Production.INFO: First Time False 2017-12-12 2025-01-24
[2025-01-24 04:31:05] Production.INFO: StartDate 2025-01-24 AccountSubscription->StartDate 2017-12-12 EndDate 2025-02-23 00:00:00 AccountSubscription->EndDate 2026-01-24
[2025-01-24 04:31:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-24 04:31:05] Production.INFO: AccountSubscription::getSubscriptionAmount(190,2025-01-24,2025-02-23 00:00:00,,0)
[2025-01-24 04:31:05] Production.INFO: SubscriptionCharge - 5
[2025-01-24 04:31:05] Production.INFO: Already Invoice Subscription 0
[2025-01-24 04:31:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(7,1,8,2025-01-24,2025-02-23 00:00:00,Additional DID - Fax (14038790958),5,5,1,190)
[2025-01-24 04:31:05] Production.INFO: DiscountAmount 0.000000
[2025-01-24 04:31:05] Production.INFO: DiscountType
[2025-01-24 04:31:05] Production.INFO: SubscriptionCharge 5
[2025-01-24 04:31:05] Production.INFO: New SubscriptionCharge 5
[2025-01-24 04:31:05] Production.INFO: TotalSubscriptionCharge - 5.00
[2025-01-24 04:31:05] Production.INFO: ============================Subscription End =================
[2025-01-24 04:31:05] Production.INFO: ============================Subscription Start =================
[2025-01-24 04:31:05] Production.INFO: SubscriptionID - 11
[2025-01-24 04:31:05] Production.INFO: isAdvanceSubscription - 11
[2025-01-24 04:31:05] Production.INFO: SubscriptionStartDate =2025-01-24 - SubscriptionEndDate = 2025-02-23
[2025-01-24 04:31:05] Production.INFO: NewNextChargeDate =2025-02-23 00:00:00
[2025-01-24 04:31:05] Production.INFO: EndDate =2025-01-23 00:00:00
[2025-01-24 04:31:05] Production.INFO: NewEndDate1 =2025-01-24
[2025-01-24 04:31:05] Production.INFO: SubscriptionDate
[2025-01-24 04:31:05] Production.INFO: Array
(
[StartDate] => 2025-01-24
[EndDate] => 2025-02-23 00:00:00
[AlreadyCharged] => 0
)
[2025-01-24 04:31:05] Production.INFO: AccountSubscription StartDate 2019-08-24 StartDate 2024-12-24
[2025-01-24 04:31:05] Production.INFO: SubscriptionID - 2025-01-24=====2025-02-23 00:00:00
[2025-01-24 04:31:05] Production.INFO: AccountSubscriptionID - 420 === 2019-08-24=====2026-01-24
[2025-01-24 04:31:05] Production.INFO: regular Advance Subscription
[2025-01-24 04:31:05] Production.INFO: First Time False 2019-08-24 2025-01-24
[2025-01-24 04:31:05] Production.INFO: StartDate 2025-01-24 AccountSubscription->StartDate 2019-08-24 EndDate 2025-02-23 00:00:00 AccountSubscription->EndDate 2026-01-24
[2025-01-24 04:31:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-24 04:31:05] Production.INFO: AccountSubscription::getSubscriptionAmount(420,2025-01-24,2025-02-23 00:00:00,,0)
[2025-01-24 04:31:05] Production.INFO: SubscriptionCharge - -5
[2025-01-24 04:31:05] Production.INFO: Already Invoice Subscription 0
[2025-01-24 04:31:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(7,1,11,2025-01-24,2025-02-23 00:00:00,Provides a $5/store/month discount when 3+ stores have OnSwitch Cloud Phone service,-15,-5,3,420)
[2025-01-24 04:31:05] Production.INFO: DiscountAmount 0.000000
[2025-01-24 04:31:05] Production.INFO: DiscountType
[2025-01-24 04:31:05] Production.INFO: SubscriptionCharge -15
[2025-01-24 04:31:05] Production.INFO: New SubscriptionCharge -15
[2025-01-24 04:31:05] Production.INFO: TotalSubscriptionCharge - -15.00
[2025-01-24 04:31:05] Production.INFO: ============================Subscription End =================
[2025-01-24 04:31:05] Production.INFO: SUBSCRIPTION Over
[2025-01-24 04:31:05] Production.INFO: Call prc_getAccountOneOffCharge(7,0,2024-12-24,2025-01-24 23:59:59)
[2025-01-24 04:31:05] Production.INFO: AccountOneOffCharge 0
[2025-01-24 04:31:05] Production.INFO: AccountOneOffCharge Over
[2025-01-24 04:31:05] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-24 04:31:05] Production.INFO: New UsageDates 2024-12-24 - 2025-01-23 23:59:59
[2025-01-24 04:31:05] Production.INFO: SubTotal 67.5
[2025-01-24 04:31:05] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-24 04:31:05] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-24 04:31:05] Production.INFO: TotalTax 3.375
[2025-01-24 04:31:05] Production.INFO: InvoiceGrandTotal 70.875
[2025-01-24 04:31:05] Production.INFO: InvoiceTaxAmount 3.38
[2025-01-24 04:31:05] Production.INFO: GrandTotal 70.88
[2025-01-24 04:31:05] Production.INFO: SubTotal 67.50
[2025-01-24 04:31:05] Production.INFO: TotalDue 0.00
[2025-01-24 04:31:05] Production.INFO: Reseller ==> 0
[2025-01-24 04:31:05] Production.INFO: original start date ==>2024-12-24 changed start date ==>2024-12-24 02:00:00 original end date ==>2025-01-23 23:59:59 changed end date ==>2025-01-24 01:59:59
[2025-01-24 04:31:05] Production.INFO: CALL prc_getInvoiceUsage(1,'7','0','1','2024-12-24 02:00:00','2025-01-24 01:59:59',0)
[2025-01-24 04:31:05] Production.INFO: PDF Generation start
[2025-01-24 04:31:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/7/Invoices/2025/01/24/Invoice-dominos-10099-mudassar-zia-inv11416-from-12-24-2024-to-01-23-2025-10346.pdf
[2025-01-24 04:31:05] Production.INFO: On Linux
[2025-01-24 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/7/Invoices/2025/01/24/footer-dominos-10099-mudassar-zia-inv11416-from-12-24-2024-to-01-23-2025-10346.html" "/var/www/tmp/1/7/Invoices/2025/01/24/Invoice-dominos-10099-mudassar-zia-inv11416-from-12-24-2024-to-01-23-2025-10346.html" "/var/www/tmp/1/7/Invoices/2025/01/24/Invoice-dominos-10099-mudassar-zia-inv11416-from-12-24-2024-to-01-23-2025-10346.pdf"
[2025-01-24 04:31:07] Production.INFO:
[2025-01-24 04:31:07] Production.INFO: /var/www/tmp/1/7/Invoices/2025/01/24/Invoice-dominos-10099-mudassar-zia-inv11416-from-12-24-2024-to-01-23-2025-10346.html
[2025-01-24 04:31:07] Production.INFO: /var/www/tmp/1/7/Invoices/2025/01/24/header-dominos-10099-mudassar-zia-inv11416-from-12-24-2024-to-01-23-2025-10346.html
[2025-01-24 04:31:07] Production.INFO: /var/www/tmp/1/7/Invoices/2025/01/24/footer-dominos-10099-mudassar-zia-inv11416-from-12-24-2024-to-01-23-2025-10346.html
[2025-01-24 04:31:07] Production.INFO: Invoice generation PDF path
[2025-01-24 04:31:07] Production.INFO: PDF fullPath 1/7/Invoices/2025/01/24/Invoice-dominos-10099-mudassar-zia-inv11416-from-12-24-2024-to-01-23-2025-10346.pdf
[2025-01-24 04:31:07] Production.INFO: Generate Usage File Start
[2025-01-24 04:31:07] Production.INFO: Usage File fullPath 1/7/InvoiceUsageFile/2025/01/24/dominos-10099-mudassar-zia-24-12-2024-00-00-00-TO-23-01-2025-23-59-59_6698__f0a610d0-da35-11ef-b845-3551bef57e49.csv
[2025-01-24 04:31:09] Production.INFO: Sending Email to Staff over
[2025-01-24 04:31:09] Production.INFO: Email Status 1
[2025-01-24 04:31:09] Production.INFO: Sending Email to Customer
[2025-01-24 04:31:10] Production.INFO: Email Try 10346 1
[2025-01-24 04:31:10] Production.INFO: =========== Email Sending over ===========
[2025-01-24 04:31:10] Production.INFO: =========== Returning as Success =========== AccountID 7
[2025-01-24 04:31:10] Production.INFO: Invoice::sendInvoice done
[2025-01-24 04:31:10] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-24 04:31:10] Production.INFO: Invoice Committed AccountID = 7
[2025-01-24 04:31:10] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-24 04:31:10] Production.INFO: NextInvoice 2025-01-24 2025-02-23
[2025-01-24 04:31:10] Production.INFO: new dates
[2025-01-24 04:31:10] Production.INFO: LastInvoiceDate 2025-01-24 NextInvoiceDate 2025-02-24
[2025-01-24 04:31:10] Production.INFO: LastChargeDate 2025-01-24 NextChargeDate 2025-02-23
[2025-01-24 04:31:10] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-24 04:31:10] Production.INFO: ========================== Invoice Send End =============================
[2025-01-24 04:31:10] Production.INFO: ========================== Recurring invoice Start =============================
[2025-01-24 04:31:10] Production.INFO: recurring invoices ID
[2025-01-24 04:31:10] Production.INFO:
[2025-01-24 04:31:10] Production.INFO: recurring errorsArray
(
)
[2025-01-24 04:31:10] Production.INFO: ========================== Recurring invoice End =============================
[2025-01-24 04:31:10] Production.INFO: ========================== Job Updated =============================
[2025-01-24 04:31:11] Production.INFO: ========================== Job Email Sent =============================
[2025-01-24 04:31:12] Production.ERROR: **Email Sent Status 1
[2025-01-24 04:31:12] Production.ERROR: **Email Sent message Email has been sent
[2025-01-24 04:31:12] Production.ERROR: CronJobId end6
[2025-01-24 04:31:12] Production.INFO: ==12737== Releasing lock...
[2025-01-24 04:31:12] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops#
[2025-01-24 04:31:12] Production.INFO: 38.25 MB #Memory Used#