[2024-12-30 04:30:03] Production.INFO: Call prc_getBillingAccounts(1,2024-12-30,'','0') [2024-12-30 04:30:03] Production.INFO: Array ( [0] => stdClass Object ( [AccountID] => 165 [NextInvoiceDate] => 2024-12-30 [AccountName] => PharmaSave (Oak Tree Medical) [ServiceID] => 0 ) [1] => stdClass Object ( [AccountID] => 205 [NextInvoiceDate] => 2024-12-30 [AccountName] => Dominos 10459 (Sandeep Chaudhari) [ServiceID] => 0 ) ) [2024-12-30 04:30:03] Production.INFO: AccountID =165 FirstInvoiceSend 0 [2024-12-30 04:30:03] Production.INFO: LastInvoiceDate 2024-11-30 NextInvoiceDate 2024-12-30 [2024-12-30 04:30:03] Production.INFO: LastChargeDate 2024-11-30 NextChargeDate 2024-12-29 [2024-12-30 04:30:03] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2024-12-30 04:30:03] Production.INFO: ========================== Invoice Send Start ============================= [2024-12-30 04:30:03] Production.INFO: Invoice::sendInvoice(1,165,2024-11-30,2024-12-30,billing@onswitchit.ca) [2024-12-30 04:30:03] Production.INFO: start Date =2024-11-30 EndDate =2024-12-29 23:59:59 [2024-12-30 04:30:03] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2024-12-30 04:30:03] 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-30 04:30:03] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2024-12-30 04:30:03] Production.INFO: AlreadyBilled [2024-12-30 04:30:03] Production.INFO: Reseller ==> 0 [2024-12-30 04:30:04] Production.INFO: original start date ==>2024-11-30 changed start date ==>2024-11-30 00:00:00 original end date ==>2024-12-29 23:59:59 changed end date ==>2024-12-29 23:59:59 [2024-12-30 04:30:04] Production.INFO: Invoice::getAccountUsageTotal(1,165,2024-11-30,2024-12-29 23:59:59) [2024-12-30 04:30:04] Production.INFO: TotalCharges - 0 [2024-12-30 04:30:04] Production.INFO: TotalUsageCharges - 0.00 [2024-12-30 04:30:04] Production.INFO: Usage Over [2024-12-30 04:30:04] Production.INFO: Call prc_getAccountSubscription(165,0) [2024-12-30 04:30:04] Production.INFO: SUBSCRIPTION 3 [2024-12-30 04:30:04] Production.INFO: ============================Subscription Start ================= [2024-12-30 04:30:04] Production.INFO: SubscriptionID - 5 [2024-12-30 04:30:04] Production.INFO: isAdvanceSubscription - 5 [2024-12-30 04:30:04] Production.INFO: SubscriptionStartDate =2024-12-30 - SubscriptionEndDate = 2025-01-29 [2024-12-30 04:30:04] Production.INFO: NewNextChargeDate =2025-01-29 00:00:00 [2024-12-30 04:30:04] Production.INFO: EndDate =2024-12-29 00:00:00 [2024-12-30 04:30:04] Production.INFO: NewEndDate1 =2024-12-30 [2024-12-30 04:30:04] Production.INFO: SubscriptionDate [2024-12-30 04:30:04] Production.INFO: Array ( [StartDate] => 2024-12-30 [EndDate] => 2025-01-29 00:00:00 [AlreadyCharged] => 0 ) [2024-12-30 04:30:04] Production.INFO: AccountSubscription StartDate 2022-03-22 StartDate 2024-11-30 [2024-12-30 04:30:04] Production.INFO: SubscriptionID - 2024-12-30=====2025-01-29 00:00:00 [2024-12-30 04:30:04] Production.INFO: AccountSubscriptionID - 645 === 2022-03-22=====2025-12-30 [2024-12-30 04:30:04] Production.INFO: regular Advance Subscription [2024-12-30 04:30:04] Production.INFO: First Time False 2022-03-22 2024-12-30 [2024-12-30 04:30:04] Production.INFO: StartDate 2024-12-30 AccountSubscription->StartDate 2022-03-22 EndDate 2025-01-29 00:00:00 AccountSubscription->EndDate 2025-12-30 [2024-12-30 04:30:04] Production.INFO: days diff - 31 subscription days 31 quarter days 92 [2024-12-30 04:30:04] Production.INFO: AccountSubscription::getSubscriptionAmount(645,2024-12-30,2025-01-29 00:00:00,,0) [2024-12-30 04:30:04] Production.INFO: SubscriptionCharge - 75 [2024-12-30 04:30:04] Production.INFO: Already Invoice Subscription 0 [2024-12-30 04:30:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(165,1,5,2024-12-30,2025-01-29 00:00:00,Retail Phone Service - 3 Channels Dedicated/Burst to 5 Channels,75,75,1,645) [2024-12-30 04:30:04] Production.INFO: DiscountAmount 0.000000 [2024-12-30 04:30:04] Production.INFO: DiscountType Flat [2024-12-30 04:30:04] Production.INFO: SubscriptionCharge 75 [2024-12-30 04:30:04] Production.INFO: New SubscriptionCharge 75 [2024-12-30 04:30:04] Production.INFO: TotalSubscriptionCharge - 75.00 [2024-12-30 04:30:04] Production.INFO: ============================Subscription End ================= [2024-12-30 04:30:04] Production.INFO: ============================Subscription Start ================= [2024-12-30 04:30:04] Production.INFO: SubscriptionID - 4 [2024-12-30 04:30:04] Production.INFO: isAdvanceSubscription - 4 [2024-12-30 04:30:04] Production.INFO: SubscriptionStartDate =2024-12-30 - SubscriptionEndDate = 2025-01-29 [2024-12-30 04:30:04] Production.INFO: NewNextChargeDate =2025-01-29 00:00:00 [2024-12-30 04:30:04] Production.INFO: EndDate =2024-12-29 00:00:00 [2024-12-30 04:30:04] Production.INFO: NewEndDate1 =2024-12-30 [2024-12-30 04:30:04] Production.INFO: SubscriptionDate [2024-12-30 04:30:04] Production.INFO: Array ( [StartDate] => 2024-12-30 [EndDate] => 2025-01-29 00:00:00 [AlreadyCharged] => 0 ) [2024-12-30 04:30:04] Production.INFO: AccountSubscription StartDate 2022-03-22 StartDate 2024-11-30 [2024-12-30 04:30:04] Production.INFO: SubscriptionID - 2024-12-30=====2025-01-29 00:00:00 [2024-12-30 04:30:04] Production.INFO: AccountSubscriptionID - 646 === 2022-03-22=====2025-12-30 [2024-12-30 04:30:04] Production.INFO: regular Advance Subscription [2024-12-30 04:30:04] Production.INFO: First Time False 2022-03-22 2024-12-30 [2024-12-30 04:30:04] Production.INFO: StartDate 2024-12-30 AccountSubscription->StartDate 2022-03-22 EndDate 2025-01-29 00:00:00 AccountSubscription->EndDate 2025-12-30 [2024-12-30 04:30:04] Production.INFO: days diff - 31 subscription days 31 quarter days 92 [2024-12-30 04:30:04] Production.INFO: AccountSubscription::getSubscriptionAmount(646,2024-12-30,2025-01-29 00:00:00,,0) [2024-12-30 04:30:04] Production.INFO: SubscriptionCharge - 2.5 [2024-12-30 04:30:04] Production.INFO: Already Invoice Subscription 0 [2024-12-30 04:30:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(165,1,4,2024-12-30,2025-01-29 00:00:00,e911 address registration (9058521007 - 4B Campbell Drive, Unit 1, Uxbridge, ON L9P1H6),2.5,2.5,1,646) [2024-12-30 04:30:04] Production.INFO: DiscountAmount 0.000000 [2024-12-30 04:30:04] Production.INFO: DiscountType Flat [2024-12-30 04:30:04] Production.INFO: SubscriptionCharge 2.5 [2024-12-30 04:30:04] Production.INFO: New SubscriptionCharge 2.5 [2024-12-30 04:30:04] Production.INFO: TotalSubscriptionCharge - 2.50 [2024-12-30 04:30:04] Production.INFO: ============================Subscription End ================= [2024-12-30 04:30:04] Production.INFO: ============================Subscription Start ================= [2024-12-30 04:30:04] Production.INFO: SubscriptionID - 24 [2024-12-30 04:30:04] Production.INFO: SubscriptionID - 2024-11-30=====2024-12-29 [2024-12-30 04:30:04] Production.INFO: AccountSubscriptionID - 647 === 2022-03-22=====2025-12-30 [2024-12-30 04:30:04] Production.INFO: regular Subscription [2024-12-30 04:30:04] Production.INFO: First Time False 2022-03-22 2024-11-30 [2024-12-30 04:30:04] Production.INFO: StartDate 2024-11-30 AccountSubscription->StartDate 2022-03-22 EndDate 2024-12-29 AccountSubscription->EndDate 2025-12-30 [2024-12-30 04:30:04] Production.INFO: days diff - 30 subscription days 30 quarter days 92 [2024-12-30 04:30:04] Production.INFO: AccountSubscription::getSubscriptionAmount(647,2024-11-30,2024-12-29,,0) [2024-12-30 04:30:04] Production.INFO: SubscriptionCharge - -45 [2024-12-30 04:30:04] Production.INFO: Already Invoice Subscription 0 [2024-12-30 04:30:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(165,1,24,2024-11-30,2024-12-29,Discount - Friends and Family (Doug Geary referral),-45,-45,1,647) [2024-12-30 04:30:04] Production.INFO: DiscountAmount 0.000000 [2024-12-30 04:30:04] Production.INFO: DiscountType Flat [2024-12-30 04:30:04] Production.INFO: SubscriptionCharge -45 [2024-12-30 04:30:04] Production.INFO: New SubscriptionCharge -45 [2024-12-30 04:30:04] Production.INFO: TotalSubscriptionCharge - -45.00 [2024-12-30 04:30:04] Production.INFO: ============================Subscription End ================= [2024-12-30 04:30:04] Production.INFO: SUBSCRIPTION Over [2024-12-30 04:30:04] Production.INFO: Call prc_getAccountOneOffCharge(165,0,2024-11-30,2024-12-30 23:59:59) [2024-12-30 04:30:04] Production.INFO: AccountOneOffCharge 0 [2024-12-30 04:30:04] Production.INFO: AccountOneOffCharge Over [2024-12-30 04:30:04] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2024-12-30 04:30:04] Production.INFO: New UsageDates 2024-11-30 - 2024-12-29 23:59:59 [2024-12-30 04:30:04] Production.INFO: SubTotal 32.5 [2024-12-30 04:30:04] Production.INFO: SubTotalWithouttaxTotal 0 [2024-12-30 04:30:05] Production.INFO: AccountOneOffCharge Tax Over [2024-12-30 04:30:05] Production.INFO: TotalTax 4.225 [2024-12-30 04:30:05] Production.INFO: InvoiceGrandTotal 36.725 [2024-12-30 04:30:05] Production.INFO: InvoiceTaxAmount 4.23 [2024-12-30 04:30:05] Production.INFO: GrandTotal 36.73 [2024-12-30 04:30:05] Production.INFO: SubTotal 32.50 [2024-12-30 04:30:05] Production.INFO: TotalDue 36.73 [2024-12-30 04:30:05] Production.INFO: Reseller ==> 0 [2024-12-30 04:30:05] Production.INFO: original start date ==>2024-11-30 changed start date ==>2024-11-30 00:00:00 original end date ==>2024-12-29 23:59:59 changed end date ==>2024-12-29 23:59:59 [2024-12-30 04:30:05] Production.INFO: CALL prc_getInvoiceUsage(1,'165','0','1','2024-11-30 00:00:00','2024-12-29 23:59:59',0) [2024-12-30 04:30:05] Production.INFO: PDF Generation start [2024-12-30 04:30:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/165/Invoices/2024/12/30/Invoice-pharmasave-oak-tree-medical-inv11277-from-11-30-2024-to-12-29-2024-10200.pdf [2024-12-30 04:30:05] Production.INFO: On Linux [2024-12-30 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/165/Invoices/2024/12/30/footer-pharmasave-oak-tree-medical-inv11277-from-11-30-2024-to-12-29-2024-10200.html" "/var/www/tmp/1/165/Invoices/2024/12/30/Invoice-pharmasave-oak-tree-medical-inv11277-from-11-30-2024-to-12-29-2024-10200.html" "/var/www/tmp/1/165/Invoices/2024/12/30/Invoice-pharmasave-oak-tree-medical-inv11277-from-11-30-2024-to-12-29-2024-10200.pdf" [2024-12-30 04:30:08] Production.INFO: [2024-12-30 04:30:08] Production.INFO: /var/www/tmp/1/165/Invoices/2024/12/30/Invoice-pharmasave-oak-tree-medical-inv11277-from-11-30-2024-to-12-29-2024-10200.html [2024-12-30 04:30:08] Production.INFO: /var/www/tmp/1/165/Invoices/2024/12/30/header-pharmasave-oak-tree-medical-inv11277-from-11-30-2024-to-12-29-2024-10200.html [2024-12-30 04:30:08] Production.INFO: /var/www/tmp/1/165/Invoices/2024/12/30/footer-pharmasave-oak-tree-medical-inv11277-from-11-30-2024-to-12-29-2024-10200.html [2024-12-30 04:30:08] Production.INFO: Invoice generation PDF path [2024-12-30 04:30:08] Production.INFO: PDF fullPath 1/165/Invoices/2024/12/30/Invoice-pharmasave-oak-tree-medical-inv11277-from-11-30-2024-to-12-29-2024-10200.pdf [2024-12-30 04:30:08] Production.INFO: Generate Usage File Start [2024-12-30 04:30:08] Production.INFO: Usage File fullPath 1/165/InvoiceUsageFile/2024/12/30/pharmasave-oak-tree-medical-30-11-2024-00-00-00-TO-29-12-2024-23-59-59_6863__a8c4a680-c690-11ef-882a-a3b5f7f34ce8.csv [2024-12-30 04:30:09] Production.INFO: Sending Email to Staff over [2024-12-30 04:30:09] Production.INFO: Email Status 1 [2024-12-30 04:30:09] Production.INFO: Sending Email to Customer [2024-12-30 04:30:10] Production.INFO: Email Try 10200 1 [2024-12-30 04:30:10] Production.INFO: =========== Email Sending over =========== [2024-12-30 04:30:10] Production.INFO: =========== Returning as Success =========== AccountID 165 [2024-12-30 04:30:10] Production.INFO: Invoice::sendInvoice done [2024-12-30 04:30:10] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2024-12-30 04:30:10] Production.INFO: Invoice Committed AccountID = 165 [2024-12-30 04:30:10] Production.INFO: =========== Updating InvoiceDate =========== [2024-12-30 04:30:10] Production.INFO: NextInvoice 2024-12-30 2025-01-29 [2024-12-30 04:30:10] Production.INFO: new dates [2024-12-30 04:30:10] Production.INFO: LastInvoiceDate 2024-12-30 NextInvoiceDate 2025-01-30 [2024-12-30 04:30:10] Production.INFO: LastChargeDate 2024-12-30 NextChargeDate 2025-01-29 [2024-12-30 04:30:10] Production.INFO: =========== Updated InvoiceDate =========== [2024-12-30 04:30:10] Production.INFO: ========================== Invoice Send End ============================= [2024-12-30 04:30:10] Production.INFO: AccountID =205 FirstInvoiceSend 0 [2024-12-30 04:30:10] Production.INFO: LastInvoiceDate 2024-11-30 NextInvoiceDate 2024-12-30 [2024-12-30 04:30:10] Production.INFO: LastChargeDate 2024-11-30 NextChargeDate 2024-12-29 [2024-12-30 04:30:10] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2024-12-30 04:30:10] Production.INFO: ========================== Invoice Send Start ============================= [2024-12-30 04:30:10] Production.INFO: Invoice::sendInvoice(1,205,2024-11-30,2024-12-30,billing@onswitchit.ca) [2024-12-30 04:30:10] Production.INFO: start Date =2024-11-30 EndDate =2024-12-29 23:59:59 [2024-12-30 04:30:10] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2024-12-30 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.


[2024-12-30 04:30:10] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2024-12-30 04:30:10] Production.INFO: AlreadyBilled [2024-12-30 04:30:10] Production.INFO: Reseller ==> 0 [2024-12-30 04:30:10] Production.INFO: original start date ==>2024-11-30 changed start date ==>2024-11-30 00:00:00 original end date ==>2024-12-29 23:59:59 changed end date ==>2024-12-29 23:59:59 [2024-12-30 04:30:10] Production.INFO: Invoice::getAccountUsageTotal(1,205,2024-11-30,2024-12-29 23:59:59) [2024-12-30 04:30:10] Production.INFO: TotalCharges - 0 [2024-12-30 04:30:10] Production.INFO: TotalUsageCharges - 0.00 [2024-12-30 04:30:10] Production.INFO: Usage Over [2024-12-30 04:30:10] Production.INFO: Call prc_getAccountSubscription(205,0) [2024-12-30 04:30:10] Production.INFO: SUBSCRIPTION 3 [2024-12-30 04:30:10] Production.INFO: ============================Subscription Start ================= [2024-12-30 04:30:10] Production.INFO: SubscriptionID - 5 [2024-12-30 04:30:10] Production.INFO: isAdvanceSubscription - 5 [2024-12-30 04:30:10] Production.INFO: SubscriptionStartDate =2024-12-30 - SubscriptionEndDate = 2025-01-29 [2024-12-30 04:30:10] Production.INFO: NewNextChargeDate =2025-01-29 00:00:00 [2024-12-30 04:30:10] Production.INFO: EndDate =2024-12-29 00:00:00 [2024-12-30 04:30:10] Production.INFO: NewEndDate1 =2024-12-30 [2024-12-30 04:30:10] Production.INFO: SubscriptionDate [2024-12-30 04:30:10] Production.INFO: Array ( [StartDate] => 2024-12-30 [EndDate] => 2025-01-29 00:00:00 [AlreadyCharged] => 0 ) [2024-12-30 04:30:10] Production.INFO: AccountSubscription StartDate 2023-08-14 StartDate 2024-11-30 [2024-12-30 04:30:10] Production.INFO: SubscriptionID - 2024-12-30=====2025-01-29 00:00:00 [2024-12-30 04:30:10] Production.INFO: AccountSubscriptionID - 698 === 2023-08-14=====2025-12-30 [2024-12-30 04:30:10] Production.INFO: regular Advance Subscription [2024-12-30 04:30:10] Production.INFO: First Time False 2023-08-14 2024-12-30 [2024-12-30 04:30:10] Production.INFO: StartDate 2024-12-30 AccountSubscription->StartDate 2023-08-14 EndDate 2025-01-29 00:00:00 AccountSubscription->EndDate 2025-12-30 [2024-12-30 04:30:10] Production.INFO: days diff - 31 subscription days 31 quarter days 92 [2024-12-30 04:30:10] Production.INFO: AccountSubscription::getSubscriptionAmount(698,2024-12-30,2025-01-29 00:00:00,,0) [2024-12-30 04:30:10] Production.INFO: SubscriptionCharge - 75 [2024-12-30 04:30:10] Production.INFO: Already Invoice Subscription 0 [2024-12-30 04:30:10] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(205,1,5,2024-12-30,2025-01-29 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,698) [2024-12-30 04:30:10] Production.INFO: DiscountAmount 0.000000 [2024-12-30 04:30:10] Production.INFO: DiscountType Flat [2024-12-30 04:30:10] Production.INFO: SubscriptionCharge 75 [2024-12-30 04:30:10] Production.INFO: New SubscriptionCharge 75 [2024-12-30 04:30:10] Production.INFO: TotalSubscriptionCharge - 75.00 [2024-12-30 04:30:10] Production.INFO: ============================Subscription End ================= [2024-12-30 04:30:10] Production.INFO: ============================Subscription Start ================= [2024-12-30 04:30:10] Production.INFO: SubscriptionID - 4 [2024-12-30 04:30:10] Production.INFO: isAdvanceSubscription - 4 [2024-12-30 04:30:10] Production.INFO: SubscriptionStartDate =2024-12-30 - SubscriptionEndDate = 2025-01-29 [2024-12-30 04:30:10] Production.INFO: NewNextChargeDate =2025-01-29 00:00:00 [2024-12-30 04:30:10] Production.INFO: EndDate =2024-12-29 00:00:00 [2024-12-30 04:30:10] Production.INFO: NewEndDate1 =2024-12-30 [2024-12-30 04:30:10] Production.INFO: SubscriptionDate [2024-12-30 04:30:10] Production.INFO: Array ( [StartDate] => 2024-12-30 [EndDate] => 2025-01-29 00:00:00 [AlreadyCharged] => 0 ) [2024-12-30 04:30:10] Production.INFO: AccountSubscription StartDate 2023-08-14 StartDate 2024-11-30 [2024-12-30 04:30:10] Production.INFO: SubscriptionID - 2024-12-30=====2025-01-29 00:00:00 [2024-12-30 04:30:10] Production.INFO: AccountSubscriptionID - 699 === 2023-08-14=====2025-12-30 [2024-12-30 04:30:10] Production.INFO: regular Advance Subscription [2024-12-30 04:30:10] Production.INFO: First Time False 2023-08-14 2024-12-30 [2024-12-30 04:30:10] Production.INFO: StartDate 2024-12-30 AccountSubscription->StartDate 2023-08-14 EndDate 2025-01-29 00:00:00 AccountSubscription->EndDate 2025-12-30 [2024-12-30 04:30:10] Production.INFO: days diff - 31 subscription days 31 quarter days 92 [2024-12-30 04:30:10] Production.INFO: AccountSubscription::getSubscriptionAmount(699,2024-12-30,2025-01-29 00:00:00,,0) [2024-12-30 04:30:10] Production.INFO: SubscriptionCharge - 2.5 [2024-12-30 04:30:10] Production.INFO: Already Invoice Subscription 0 [2024-12-30 04:30:10] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(205,1,4,2024-12-30,2025-01-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) [2024-12-30 04:30:10] Production.INFO: DiscountAmount 0.000000 [2024-12-30 04:30:10] Production.INFO: DiscountType Flat [2024-12-30 04:30:10] Production.INFO: SubscriptionCharge 2.5 [2024-12-30 04:30:10] Production.INFO: New SubscriptionCharge 2.5 [2024-12-30 04:30:10] Production.INFO: TotalSubscriptionCharge - 2.50 [2024-12-30 04:30:10] Production.INFO: ============================Subscription End ================= [2024-12-30 04:30:10] Production.INFO: ============================Subscription Start ================= [2024-12-30 04:30:10] Production.INFO: SubscriptionID - 28 [2024-12-30 04:30:10] Production.INFO: isAdvanceSubscription - 28 [2024-12-30 04:30:10] Production.INFO: SubscriptionStartDate =2024-12-30 - SubscriptionEndDate = 2025-01-29 [2024-12-30 04:30:10] Production.INFO: NewNextChargeDate =2025-01-29 00:00:00 [2024-12-30 04:30:10] Production.INFO: EndDate =2024-12-29 00:00:00 [2024-12-30 04:30:10] Production.INFO: NewEndDate1 =2024-12-30 [2024-12-30 04:30:10] Production.INFO: SubscriptionDate [2024-12-30 04:30:10] Production.INFO: Array ( [StartDate] => 2024-12-30 [EndDate] => 2025-01-29 00:00:00 [AlreadyCharged] => 0 ) [2024-12-30 04:30:10] Production.INFO: AccountSubscription StartDate 2023-08-14 StartDate 2024-11-30 [2024-12-30 04:30:10] Production.INFO: SubscriptionID - 2024-12-30=====2025-01-29 00:00:00 [2024-12-30 04:30:10] Production.INFO: AccountSubscriptionID - 700 === 2023-08-14=====2025-12-30 [2024-12-30 04:30:10] Production.INFO: regular Advance Subscription [2024-12-30 04:30:10] Production.INFO: First Time False 2023-08-14 2024-12-30 [2024-12-30 04:30:10] Production.INFO: StartDate 2024-12-30 AccountSubscription->StartDate 2023-08-14 EndDate 2025-01-29 00:00:00 AccountSubscription->EndDate 2025-12-30 [2024-12-30 04:30:10] Production.INFO: days diff - 31 subscription days 31 quarter days 92 [2024-12-30 04:30:10] Production.INFO: AccountSubscription::getSubscriptionAmount(700,2024-12-30,2025-01-29 00:00:00,,0) [2024-12-30 04:30:10] Production.INFO: SubscriptionCharge - -25 [2024-12-30 04:30:10] Production.INFO: Already Invoice Subscription 0 [2024-12-30 04:30:10] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(205,1,28,2024-12-30,2025-01-29 00:00:00,Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service,-25,-25,1,700) [2024-12-30 04:30:10] Production.INFO: DiscountAmount 0.000000 [2024-12-30 04:30:10] Production.INFO: DiscountType Flat [2024-12-30 04:30:10] Production.INFO: SubscriptionCharge -25 [2024-12-30 04:30:10] Production.INFO: New SubscriptionCharge -25 [2024-12-30 04:30:10] Production.INFO: TotalSubscriptionCharge - -25.00 [2024-12-30 04:30:10] Production.INFO: ============================Subscription End ================= [2024-12-30 04:30:10] Production.INFO: SUBSCRIPTION Over [2024-12-30 04:30:10] Production.INFO: Call prc_getAccountOneOffCharge(205,0,2024-11-30,2024-12-30 23:59:59) [2024-12-30 04:30:10] Production.INFO: AccountOneOffCharge 0 [2024-12-30 04:30:10] Production.INFO: AccountOneOffCharge Over [2024-12-30 04:30:10] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2024-12-30 04:30:10] Production.INFO: New UsageDates 2024-11-30 - 2024-12-29 23:59:59 [2024-12-30 04:30:10] Production.INFO: SubTotal 52.5 [2024-12-30 04:30:10] Production.INFO: SubTotalWithouttaxTotal 0 [2024-12-30 04:30:10] Production.INFO: AccountOneOffCharge Tax Over [2024-12-30 04:30:10] Production.INFO: TotalTax 6.825 [2024-12-30 04:30:10] Production.INFO: InvoiceGrandTotal 59.325 [2024-12-30 04:30:10] Production.INFO: InvoiceTaxAmount 6.83 [2024-12-30 04:30:10] Production.INFO: GrandTotal 59.33 [2024-12-30 04:30:10] Production.INFO: SubTotal 52.50 [2024-12-30 04:30:10] Production.INFO: TotalDue 59.33 [2024-12-30 04:30:10] Production.INFO: Reseller ==> 0 [2024-12-30 04:30:10] Production.INFO: original start date ==>2024-11-30 changed start date ==>2024-11-30 00:00:00 original end date ==>2024-12-29 23:59:59 changed end date ==>2024-12-29 23:59:59 [2024-12-30 04:30:10] Production.INFO: CALL prc_getInvoiceUsage(1,'205','0','1','2024-11-30 00:00:00','2024-12-29 23:59:59',0) [2024-12-30 04:30:10] Production.INFO: PDF Generation start [2024-12-30 04:30:11] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/205/Invoices/2024/12/30/Invoice-dominos-10459-sandeep-chaudhari-inv11278-from-11-30-2024-to-12-29-2024-10201.pdf [2024-12-30 04:30:11] Production.INFO: On Linux [2024-12-30 04:30:12] 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/2024/12/30/footer-dominos-10459-sandeep-chaudhari-inv11278-from-11-30-2024-to-12-29-2024-10201.html" "/var/www/tmp/1/205/Invoices/2024/12/30/Invoice-dominos-10459-sandeep-chaudhari-inv11278-from-11-30-2024-to-12-29-2024-10201.html" "/var/www/tmp/1/205/Invoices/2024/12/30/Invoice-dominos-10459-sandeep-chaudhari-inv11278-from-11-30-2024-to-12-29-2024-10201.pdf" [2024-12-30 04:30:12] Production.INFO: [2024-12-30 04:30:12] Production.INFO: /var/www/tmp/1/205/Invoices/2024/12/30/Invoice-dominos-10459-sandeep-chaudhari-inv11278-from-11-30-2024-to-12-29-2024-10201.html [2024-12-30 04:30:12] Production.INFO: /var/www/tmp/1/205/Invoices/2024/12/30/header-dominos-10459-sandeep-chaudhari-inv11278-from-11-30-2024-to-12-29-2024-10201.html [2024-12-30 04:30:12] Production.INFO: /var/www/tmp/1/205/Invoices/2024/12/30/footer-dominos-10459-sandeep-chaudhari-inv11278-from-11-30-2024-to-12-29-2024-10201.html [2024-12-30 04:30:12] Production.INFO: Invoice generation PDF path [2024-12-30 04:30:12] Production.INFO: PDF fullPath 1/205/Invoices/2024/12/30/Invoice-dominos-10459-sandeep-chaudhari-inv11278-from-11-30-2024-to-12-29-2024-10201.pdf [2024-12-30 04:30:12] Production.INFO: Generate Usage File Start [2024-12-30 04:30:12] Production.INFO: Usage File fullPath 1/205/InvoiceUsageFile/2024/12/30/dominos-10459-sandeep-chaudhari-30-11-2024-00-00-00-TO-29-12-2024-23-59-59_306__abab8680-c690-11ef-a600-63d814e77d1b.csv [2024-12-30 04:30:19] Production.INFO: Sending Email to Staff over [2024-12-30 04:30:19] Production.INFO: Email Status 1 [2024-12-30 04:30:19] Production.INFO: Sending Email to Customer [2024-12-30 04:30:20] Production.INFO: Email Try 10201 1 [2024-12-30 04:30:21] Production.INFO: Email Try 10201 1 [2024-12-30 04:30:21] Production.INFO: =========== Email Sending over =========== [2024-12-30 04:30:21] Production.INFO: =========== Returning as Success =========== AccountID 205 [2024-12-30 04:30:21] Production.INFO: Invoice::sendInvoice done [2024-12-30 04:30:21] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2024-12-30 04:30:21] Production.INFO: Invoice Committed AccountID = 205 [2024-12-30 04:30:21] Production.INFO: =========== Updating InvoiceDate =========== [2024-12-30 04:30:21] Production.INFO: NextInvoice 2024-12-30 2025-01-29 [2024-12-30 04:30:21] Production.INFO: new dates [2024-12-30 04:30:21] Production.INFO: LastInvoiceDate 2024-12-30 NextInvoiceDate 2025-01-30 [2024-12-30 04:30:21] Production.INFO: LastChargeDate 2024-12-30 NextChargeDate 2025-01-29 [2024-12-30 04:30:21] Production.INFO: =========== Updated InvoiceDate =========== [2024-12-30 04:30:21] Production.INFO: ========================== Invoice Send End ============================= [2024-12-30 04:30:21] Production.INFO: ========================== Recurring invoice Start ============================= [2024-12-30 04:30:21] Production.INFO: recurring invoices ID [2024-12-30 04:30:21] Production.INFO: [2024-12-30 04:30:21] Production.INFO: recurring errorsArray ( ) [2024-12-30 04:30:21] Production.INFO: ========================== Recurring invoice End ============================= [2024-12-30 04:30:21] Production.INFO: ========================== Job Updated ============================= [2024-12-30 04:30:22] Production.INFO: ========================== Job Email Sent ============================= [2024-12-30 04:30:22] Production.ERROR: **Email Sent Status 1 [2024-12-30 04:30:22] Production.ERROR: **Email Sent message Email has been sent [2024-12-30 04:30:22] Production.ERROR: CronJobId end6 [2024-12-30 04:30:22] Production.INFO: ==13711== Releasing lock... [2024-12-30 04:30:22] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops# [2024-12-30 04:30:22] Production.INFO: 38.5 MB #Memory Used#