[2025-01-22 04:31:04] Production.INFO: Call prc_getBillingAccounts(1,2025-01-22,'','0')
[2025-01-22 04:31:04] Production.INFO: Array
(
[0] => stdClass Object
(
[AccountID] => 115
[NextInvoiceDate] => 2025-01-22
[AccountName] => AromaCafeBayviewVillage
[ServiceID] => 0
)
)
[2025-01-22 04:31:04] Production.INFO: AccountID =115 FirstInvoiceSend 0
[2025-01-22 04:31:04] Production.INFO: LastInvoiceDate 2024-12-22 NextInvoiceDate 2025-01-22
[2025-01-22 04:31:04] Production.INFO: LastChargeDate 2024-12-22 NextChargeDate 2025-01-21
[2025-01-22 04:31:04] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-22 04:31:04] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-22 04:31:04] Production.INFO: Invoice::sendInvoice(1,115,2024-12-22,2025-01-22,billing@onswitchit.ca)
[2025-01-22 04:31:04] Production.INFO: start Date =2024-12-22 EndDate =2025-01-21 23:59:59
[2025-01-22 04:31:04] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-22 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-22 04:31:04] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-22 04:31:04] Production.INFO: AlreadyBilled
[2025-01-22 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-22 04:31:04] Production.INFO: Invoice::getAccountUsageTotal(1,115,2024-12-22,2025-01-21 23:59:59)
[2025-01-22 04:31:04] Production.INFO: TotalCharges - 0
[2025-01-22 04:31:04] Production.INFO: TotalUsageCharges - 0.00
[2025-01-22 04:31:04] Production.INFO: Usage Over
[2025-01-22 04:31:04] Production.INFO: Call prc_getAccountSubscription(115,0)
[2025-01-22 04:31:04] Production.INFO: SUBSCRIPTION 1
[2025-01-22 04:31:04] Production.INFO: ============================Subscription Start =================
[2025-01-22 04:31:04] Production.INFO: SubscriptionID - 23
[2025-01-22 04:31:04] Production.INFO: isAdvanceSubscription - 23
[2025-01-22 04:31:04] Production.INFO: SubscriptionStartDate =2025-01-22 - SubscriptionEndDate = 2025-02-21
[2025-01-22 04:31:04] Production.INFO: NewNextChargeDate =2025-02-21 00:00:00
[2025-01-22 04:31:04] Production.INFO: EndDate =2025-01-21 00:00:00
[2025-01-22 04:31:04] Production.INFO: NewEndDate1 =2025-01-22
[2025-01-22 04:31:04] Production.INFO: SubscriptionDate
[2025-01-22 04:31:04] Production.INFO: Array
(
[StartDate] => 2025-01-22
[EndDate] => 2025-02-21 00:00:00
[AlreadyCharged] => 0
)
[2025-01-22 04:31:04] Production.INFO: AccountSubscription StartDate 2019-03-13 StartDate 2024-12-22
[2025-01-22 04:31:04] Production.INFO: SubscriptionID - 2025-01-22=====2025-02-21 00:00:00
[2025-01-22 04:31:04] Production.INFO: AccountSubscriptionID - 392 === 2019-03-13=====2026-01-22
[2025-01-22 04:31:04] Production.INFO: regular Advance Subscription
[2025-01-22 04:31:04] Production.INFO: First Time False 2019-03-13 2025-01-22
[2025-01-22 04:31:04] Production.INFO: StartDate 2025-01-22 AccountSubscription->StartDate 2019-03-13 EndDate 2025-02-21 00:00:00 AccountSubscription->EndDate 2026-01-22
[2025-01-22 04:31:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-22 04:31:04] Production.INFO: AccountSubscription::getSubscriptionAmount(392,2025-01-22,2025-02-21 00:00:00,,0)
[2025-01-22 04:31:04] Production.INFO: SubscriptionCharge - 80.46
[2025-01-22 04:31:04] Production.INFO: Already Invoice Subscription 0
[2025-01-22 04:31:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(115,5,23,2025-01-22,2025-02-21 00:00:00,LTE Internet Failover Service (2901 Bayview Ave, Unit A11, North York, ON M2K 1E6) - 2GB Usage Included,80.46,80.46,1,392)
[2025-01-22 04:31:04] Production.INFO: DiscountAmount 0.000000
[2025-01-22 04:31:04] Production.INFO: DiscountType
[2025-01-22 04:31:04] Production.INFO: SubscriptionCharge 80.46
[2025-01-22 04:31:04] Production.INFO: New SubscriptionCharge 80.46
[2025-01-22 04:31:04] Production.INFO: TotalSubscriptionCharge - 80.46
[2025-01-22 04:31:04] Production.INFO: ============================Subscription End =================
[2025-01-22 04:31:04] Production.INFO: SUBSCRIPTION Over
[2025-01-22 04:31:04] Production.INFO: Call prc_getAccountOneOffCharge(115,0,2024-12-22,2025-01-22 23:59:59)
[2025-01-22 04:31:04] Production.INFO: AccountOneOffCharge 0
[2025-01-22 04:31:04] Production.INFO: AccountOneOffCharge Over
[2025-01-22 04:31:04] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-22 04:31:04] Production.INFO: New UsageDates 2024-12-22 - 2025-01-21 23:59:59
[2025-01-22 04:31:04] Production.INFO: SubTotal 80.46
[2025-01-22 04:31:04] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-22 04:31:04] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-22 04:31:04] Production.INFO: TotalTax 10.4598
[2025-01-22 04:31:04] Production.INFO: InvoiceGrandTotal 90.9198
[2025-01-22 04:31:04] Production.INFO: InvoiceTaxAmount 10.46
[2025-01-22 04:31:04] Production.INFO: GrandTotal 90.92
[2025-01-22 04:31:04] Production.INFO: SubTotal 80.46
[2025-01-22 04:31:04] Production.INFO: TotalDue 90.92
[2025-01-22 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-22 04:31:04] Production.INFO: PDF Generation start
[2025-01-22 04:31:04] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/115/Invoices/2025/01/22/Invoice-aromacafebayviewvillage-inv11410-from-12-22-2024-to-01-21-2025-10340.pdf
[2025-01-22 04:31:04] Production.INFO: On Linux
[2025-01-22 04:31:06] 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/01/22/footer-aromacafebayviewvillage-inv11410-from-12-22-2024-to-01-21-2025-10340.html" "/var/www/tmp/1/115/Invoices/2025/01/22/Invoice-aromacafebayviewvillage-inv11410-from-12-22-2024-to-01-21-2025-10340.html" "/var/www/tmp/1/115/Invoices/2025/01/22/Invoice-aromacafebayviewvillage-inv11410-from-12-22-2024-to-01-21-2025-10340.pdf"
[2025-01-22 04:31:06] Production.INFO:
[2025-01-22 04:31:06] Production.INFO: /var/www/tmp/1/115/Invoices/2025/01/22/Invoice-aromacafebayviewvillage-inv11410-from-12-22-2024-to-01-21-2025-10340.html
[2025-01-22 04:31:06] Production.INFO: /var/www/tmp/1/115/Invoices/2025/01/22/header-aromacafebayviewvillage-inv11410-from-12-22-2024-to-01-21-2025-10340.html
[2025-01-22 04:31:06] Production.INFO: /var/www/tmp/1/115/Invoices/2025/01/22/footer-aromacafebayviewvillage-inv11410-from-12-22-2024-to-01-21-2025-10340.html
[2025-01-22 04:31:06] Production.INFO: Invoice generation PDF path
[2025-01-22 04:31:06] Production.INFO: PDF fullPath 1/115/Invoices/2025/01/22/Invoice-aromacafebayviewvillage-inv11410-from-12-22-2024-to-01-21-2025-10340.pdf
[2025-01-22 04:31:06] Production.INFO: Generate Usage File Start
[2025-01-22 04:31:06] Production.INFO: Usage File fullPath 1/115/InvoiceUsageFile/2025/01/22/aromacafebayviewvillage-22-12-2024-00-00-00-TO-21-01-2025-23-59-59_9241__9b556e00-d8a3-11ef-83cd-f1bd0c9ca669.csv
[2025-01-22 04:31:16] Production.INFO: Sending Email to Staff over
[2025-01-22 04:31:16] Production.INFO: Email Status 1
[2025-01-22 04:31:16] Production.INFO: Sending Email to Customer
[2025-01-22 04:31:17] Production.INFO: Email Try 10340 1
[2025-01-22 04:31:17] Production.INFO: =========== Email Sending over ===========
[2025-01-22 04:31:17] Production.INFO: =========== Returning as Success =========== AccountID 115
[2025-01-22 04:31:17] Production.INFO: Invoice::sendInvoice done
[2025-01-22 04:31:17] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-22 04:31:17] Production.INFO: Invoice Committed AccountID = 115
[2025-01-22 04:31:17] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-22 04:31:17] Production.INFO: NextInvoice 2025-01-22 2025-02-21
[2025-01-22 04:31:17] Production.INFO: new dates
[2025-01-22 04:31:17] Production.INFO: LastInvoiceDate 2025-01-22 NextInvoiceDate 2025-02-22
[2025-01-22 04:31:17] Production.INFO: LastChargeDate 2025-01-22 NextChargeDate 2025-02-21
[2025-01-22 04:31:17] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-22 04:31:17] Production.INFO: ========================== Invoice Send End =============================
[2025-01-22 04:31:17] Production.INFO: ========================== Recurring invoice Start =============================
[2025-01-22 04:31:17] Production.INFO: recurring invoices ID
[2025-01-22 04:31:17] Production.INFO:
[2025-01-22 04:31:17] Production.INFO: recurring errorsArray
(
)
[2025-01-22 04:31:17] Production.INFO: ========================== Recurring invoice End =============================
[2025-01-22 04:31:17] Production.INFO: ========================== Job Updated =============================
[2025-01-22 04:31:21] Production.INFO: ========================== Job Email Sent =============================
[2025-01-22 04:31:26] Production.ERROR: **Email Sent Status 1
[2025-01-22 04:31:26] Production.ERROR: **Email Sent message Email has been sent
[2025-01-22 04:31:26] Production.ERROR: CronJobId end6
[2025-01-22 04:31:26] Production.INFO: ==22360== Releasing lock...
[2025-01-22 04:31:26] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops#
[2025-01-22 04:31:26] Production.INFO: 38.25 MB #Memory Used#