[2025-04-04 04:30:03] Production.INFO: Call prc_getBillingAccounts(1,2025-04-04,'','0')  
[2025-04-04 04:30:03] Production.INFO: Array
(
    [0] => stdClass Object
        (
            [AccountID] => 71
            [NextInvoiceDate] => 2025-04-04
            [AccountName] => Compass ELC - Lindsay (Administration)
            [ServiceID] => 0
        )

    [1] => stdClass Object
        (
            [AccountID] => 79
            [NextInvoiceDate] => 2025-04-04
            [AccountName] => Axxima
            [ServiceID] => 0
        )

    [2] => stdClass Object
        (
            [AccountID] => 90
            [NextInvoiceDate] => 2025-04-04
            [AccountName] => Terry Anderson
            [ServiceID] => 0
        )

    [3] => stdClass Object
        (
            [AccountID] => 156
            [NextInvoiceDate] => 2025-04-04
            [AccountName] => Dominos 10583 (William Prichard)
            [ServiceID] => 0
        )

    [4] => stdClass Object
        (
            [AccountID] => 194
            [NextInvoiceDate] => 2025-04-04
            [AccountName] => Telco Steel Works
            [ServiceID] => 0
        )

    [5] => stdClass Object
        (
            [AccountID] => 209
            [NextInvoiceDate] => 2025-04-04
            [AccountName] => Workside Early Childhood Education Centre
            [ServiceID] => 0
        )

    [6] => stdClass Object
        (
            [AccountID] => 213
            [NextInvoiceDate] => 2025-04-04
            [AccountName] => One City Peterborough
            [ServiceID] => 0
        )

    [7] => stdClass Object
        (
            [AccountID] => 258
            [NextInvoiceDate] => 2025-03-10
            [AccountName] => Lion Motors
            [ServiceID] => 0
        )

)
  
[2025-04-04 04:30:03] Production.INFO: AccountID =71 FirstInvoiceSend 0  
[2025-04-04 04:30:03] Production.INFO: LastInvoiceDate 2025-03-04 NextInvoiceDate 2025-04-04  
[2025-04-04 04:30:03] Production.INFO: LastChargeDate 2025-03-04 NextChargeDate 2025-04-03  
[2025-04-04 04:30:03] Production.INFO: isCDRLoaded Array
(
    [0] => stdClass Object
        (
            [isLoaded] => 1
        )

)
  
[2025-04-04 04:30:03] Production.INFO:  ========================== Invoice Send Start =============================  
[2025-04-04 04:30:03] Production.INFO: Invoice::sendInvoice(1,71,2025-03-04,2025-04-04,billing@onswitchit.ca)  
[2025-04-04 04:30:03] Production.INFO: start Date =2025-03-04 EndDate =2025-04-03 23:59:59  
[2025-04-04 04:30:03] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV  
[2025-04-04 04:30:03] Production.INFO: InvoiceTemplate->Terms =<p><br></p><p><br></p><p>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.</p><p><br></p>  
[2025-04-04 04:30:03] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled  
[2025-04-04 04:30:03] Production.INFO: AlreadyBilled   
[2025-04-04 04:30:03] Production.INFO: Reseller ==> 0  
[2025-04-04 04:30:03] Production.INFO: Invoice::getAccountUsageTotal(1,71,2025-03-04,2025-04-03 23:59:59)  
[2025-04-04 04:30:03] Production.INFO: TotalCharges - 0  
[2025-04-04 04:30:03] Production.INFO: TotalUsageCharges - 0.00  
[2025-04-04 04:30:04] Production.INFO: Usage Over  
[2025-04-04 04:30:04] Production.INFO: Call prc_getAccountSubscription(71,0)  
[2025-04-04 04:30:04] Production.INFO: SUBSCRIPTION 2  
[2025-04-04 04:30:04] Production.INFO:  ============================Subscription Start ================= 

  
[2025-04-04 04:30:04] Production.INFO:  SubscriptionID - 19  
[2025-04-04 04:30:04] Production.INFO: isAdvanceSubscription - 19  
[2025-04-04 04:30:04] Production.INFO: SubscriptionStartDate =2025-04-04 - SubscriptionEndDate = 2025-05-03  
[2025-04-04 04:30:04] Production.INFO: NewNextChargeDate =2025-05-03 00:00:00  
[2025-04-04 04:30:04] Production.INFO: EndDate =2019-08-03 00:00:00  
[2025-04-04 04:30:04] Production.INFO: NewEndDate1 =2019-08-04  
[2025-04-04 04:30:04] Production.INFO: SubscriptionDate  
[2025-04-04 04:30:04] Production.INFO: Array
(
    [StartDate] => 2019-08-04
    [EndDate] => 2025-05-03 00:00:00
    [AlreadyCharged] => 0
)
  
[2025-04-04 04:30:04] Production.INFO:  AccountSubscription StartDate 2018-05-01 StartDate 2025-03-04  
[2025-04-04 04:30:04] Production.INFO:  SubscriptionID - 2019-08-04=====2025-05-03 00:00:00  
[2025-04-04 04:30:04] Production.INFO:  AccountSubscriptionID - 262 === 2018-05-01=====2019-07-31  
[2025-04-04 04:30:04] Production.INFO:  ============================Subscription End ================= 

  
[2025-04-04 04:30:04] Production.INFO:  ============================Subscription Start ================= 

  
[2025-04-04 04:30:04] Production.INFO:  SubscriptionID - 21  
[2025-04-04 04:30:04] Production.INFO: isAdvanceSubscription - 21  
[2025-04-04 04:30:04] Production.INFO: SubscriptionStartDate =2025-04-04 - SubscriptionEndDate = 2025-05-03  
[2025-04-04 04:30:04] Production.INFO: NewNextChargeDate =2025-05-03 00:00:00  
[2025-04-04 04:30:04] Production.INFO: EndDate =2024-09-30 00:00:00  
[2025-04-04 04:30:04] Production.INFO: NewEndDate1 =2024-10-01  
[2025-04-04 04:30:04] Production.INFO: SubscriptionDate  
[2025-04-04 04:30:04] Production.INFO: Array
(
    [StartDate] => 2024-10-01
    [EndDate] => 2025-05-03 00:00:00
    [AlreadyCharged] => 0
)
  
[2025-04-04 04:30:04] Production.INFO:  AccountSubscription StartDate 2019-08-01 StartDate 2025-03-04  
[2025-04-04 04:30:04] Production.INFO:  SubscriptionID - 2024-10-01=====2025-05-03 00:00:00  
[2025-04-04 04:30:04] Production.INFO:  AccountSubscriptionID - 410 === 2019-08-01=====2024-09-30  
[2025-04-04 04:30:04] Production.INFO:  ============================Subscription End ================= 

  
[2025-04-04 04:30:04] Production.INFO: SUBSCRIPTION Over  
[2025-04-04 04:30:04] Production.INFO: Call prc_getAccountOneOffCharge(71,0,2025-03-04,2025-04-04 23:59:59)  
[2025-04-04 04:30:04] Production.INFO: AccountOneOffCharge 0  
[2025-04-04 04:30:04] Production.INFO: AccountOneOffCharge Over  
[2025-04-04 04:30:04] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start  
[2025-04-04 04:30:04] Production.INFO: New UsageDates 2025-03-04 - 2025-04-03 23:59:59  
[2025-04-04 04:30:04] Production.INFO:  SubTotal 0  
[2025-04-04 04:30:04] Production.INFO:  SubTotalWithouttaxTotal 0  
[2025-04-04 04:30:04] Production.INFO: AccountOneOffCharge Tax Over  
[2025-04-04 04:30:04] Production.INFO:  TotalTax 0  
[2025-04-04 04:30:04] Production.INFO:  InvoiceGrandTotal 0  
[2025-04-04 04:30:04] Production.INFO: InvoiceTaxAmount 0  
[2025-04-04 04:30:04] Production.INFO: GrandTotal 0  
[2025-04-04 04:30:04] Production.INFO: SubTotal 0.00  
[2025-04-04 04:30:04] Production.INFO: TotalDue 0.00  
[2025-04-04 04:30:04] Production.INFO: Reseller ==> 0  
[2025-04-04 04:30:04] Production.INFO: PDF Generation start  
[2025-04-04 04:30:04] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/71/Invoices/2025/04/04/Invoice-compass-elc-lindsay-administration-inv11801-from-03-04-2025-to-04-03-2025-10745.pdf  
[2025-04-04 04:30:04] Production.INFO: On Linux  
[2025-04-04 04:30: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/71/Invoices/2025/04/04/footer-compass-elc-lindsay-administration-inv11801-from-03-04-2025-to-04-03-2025-10745.html" "/var/www/tmp/1/71/Invoices/2025/04/04/Invoice-compass-elc-lindsay-administration-inv11801-from-03-04-2025-to-04-03-2025-10745.html" "/var/www/tmp/1/71/Invoices/2025/04/04/Invoice-compass-elc-lindsay-administration-inv11801-from-03-04-2025-to-04-03-2025-10745.pdf"  
[2025-04-04 04:30:06] Production.INFO:   
[2025-04-04 04:30:06] Production.INFO: /var/www/tmp/1/71/Invoices/2025/04/04/Invoice-compass-elc-lindsay-administration-inv11801-from-03-04-2025-to-04-03-2025-10745.html  
[2025-04-04 04:30:06] Production.INFO: /var/www/tmp/1/71/Invoices/2025/04/04/header-compass-elc-lindsay-administration-inv11801-from-03-04-2025-to-04-03-2025-10745.html  
[2025-04-04 04:30:06] Production.INFO: /var/www/tmp/1/71/Invoices/2025/04/04/footer-compass-elc-lindsay-administration-inv11801-from-03-04-2025-to-04-03-2025-10745.html  
[2025-04-04 04:30:06] Production.INFO: Invoice generation PDF path  
[2025-04-04 04:30:06] Production.INFO: PDF fullPath 1/71/Invoices/2025/04/04/Invoice-compass-elc-lindsay-administration-inv11801-from-03-04-2025-to-04-03-2025-10745.pdf  
[2025-04-04 04:30:06] Production.INFO: Generate Usage File Start   
[2025-04-04 04:30:06] Production.INFO: Usage File fullPath 1/71/InvoiceUsageFile/2025/04/04/compass-elc-lindsay-administration-04-03-2025-00-00-00-TO-03-04-2025-23-59-59_8810__035e83f0-112f-11f0-aad9-358ccddf0ac6.csv  
[2025-04-04 04:30:09] Production.INFO: Sending Email to Staff over  
[2025-04-04 04:30:09] Production.INFO: Email Status  1  
[2025-04-04 04:30:09] Production.INFO: Sending Email to Customer  
[2025-04-04 04:30:09] Production.INFO: =========== Email Sending over ===========   
[2025-04-04 04:30:09] Production.INFO: =========== Returning as Success =========== AccountID 71  
[2025-04-04 04:30:09] Production.INFO: Invoice::sendInvoice done  
[2025-04-04 04:30:09] Production.INFO: Invoice created - Array
(
    [status] => success
    [message] => Invoice Created Successfully.
    [accounts] => 
)
  
[2025-04-04 04:30:09] Production.INFO: Invoice Committed  AccountID = 71  
[2025-04-04 04:30:09] Production.INFO: =========== Updating  InvoiceDate ===========   
[2025-04-04 04:30:09] Production.INFO: NextInvoice 2025-04-04 2025-05-03  
[2025-04-04 04:30:09] Production.INFO: new dates  
[2025-04-04 04:30:09] Production.INFO: LastInvoiceDate 2025-04-04 NextInvoiceDate 2025-05-04  
[2025-04-04 04:30:09] Production.INFO: LastChargeDate 2025-04-04 NextChargeDate 2025-05-03  
[2025-04-04 04:30:09] Production.INFO: =========== Updated  InvoiceDate ===========   
[2025-04-04 04:30:09] Production.INFO:  ========================== Invoice Send End =============================  
[2025-04-04 04:30:09] Production.INFO: AccountID =79 FirstInvoiceSend 0  
[2025-04-04 04:30:09] Production.INFO: LastInvoiceDate 2025-03-04 NextInvoiceDate 2025-04-04  
[2025-04-04 04:30:09] Production.INFO: LastChargeDate 2025-03-04 NextChargeDate 2025-04-03  
[2025-04-04 04:30:09] Production.INFO: isCDRLoaded Array
(
    [0] => stdClass Object
        (
            [isLoaded] => 1
        )

)
  
[2025-04-04 04:30:09] Production.INFO:  ========================== Invoice Send Start =============================  
[2025-04-04 04:30:09] Production.INFO: Invoice::sendInvoice(1,79,2025-03-04,2025-04-04,billing@onswitchit.ca)  
[2025-04-04 04:30:09] Production.INFO: start Date =2025-03-04 EndDate =2025-04-03 23:59:59  
[2025-04-04 04:30:09] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV  
[2025-04-04 04:30:09] Production.INFO: InvoiceTemplate->Terms =<p><br></p><p><br></p><p>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.</p><p><br></p>  
[2025-04-04 04:30:09] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled  
[2025-04-04 04:30:09] Production.INFO: AlreadyBilled   
[2025-04-04 04:30:09] Production.INFO: Reseller ==> 0  
[2025-04-04 04:30:09] Production.INFO: original start date ==>2025-03-04 changed start date ==>2025-03-04 00:00:00 original end date ==>2025-04-03 23:59:59 changed end date ==>2025-04-03 23:59:59  
[2025-04-04 04:30:09] Production.INFO:  CompanyGatewayID 1 TotalCharges ==>0.60000000  
[2025-04-04 04:30:09] Production.INFO: Invoice::getAccountUsageTotal(1,79,2025-03-04,2025-04-03 23:59:59)  
[2025-04-04 04:30:09] Production.INFO: TotalCharges - 0.6  
[2025-04-04 04:30:09] Production.INFO: TotalUsageCharges - 0.60  
[2025-04-04 04:30:09] Production.INFO: Usage Over  
[2025-04-04 04:30:09] Production.INFO: Call prc_getAccountSubscription(79,0)  
[2025-04-04 04:30:09] Production.INFO: SUBSCRIPTION 5  
[2025-04-04 04:30:09] Production.INFO:  ============================Subscription Start ================= 

  
[2025-04-04 04:30:09] Production.INFO:  SubscriptionID - 1  
[2025-04-04 04:30:09] Production.INFO: isAdvanceSubscription - 1  
[2025-04-04 04:30:09] Production.INFO: SubscriptionStartDate =2025-04-04 - SubscriptionEndDate = 2025-05-03  
[2025-04-04 04:30:09] Production.INFO: NewNextChargeDate =2025-05-03 00:00:00  
[2025-04-04 04:30:09] Production.INFO: EndDate =2025-04-03 00:00:00  
[2025-04-04 04:30:09] Production.INFO: NewEndDate1 =2025-04-04  
[2025-04-04 04:30:09] Production.INFO: SubscriptionDate  
[2025-04-04 04:30:09] Production.INFO: Array
(
    [StartDate] => 2025-04-04
    [EndDate] => 2025-05-03 00:00:00
    [AlreadyCharged] => 0
)
  
[2025-04-04 04:30:09] Production.INFO:  AccountSubscription StartDate 2018-07-03 StartDate 2025-03-04  
[2025-04-04 04:30:09] Production.INFO:  SubscriptionID - 2025-04-04=====2025-05-03 00:00:00  
[2025-04-04 04:30:09] Production.INFO:  AccountSubscriptionID - 271 === 2018-07-03=====2026-04-04  
[2025-04-04 04:30:09] Production.INFO: regular Advance Subscription   
[2025-04-04 04:30:09] Production.INFO: First Time False 2018-07-03 2025-04-04  
[2025-04-04 04:30:09] Production.INFO: StartDate 2025-04-04 AccountSubscription->StartDate 2018-07-03 EndDate 2025-05-03 00:00:00 AccountSubscription->EndDate 2026-04-04  
[2025-04-04 04:30:09] Production.INFO: days diff - 30 subscription days 30 quarter days 91  
[2025-04-04 04:30:09] Production.INFO: AccountSubscription::getSubscriptionAmount(271,2025-04-04,2025-05-03 00:00:00,,0)  
[2025-04-04 04:30:09] Production.INFO: SubscriptionCharge - 7  
[2025-04-04 04:30:09] Production.INFO: Already Invoice Subscription 0  
[2025-04-04 04:30:09] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(79,1,1,2025-04-04,2025-05-03 00:00:00,License for a Pay As You Go Cloud Phone extension,133,7,19,271)  
[2025-04-04 04:30:09] Production.INFO: DiscountAmount 0.000000  
[2025-04-04 04:30:09] Production.INFO: DiscountType   
[2025-04-04 04:30:09] Production.INFO: SubscriptionCharge 133  
[2025-04-04 04:30:09] Production.INFO: New SubscriptionCharge 133  
[2025-04-04 04:30:09] Production.INFO:  TotalSubscriptionCharge - 133.00  
[2025-04-04 04:30:09] Production.INFO:  ============================Subscription End ================= 

  
[2025-04-04 04:30:09] Production.INFO:  ============================Subscription Start ================= 

  
[2025-04-04 04:30:09] Production.INFO:  SubscriptionID - 12  
[2025-04-04 04:30:09] Production.INFO: isAdvanceSubscription - 12  
[2025-04-04 04:30:09] Production.INFO: SubscriptionStartDate =2025-04-04 - SubscriptionEndDate = 2025-05-03  
[2025-04-04 04:30:09] Production.INFO: NewNextChargeDate =2025-05-03 00:00:00  
[2025-04-04 04:30:09] Production.INFO: EndDate =2025-04-03 00:00:00  
[2025-04-04 04:30:09] Production.INFO: NewEndDate1 =2025-04-04  
[2025-04-04 04:30:09] Production.INFO: SubscriptionDate  
[2025-04-04 04:30:09] Production.INFO: Array
(
    [StartDate] => 2025-04-04
    [EndDate] => 2025-05-03 00:00:00
    [AlreadyCharged] => 0
)
  
[2025-04-04 04:30:09] Production.INFO:  AccountSubscription StartDate 2018-07-03 StartDate 2025-03-04  
[2025-04-04 04:30:09] Production.INFO:  SubscriptionID - 2025-04-04=====2025-05-03 00:00:00  
[2025-04-04 04:30:09] Production.INFO:  AccountSubscriptionID - 272 === 2018-07-03=====2026-04-04  
[2025-04-04 04:30:09] Production.INFO: regular Advance Subscription   
[2025-04-04 04:30:09] Production.INFO: First Time False 2018-07-03 2025-04-04  
[2025-04-04 04:30:09] Production.INFO: StartDate 2025-04-04 AccountSubscription->StartDate 2018-07-03 EndDate 2025-05-03 00:00:00 AccountSubscription->EndDate 2026-04-04  
[2025-04-04 04:30:09] Production.INFO: days diff - 30 subscription days 30 quarter days 91  
[2025-04-04 04:30:09] Production.INFO: AccountSubscription::getSubscriptionAmount(272,2025-04-04,2025-05-03 00:00:00,,0)  
[2025-04-04 04:30:09] Production.INFO: SubscriptionCharge - 0  
[2025-04-04 04:30:09] Production.INFO: Already Invoice Subscription 0  
[2025-04-04 04:30:09] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(79,1,12,2025-04-04,2025-05-03 00:00:00,Included DID (14506462500),0,0,1,272)  
[2025-04-04 04:30:09] Production.INFO: DiscountAmount 0.000000  
[2025-04-04 04:30:09] Production.INFO: DiscountType   
[2025-04-04 04:30:09] Production.INFO: SubscriptionCharge 0  
[2025-04-04 04:30:09] Production.INFO: New SubscriptionCharge 0  
[2025-04-04 04:30:09] Production.INFO:  TotalSubscriptionCharge - 0.00  
[2025-04-04 04:30:09] Production.INFO:  ============================Subscription End ================= 

  
[2025-04-04 04:30:09] Production.INFO:  ============================Subscription Start ================= 

  
[2025-04-04 04:30:09] Production.INFO:  SubscriptionID - 4  
[2025-04-04 04:30:09] Production.INFO: isAdvanceSubscription - 4  
[2025-04-04 04:30:09] Production.INFO: SubscriptionStartDate =2025-04-04 - SubscriptionEndDate = 2025-05-03  
[2025-04-04 04:30:09] Production.INFO: NewNextChargeDate =2025-05-03 00:00:00  
[2025-04-04 04:30:09] Production.INFO: EndDate =2025-04-03 00:00:00  
[2025-04-04 04:30:09] Production.INFO: NewEndDate1 =2025-04-04  
[2025-04-04 04:30:09] Production.INFO: SubscriptionDate  
[2025-04-04 04:30:09] Production.INFO: Array
(
    [StartDate] => 2025-04-04
    [EndDate] => 2025-05-03 00:00:00
    [AlreadyCharged] => 0
)
  
[2025-04-04 04:30:09] Production.INFO:  AccountSubscription StartDate 2018-07-03 StartDate 2025-03-04  
[2025-04-04 04:30:09] Production.INFO:  SubscriptionID - 2025-04-04=====2025-05-03 00:00:00  
[2025-04-04 04:30:09] Production.INFO:  AccountSubscriptionID - 273 === 2018-07-03=====2026-04-04  
[2025-04-04 04:30:09] Production.INFO: regular Advance Subscription   
[2025-04-04 04:30:09] Production.INFO: First Time False 2018-07-03 2025-04-04  
[2025-04-04 04:30:09] Production.INFO: StartDate 2025-04-04 AccountSubscription->StartDate 2018-07-03 EndDate 2025-05-03 00:00:00 AccountSubscription->EndDate 2026-04-04  
[2025-04-04 04:30:09] Production.INFO: days diff - 30 subscription days 30 quarter days 91  
[2025-04-04 04:30:09] Production.INFO: AccountSubscription::getSubscriptionAmount(273,2025-04-04,2025-05-03 00:00:00,,0)  
[2025-04-04 04:30:09] Production.INFO: SubscriptionCharge - 2.5  
[2025-04-04 04:30:09] Production.INFO: Already Invoice Subscription 0  
[2025-04-04 04:30:09] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(79,1,4,2025-04-04,2025-05-03 00:00:00,e911 address registration (14506462500 - 2200 Marie-Victorin Road, Suite 201, St. Bruno-de-Montarville, Quebec, J3V 0M2),2.5,2.5,1,273)  
[2025-04-04 04:30:09] Production.INFO: DiscountAmount 0.000000  
[2025-04-04 04:30:09] Production.INFO: DiscountType   
[2025-04-04 04:30:09] Production.INFO: SubscriptionCharge 2.5  
[2025-04-04 04:30:09] Production.INFO: New SubscriptionCharge 2.5  
[2025-04-04 04:30:09] Production.INFO:  TotalSubscriptionCharge - 2.50  
[2025-04-04 04:30:09] Production.INFO:  ============================Subscription End ================= 

  
[2025-04-04 04:30:09] Production.INFO:  ============================Subscription Start ================= 

  
[2025-04-04 04:30:09] Production.INFO:  SubscriptionID - 8  
[2025-04-04 04:30:09] Production.INFO: isAdvanceSubscription - 8  
[2025-04-04 04:30:09] Production.INFO: SubscriptionStartDate =2025-04-04 - SubscriptionEndDate = 2025-05-03  
[2025-04-04 04:30:09] Production.INFO: NewNextChargeDate =2025-05-03 00:00:00  
[2025-04-04 04:30:09] Production.INFO: EndDate =2025-04-03 00:00:00  
[2025-04-04 04:30:09] Production.INFO: NewEndDate1 =2025-04-04  
[2025-04-04 04:30:09] Production.INFO: SubscriptionDate  
[2025-04-04 04:30:09] Production.INFO: Array
(
    [StartDate] => 2025-04-04
    [EndDate] => 2025-05-03 00:00:00
    [AlreadyCharged] => 0
)
  
[2025-04-04 04:30:09] Production.INFO:  AccountSubscription StartDate 2021-02-11 StartDate 2025-03-04  
[2025-04-04 04:30:09] Production.INFO:  SubscriptionID - 2025-04-04=====2025-05-03 00:00:00  
[2025-04-04 04:30:09] Production.INFO:  AccountSubscriptionID - 579 === 2021-02-11=====2026-04-04  
[2025-04-04 04:30:09] Production.INFO: regular Advance Subscription   
[2025-04-04 04:30:09] Production.INFO: First Time False 2021-02-11 2025-04-04  
[2025-04-04 04:30:09] Production.INFO: StartDate 2025-04-04 AccountSubscription->StartDate 2021-02-11 EndDate 2025-05-03 00:00:00 AccountSubscription->EndDate 2026-04-04  
[2025-04-04 04:30:09] Production.INFO: days diff - 30 subscription days 30 quarter days 91  
[2025-04-04 04:30:09] Production.INFO: AccountSubscription::getSubscriptionAmount(579,2025-04-04,2025-05-03 00:00:00,,0)  
[2025-04-04 04:30:09] Production.INFO: SubscriptionCharge - 1.5  
[2025-04-04 04:30:09] Production.INFO: Already Invoice Subscription 0  
[2025-04-04 04:30:09] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(79,1,8,2025-04-04,2025-05-03 00:00:00,Additional Telephone Numbers,25.5,1.5,17,579)  
[2025-04-04 04:30:09] Production.INFO: DiscountAmount 0.000000  
[2025-04-04 04:30:09] Production.INFO: DiscountType   
[2025-04-04 04:30:09] Production.INFO: SubscriptionCharge 25.5  
[2025-04-04 04:30:09] Production.INFO: New SubscriptionCharge 25.5  
[2025-04-04 04:30:09] Production.INFO:  TotalSubscriptionCharge - 25.50  
[2025-04-04 04:30:09] Production.INFO:  ============================Subscription End ================= 

  
[2025-04-04 04:30:09] Production.INFO:  ============================Subscription Start ================= 

  
[2025-04-04 04:30:09] Production.INFO:  SubscriptionID - 8  
[2025-04-04 04:30:09] Production.INFO: isAdvanceSubscription - 8  
[2025-04-04 04:30:09] Production.INFO: SubscriptionStartDate =2025-04-04 - SubscriptionEndDate = 2025-05-03  
[2025-04-04 04:30:09] Production.INFO: NewNextChargeDate =2025-05-03 00:00:00  
[2025-04-04 04:30:09] Production.INFO: EndDate =2025-04-03 00:00:00  
[2025-04-04 04:30:09] Production.INFO: NewEndDate1 =2025-04-04  
[2025-04-04 04:30:09] Production.INFO: SubscriptionDate  
[2025-04-04 04:30:09] Production.INFO: Array
(
    [StartDate] => 2025-04-04
    [EndDate] => 2025-05-03 00:00:00
    [AlreadyCharged] => 0
)
  
[2025-04-04 04:30:09] Production.INFO:  AccountSubscription StartDate 2021-02-11 StartDate 2025-03-04  
[2025-04-04 04:30:09] Production.INFO:  SubscriptionID - 2025-04-04=====2025-05-03 00:00:00  
[2025-04-04 04:30:09] Production.INFO:  AccountSubscriptionID - 580 === 2021-02-11=====2026-04-04  
[2025-04-04 04:30:09] Production.INFO: regular Advance Subscription   
[2025-04-04 04:30:09] Production.INFO: First Time False 2021-02-11 2025-04-04  
[2025-04-04 04:30:09] Production.INFO: StartDate 2025-04-04 AccountSubscription->StartDate 2021-02-11 EndDate 2025-05-03 00:00:00 AccountSubscription->EndDate 2026-04-04  
[2025-04-04 04:30:09] Production.INFO: days diff - 30 subscription days 30 quarter days 91  
[2025-04-04 04:30:09] Production.INFO: AccountSubscription::getSubscriptionAmount(580,2025-04-04,2025-05-03 00:00:00,,0)  
[2025-04-04 04:30:09] Production.INFO: SubscriptionCharge - 3  
[2025-04-04 04:30:09] Production.INFO: Already Invoice Subscription 0  
[2025-04-04 04:30:09] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(79,1,8,2025-04-04,2025-05-03 00:00:00,Additional Toll Free Telephone Numbers,12,3,4,580)  
[2025-04-04 04:30:09] Production.INFO: DiscountAmount 0.000000  
[2025-04-04 04:30:09] Production.INFO: DiscountType   
[2025-04-04 04:30:09] Production.INFO: SubscriptionCharge 12  
[2025-04-04 04:30:09] Production.INFO: New SubscriptionCharge 12  
[2025-04-04 04:30:09] Production.INFO:  TotalSubscriptionCharge - 12.00  
[2025-04-04 04:30:09] Production.INFO:  ============================Subscription End ================= 

  
[2025-04-04 04:30:09] Production.INFO: SUBSCRIPTION Over  
[2025-04-04 04:30:09] Production.INFO: Call prc_getAccountOneOffCharge(79,0,2025-03-04,2025-04-04 23:59:59)  
[2025-04-04 04:30:09] Production.INFO: AccountOneOffCharge 0  
[2025-04-04 04:30:09] Production.INFO: AccountOneOffCharge Over  
[2025-04-04 04:30:09] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start  
[2025-04-04 04:30:09] Production.INFO: New UsageDates 2025-03-04 - 2025-04-03 23:59:59  
[2025-04-04 04:30:09] Production.INFO:  SubTotal 173.6  
[2025-04-04 04:30:09] Production.INFO:  SubTotalWithouttaxTotal 0  
[2025-04-04 04:30:09] Production.INFO: AccountOneOffCharge Tax Over  
[2025-04-04 04:30:09] Production.INFO:  TotalTax 22.568  
[2025-04-04 04:30:09] Production.INFO:  InvoiceGrandTotal 196.168  
[2025-04-04 04:30:09] Production.INFO: InvoiceTaxAmount 22.57  
[2025-04-04 04:30:09] Production.INFO: GrandTotal 196.17  
[2025-04-04 04:30:09] Production.INFO: SubTotal 173.60  
[2025-04-04 04:30:09] Production.INFO: TotalDue 196.17  
[2025-04-04 04:30:09] Production.INFO: Reseller ==> 0  
[2025-04-04 04:30:09] Production.INFO: original start date ==>2025-03-04 changed start date ==>2025-03-04 00:00:00 original end date ==>2025-04-03 23:59:59 changed end date ==>2025-04-03 23:59:59  
[2025-04-04 04:30:09] Production.INFO: CALL prc_getInvoiceUsage(1,'79','0','1','2025-03-04 00:00:00','2025-04-03 23:59:59',0)  
[2025-04-04 04:30:10] Production.INFO: PDF Generation start  
[2025-04-04 04:30:10] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/79/Invoices/2025/04/04/Invoice-axxima-inv11802-from-03-04-2025-to-04-03-2025-10746.pdf  
[2025-04-04 04:30:10] Production.INFO: On Linux  
[2025-04-04 04:30:11] 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/79/Invoices/2025/04/04/footer-axxima-inv11802-from-03-04-2025-to-04-03-2025-10746.html" "/var/www/tmp/1/79/Invoices/2025/04/04/Invoice-axxima-inv11802-from-03-04-2025-to-04-03-2025-10746.html" "/var/www/tmp/1/79/Invoices/2025/04/04/Invoice-axxima-inv11802-from-03-04-2025-to-04-03-2025-10746.pdf"  
[2025-04-04 04:30:11] Production.INFO:   
[2025-04-04 04:30:11] Production.INFO: /var/www/tmp/1/79/Invoices/2025/04/04/Invoice-axxima-inv11802-from-03-04-2025-to-04-03-2025-10746.html  
[2025-04-04 04:30:11] Production.INFO: /var/www/tmp/1/79/Invoices/2025/04/04/header-axxima-inv11802-from-03-04-2025-to-04-03-2025-10746.html  
[2025-04-04 04:30:11] Production.INFO: /var/www/tmp/1/79/Invoices/2025/04/04/footer-axxima-inv11802-from-03-04-2025-to-04-03-2025-10746.html  
[2025-04-04 04:30:11] Production.INFO: Invoice generation PDF path  
[2025-04-04 04:30:11] Production.INFO: PDF fullPath 1/79/Invoices/2025/04/04/Invoice-axxima-inv11802-from-03-04-2025-to-04-03-2025-10746.pdf  
[2025-04-04 04:30:11] Production.INFO: Generate Usage File Start   
[2025-04-04 04:30:11] Production.INFO: Usage File fullPath 1/79/InvoiceUsageFile/2025/04/04/axxima-04-03-2025-00-00-00-TO-03-04-2025-23-59-59_4251__0647c5a0-112f-11f0-9562-61c9bbd881bb.csv  
[2025-04-04 04:30:12] Production.INFO: Sending Email to Staff over  
[2025-04-04 04:30:12] Production.INFO: Email Status  1  
[2025-04-04 04:30:12] Production.INFO: Sending Email to Customer  
[2025-04-04 04:30:13] Production.INFO: Email Try 10746 1  
[2025-04-04 04:30:14] Production.INFO: Email Try 10746 1  
[2025-04-04 04:30:14] Production.INFO: =========== Email Sending over ===========   
[2025-04-04 04:30:14] Production.INFO: =========== Returning as Success =========== AccountID 79  
[2025-04-04 04:30:14] Production.INFO: Invoice::sendInvoice done  
[2025-04-04 04:30:14] Production.INFO: Invoice created - Array
(
    [status] => success
    [message] => Invoice Created Successfully.
    [accounts] => 
)
  
[2025-04-04 04:30:14] Production.INFO: Invoice Committed  AccountID = 79  
[2025-04-04 04:30:14] Production.INFO: =========== Updating  InvoiceDate ===========   
[2025-04-04 04:30:14] Production.INFO: NextInvoice 2025-04-04 2025-05-03  
[2025-04-04 04:30:14] Production.INFO: new dates  
[2025-04-04 04:30:14] Production.INFO: LastInvoiceDate 2025-04-04 NextInvoiceDate 2025-05-04  
[2025-04-04 04:30:14] Production.INFO: LastChargeDate 2025-04-04 NextChargeDate 2025-05-03  
[2025-04-04 04:30:14] Production.INFO: =========== Updated  InvoiceDate ===========   
[2025-04-04 04:30:14] Production.INFO:  ========================== Invoice Send End =============================  
[2025-04-04 04:30:14] Production.INFO: AccountID =90 FirstInvoiceSend 0  
[2025-04-04 04:30:14] Production.INFO: LastInvoiceDate 2025-03-04 NextInvoiceDate 2025-04-04  
[2025-04-04 04:30:14] Production.INFO: LastChargeDate 2025-03-04 NextChargeDate 2025-04-03  
[2025-04-04 04:30:14] Production.INFO: isCDRLoaded Array
(
    [0] => stdClass Object
        (
            [isLoaded] => 1
        )

)
  
[2025-04-04 04:30:14] Production.INFO:  ========================== Invoice Send Start =============================  
[2025-04-04 04:30:14] Production.INFO: Invoice::sendInvoice(1,90,2025-03-04,2025-04-04,billing@onswitchit.ca)  
[2025-04-04 04:30:14] Production.INFO: start Date =2025-03-04 EndDate =2025-04-03 23:59:59  
[2025-04-04 04:30:14] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV  
[2025-04-04 04:30:14] Production.INFO: InvoiceTemplate->Terms =<p><br></p><p><br></p><p>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.</p><p><br></p>  
[2025-04-04 04:30:14] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled  
[2025-04-04 04:30:14] Production.INFO: AlreadyBilled   
[2025-04-04 04:30:14] Production.INFO: Reseller ==> 0  
[2025-04-04 04:30:14] Production.INFO: original start date ==>2025-03-04 changed start date ==>2025-03-04 00:00:00 original end date ==>2025-04-03 23:59:59 changed end date ==>2025-04-03 23:59:59  
[2025-04-04 04:30:14] Production.INFO: Invoice::getAccountUsageTotal(1,90,2025-03-04,2025-04-03 23:59:59)  
[2025-04-04 04:30:14] Production.INFO: TotalCharges - 0  
[2025-04-04 04:30:14] Production.INFO: TotalUsageCharges - 0.00  
[2025-04-04 04:30:14] Production.INFO: Usage Over  
[2025-04-04 04:30:14] Production.INFO: Call prc_getAccountSubscription(90,0)  
[2025-04-04 04:30:14] Production.INFO: SUBSCRIPTION 2  
[2025-04-04 04:30:14] Production.INFO:  ============================Subscription Start ================= 

  
[2025-04-04 04:30:14] Production.INFO:  SubscriptionID - 1  
[2025-04-04 04:30:14] Production.INFO: isAdvanceSubscription - 1  
[2025-04-04 04:30:14] Production.INFO: SubscriptionStartDate =2025-04-04 - SubscriptionEndDate = 2025-05-03  
[2025-04-04 04:30:14] Production.INFO: NewNextChargeDate =2025-05-03 00:00:00  
[2025-04-04 04:30:14] Production.INFO: EndDate =2025-04-03 00:00:00  
[2025-04-04 04:30:14] Production.INFO: NewEndDate1 =2025-04-04  
[2025-04-04 04:30:14] Production.INFO: SubscriptionDate  
[2025-04-04 04:30:14] Production.INFO: Array
(
    [StartDate] => 2025-04-04
    [EndDate] => 2025-05-03 00:00:00
    [AlreadyCharged] => 0
)
  
[2025-04-04 04:30:14] Production.INFO:  AccountSubscription StartDate 2018-07-04 StartDate 2025-03-04  
[2025-04-04 04:30:14] Production.INFO:  SubscriptionID - 2025-04-04=====2025-05-03 00:00:00  
[2025-04-04 04:30:14] Production.INFO:  AccountSubscriptionID - 321 === 2018-07-04=====2026-04-04  
[2025-04-04 04:30:14] Production.INFO: regular Advance Subscription   
[2025-04-04 04:30:14] Production.INFO: First Time False 2018-07-04 2025-04-04  
[2025-04-04 04:30:14] Production.INFO: StartDate 2025-04-04 AccountSubscription->StartDate 2018-07-04 EndDate 2025-05-03 00:00:00 AccountSubscription->EndDate 2026-04-04  
[2025-04-04 04:30:14] Production.INFO: days diff - 30 subscription days 30 quarter days 91  
[2025-04-04 04:30:14] Production.INFO: AccountSubscription::getSubscriptionAmount(321,2025-04-04,2025-05-03 00:00:00,,0)  
[2025-04-04 04:30:14] Production.INFO: SubscriptionCharge - 10  
[2025-04-04 04:30:14] Production.INFO: Already Invoice Subscription 0  
[2025-04-04 04:30:14] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(90,1,1,2025-04-04,2025-05-03 00:00:00,License for a Pay As You Go Cloud Phone extension,10,10,1,321)  
[2025-04-04 04:30:14] Production.INFO: DiscountAmount 0.000000  
[2025-04-04 04:30:14] Production.INFO: DiscountType   
[2025-04-04 04:30:14] Production.INFO: SubscriptionCharge 10  
[2025-04-04 04:30:14] Production.INFO: New SubscriptionCharge 10  
[2025-04-04 04:30:14] Production.INFO:  TotalSubscriptionCharge - 10.00  
[2025-04-04 04:30:14] Production.INFO:  ============================Subscription End ================= 

  
[2025-04-04 04:30:14] Production.INFO:  ============================Subscription Start ================= 

  
[2025-04-04 04:30:14] Production.INFO:  SubscriptionID - 24  
[2025-04-04 04:30:14] Production.INFO:  SubscriptionID - 2025-03-04=====2025-04-03  
[2025-04-04 04:30:14] Production.INFO:  AccountSubscriptionID - 650 === 2022-04-10=====2026-04-04  
[2025-04-04 04:30:14] Production.INFO: regular Subscription   
[2025-04-04 04:30:14] Production.INFO: First Time False 2022-04-10 2025-03-04  
[2025-04-04 04:30:14] Production.INFO: StartDate 2025-03-04 AccountSubscription->StartDate 2022-04-10 EndDate 2025-04-03 AccountSubscription->EndDate 2026-04-04  
[2025-04-04 04:30:14] Production.INFO: days diff - 31 subscription days 31 quarter days 90  
[2025-04-04 04:30:14] Production.INFO: AccountSubscription::getSubscriptionAmount(650,2025-03-04,2025-04-03,,0)  
[2025-04-04 04:30:14] Production.INFO: SubscriptionCharge - -7  
[2025-04-04 04:30:14] Production.INFO: Already Invoice Subscription 0  
[2025-04-04 04:30:14] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(90,1,24,2025-03-04,2025-04-03,The "You're Overcharging Me" Discount,-7,-7,1,650)  
[2025-04-04 04:30:14] Production.INFO: DiscountAmount 0.000000  
[2025-04-04 04:30:14] Production.INFO: DiscountType Flat  
[2025-04-04 04:30:14] Production.INFO: SubscriptionCharge -7  
[2025-04-04 04:30:14] Production.INFO: New SubscriptionCharge -7  
[2025-04-04 04:30:14] Production.INFO:  TotalSubscriptionCharge - -7.00  
[2025-04-04 04:30:14] Production.INFO:  ============================Subscription End ================= 

  
[2025-04-04 04:30:14] Production.INFO: SUBSCRIPTION Over  
[2025-04-04 04:30:14] Production.INFO: Call prc_getAccountOneOffCharge(90,0,2025-03-04,2025-04-04 23:59:59)  
[2025-04-04 04:30:14] Production.INFO: AccountOneOffCharge 0  
[2025-04-04 04:30:14] Production.INFO: AccountOneOffCharge Over  
[2025-04-04 04:30:14] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start  
[2025-04-04 04:30:14] Production.INFO: New UsageDates 2025-03-04 - 2025-04-03 23:59:59  
[2025-04-04 04:30:14] Production.INFO:  SubTotal 3  
[2025-04-04 04:30:14] Production.INFO:  SubTotalWithouttaxTotal 0  
[2025-04-04 04:30:14] Production.INFO: AccountOneOffCharge Tax Over  
[2025-04-04 04:30:14] Production.INFO:  TotalTax 0.39  
[2025-04-04 04:30:14] Production.INFO:  InvoiceGrandTotal 3.39  
[2025-04-04 04:30:14] Production.INFO: InvoiceTaxAmount 0.39  
[2025-04-04 04:30:14] Production.INFO: GrandTotal 3.39  
[2025-04-04 04:30:14] Production.INFO: SubTotal 3.00  
[2025-04-04 04:30:14] Production.INFO: TotalDue 3.39  
[2025-04-04 04:30:14] Production.INFO: Reseller ==> 0  
[2025-04-04 04:30:14] Production.INFO: original start date ==>2025-03-04 changed start date ==>2025-03-04 00:00:00 original end date ==>2025-04-03 23:59:59 changed end date ==>2025-04-03 23:59:59  
[2025-04-04 04:30:14] Production.INFO: CALL prc_getInvoiceUsage(1,'90','0','1','2025-03-04 00:00:00','2025-04-03 23:59:59',0)  
[2025-04-04 04:30:14] Production.INFO: PDF Generation start  
[2025-04-04 04:30:15] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/90/Invoices/2025/04/04/Invoice-terry-anderson-inv11803-from-03-04-2025-to-04-03-2025-10747.pdf  
[2025-04-04 04:30:15] Production.INFO: On Linux  
[2025-04-04 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/90/Invoices/2025/04/04/footer-terry-anderson-inv11803-from-03-04-2025-to-04-03-2025-10747.html" "/var/www/tmp/1/90/Invoices/2025/04/04/Invoice-terry-anderson-inv11803-from-03-04-2025-to-04-03-2025-10747.html" "/var/www/tmp/1/90/Invoices/2025/04/04/Invoice-terry-anderson-inv11803-from-03-04-2025-to-04-03-2025-10747.pdf"  
[2025-04-04 04:30:16] Production.INFO:   
[2025-04-04 04:30:16] Production.INFO: /var/www/tmp/1/90/Invoices/2025/04/04/Invoice-terry-anderson-inv11803-from-03-04-2025-to-04-03-2025-10747.html  
[2025-04-04 04:30:16] Production.INFO: /var/www/tmp/1/90/Invoices/2025/04/04/header-terry-anderson-inv11803-from-03-04-2025-to-04-03-2025-10747.html  
[2025-04-04 04:30:16] Production.INFO: /var/www/tmp/1/90/Invoices/2025/04/04/footer-terry-anderson-inv11803-from-03-04-2025-to-04-03-2025-10747.html  
[2025-04-04 04:30:16] Production.INFO: Invoice generation PDF path  
[2025-04-04 04:30:16] Production.INFO: PDF fullPath 1/90/Invoices/2025/04/04/Invoice-terry-anderson-inv11803-from-03-04-2025-to-04-03-2025-10747.pdf  
[2025-04-04 04:30:16] Production.INFO: Generate Usage File Start   
[2025-04-04 04:30:16] Production.INFO: Usage File fullPath 1/90/InvoiceUsageFile/2025/04/04/terry-anderson-04-03-2025-00-00-00-TO-03-04-2025-23-59-59_4710__092bd810-112f-11f0-8112-3177bffa79ea.csv  
[2025-04-04 04:30:17] Production.INFO: Sending Email to Staff over  
[2025-04-04 04:30:17] Production.INFO: Email Status  1  
[2025-04-04 04:30:17] Production.INFO: Sending Email to Customer  
[2025-04-04 04:30:18] Production.INFO: Email Try 10747 1  
[2025-04-04 04:30:18] Production.INFO: =========== Email Sending over ===========   
[2025-04-04 04:30:18] Production.INFO: =========== Returning as Success =========== AccountID 90  
[2025-04-04 04:30:18] Production.INFO: Invoice::sendInvoice done  
[2025-04-04 04:30:18] Production.INFO: Invoice created - Array
(
    [status] => success
    [message] => Invoice Created Successfully.
    [accounts] => 
)
  
[2025-04-04 04:30:18] Production.INFO: Invoice Committed  AccountID = 90  
[2025-04-04 04:30:18] Production.INFO: =========== Updating  InvoiceDate ===========   
[2025-04-04 04:30:18] Production.INFO: NextInvoice 2025-04-04 2025-05-03  
[2025-04-04 04:30:18] Production.INFO: new dates  
[2025-04-04 04:30:18] Production.INFO: LastInvoiceDate 2025-04-04 NextInvoiceDate 2025-05-04  
[2025-04-04 04:30:18] Production.INFO: LastChargeDate 2025-04-04 NextChargeDate 2025-05-03  
[2025-04-04 04:30:18] Production.INFO: =========== Updated  InvoiceDate ===========   
[2025-04-04 04:30:18] Production.INFO:  ========================== Invoice Send End =============================  
[2025-04-04 04:30:18] Production.INFO: AccountID =156 FirstInvoiceSend 0  
[2025-04-04 04:30:18] Production.INFO: LastInvoiceDate 2025-03-04 NextInvoiceDate 2025-04-04  
[2025-04-04 04:30:18] Production.INFO: LastChargeDate 2025-03-04 NextChargeDate 2025-04-03  
[2025-04-04 04:30:18] Production.INFO: isCDRLoaded Array
(
    [0] => stdClass Object
        (
            [isLoaded] => 1
        )

)
  
[2025-04-04 04:30:18] Production.INFO:  ========================== Invoice Send Start =============================  
[2025-04-04 04:30:18] Production.INFO: Invoice::sendInvoice(1,156,2025-03-04,2025-04-04,billing@onswitchit.ca)  
[2025-04-04 04:30:18] Production.INFO: start Date =2025-03-04 EndDate =2025-04-03 23:59:59  
[2025-04-04 04:30:18] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV  
[2025-04-04 04:30:18] Production.INFO: InvoiceTemplate->Terms =<p><br></p><p><br></p><p>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.</p><p><br></p>  
[2025-04-04 04:30:18] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled  
[2025-04-04 04:30:18] Production.INFO: AlreadyBilled   
[2025-04-04 04:30:18] Production.INFO: Reseller ==> 0  
[2025-04-04 04:30:18] Production.INFO: original start date ==>2025-03-04 changed start date ==>2025-03-04 00:00:00 original end date ==>2025-04-03 23:59:59 changed end date ==>2025-04-03 23:59:59  
[2025-04-04 04:30:18] Production.INFO: Invoice::getAccountUsageTotal(1,156,2025-03-04,2025-04-03 23:59:59)  
[2025-04-04 04:30:18] Production.INFO: TotalCharges - 0  
[2025-04-04 04:30:18] Production.INFO: TotalUsageCharges - 0.00  
[2025-04-04 04:30:18] Production.INFO: Usage Over  
[2025-04-04 04:30:18] Production.INFO: Call prc_getAccountSubscription(156,0)  
[2025-04-04 04:30:18] Production.INFO: SUBSCRIPTION 3  
[2025-04-04 04:30:18] Production.INFO:  ============================Subscription Start ================= 

  
[2025-04-04 04:30:18] Production.INFO:  SubscriptionID - 5  
[2025-04-04 04:30:18] Production.INFO: isAdvanceSubscription - 5  
[2025-04-04 04:30:18] Production.INFO: SubscriptionStartDate =2025-04-04 - SubscriptionEndDate = 2025-05-03  
[2025-04-04 04:30:18] Production.INFO: NewNextChargeDate =2025-05-03 00:00:00  
[2025-04-04 04:30:18] Production.INFO: EndDate =2025-04-03 00:00:00  
[2025-04-04 04:30:18] Production.INFO: NewEndDate1 =2025-04-04  
[2025-04-04 04:30:18] Production.INFO: SubscriptionDate  
[2025-04-04 04:30:18] Production.INFO: Array
(
    [StartDate] => 2025-04-04
    [EndDate] => 2025-05-03 00:00:00
    [AlreadyCharged] => 0
)
  
[2025-04-04 04:30:18] Production.INFO: New Account Subscription Start  
[2025-04-04 04:30:18] Production.INFO:  AccountSubscription StartDate 2021-09-03 StartDate 2025-03-04  
[2025-04-04 04:30:18] Production.INFO:  SubscriptionID - 2025-04-04=====2025-05-03 00:00:00  
[2025-04-04 04:30:18] Production.INFO:  AccountSubscriptionID - 616 === 2021-09-03=====2026-04-04  
[2025-04-04 04:30:18] Production.INFO: regular Advance Subscription   
[2025-04-04 04:30:18] Production.INFO: First Time False 2021-09-03 2025-04-04  
[2025-04-04 04:30:18] Production.INFO: StartDate 2025-04-04 AccountSubscription->StartDate 2021-09-03 EndDate 2025-05-03 00:00:00 AccountSubscription->EndDate 2026-04-04  
[2025-04-04 04:30:18] Production.INFO: days diff - 30 subscription days 30 quarter days 91  
[2025-04-04 04:30:18] Production.INFO: AccountSubscription::getSubscriptionAmount(616,2025-04-04,2025-05-03 00:00:00,,0)  
[2025-04-04 04:30:18] Production.INFO: SubscriptionCharge - 75  
[2025-04-04 04:30:18] Production.INFO: Already Invoice Subscription 0  
[2025-04-04 04:30:18] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(156,1,5,2025-04-04,2025-05-03 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,616)  
[2025-04-04 04:30:18] Production.INFO: DiscountAmount 0.000000  
[2025-04-04 04:30:18] Production.INFO: DiscountType   
[2025-04-04 04:30:18] Production.INFO: SubscriptionCharge 75  
[2025-04-04 04:30:18] Production.INFO: New SubscriptionCharge 75  
[2025-04-04 04:30:18] Production.INFO:  TotalSubscriptionCharge - 75.00  
[2025-04-04 04:30:18] Production.INFO:  ============================Subscription End ================= 

  
[2025-04-04 04:30:18] Production.INFO:  ============================Subscription Start ================= 

  
[2025-04-04 04:30:18] Production.INFO:  SubscriptionID - 4  
[2025-04-04 04:30:18] Production.INFO: isAdvanceSubscription - 4  
[2025-04-04 04:30:18] Production.INFO: SubscriptionStartDate =2025-04-04 - SubscriptionEndDate = 2025-05-03  
[2025-04-04 04:30:18] Production.INFO: NewNextChargeDate =2025-05-03 00:00:00  
[2025-04-04 04:30:18] Production.INFO: EndDate =2025-04-03 00:00:00  
[2025-04-04 04:30:18] Production.INFO: NewEndDate1 =2025-04-04  
[2025-04-04 04:30:18] Production.INFO: SubscriptionDate  
[2025-04-04 04:30:18] Production.INFO: Array
(
    [StartDate] => 2025-04-04
    [EndDate] => 2025-05-03 00:00:00
    [AlreadyCharged] => 0
)
  
[2025-04-04 04:30:18] Production.INFO: New Account Subscription Start  
[2025-04-04 04:30:18] Production.INFO:  AccountSubscription StartDate 2021-09-03 StartDate 2025-03-04  
[2025-04-04 04:30:18] Production.INFO:  SubscriptionID - 2025-04-04=====2025-05-03 00:00:00  
[2025-04-04 04:30:18] Production.INFO:  AccountSubscriptionID - 617 === 2021-09-03=====2026-04-04  
[2025-04-04 04:30:18] Production.INFO: regular Advance Subscription   
[2025-04-04 04:30:18] Production.INFO: First Time False 2021-09-03 2025-04-04  
[2025-04-04 04:30:18] Production.INFO: StartDate 2025-04-04 AccountSubscription->StartDate 2021-09-03 EndDate 2025-05-03 00:00:00 AccountSubscription->EndDate 2026-04-04  
[2025-04-04 04:30:18] Production.INFO: days diff - 30 subscription days 30 quarter days 91  
[2025-04-04 04:30:18] Production.INFO: AccountSubscription::getSubscriptionAmount(617,2025-04-04,2025-05-03 00:00:00,,0)  
[2025-04-04 04:30:18] Production.INFO: SubscriptionCharge - 2.5  
[2025-04-04 04:30:18] Production.INFO: Already Invoice Subscription 0  
[2025-04-04 04:30:18] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(156,1,4,2025-04-04,2025-05-03 00:00:00,e911 address registration (12262272000 - 257 James St Delhi, ON N4B 1X5 Canada),2.5,2.5,1,617)  
[2025-04-04 04:30:18] Production.INFO: DiscountAmount 0.000000  
[2025-04-04 04:30:18] Production.INFO: DiscountType   
[2025-04-04 04:30:18] Production.INFO: SubscriptionCharge 2.5  
[2025-04-04 04:30:18] Production.INFO: New SubscriptionCharge 2.5  
[2025-04-04 04:30:18] Production.INFO:  TotalSubscriptionCharge - 2.50  
[2025-04-04 04:30:18] Production.INFO:  ============================Subscription End ================= 

  
[2025-04-04 04:30:18] Production.INFO:  ============================Subscription Start ================= 

  
[2025-04-04 04:30:18] Production.INFO:  SubscriptionID - 11  
[2025-04-04 04:30:18] Production.INFO: isAdvanceSubscription - 11  
[2025-04-04 04:30:18] Production.INFO: SubscriptionStartDate =2025-04-04 - SubscriptionEndDate = 2025-05-03  
[2025-04-04 04:30:18] Production.INFO: NewNextChargeDate =2025-05-03 00:00:00  
[2025-04-04 04:30:18] Production.INFO: EndDate =2023-09-03 00:00:00  
[2025-04-04 04:30:18] Production.INFO: NewEndDate1 =2023-09-04  
[2025-04-04 04:30:18] Production.INFO: SubscriptionDate  
[2025-04-04 04:30:18] Production.INFO: Array
(
    [StartDate] => 2023-09-04
    [EndDate] => 2025-05-03 00:00:00
    [AlreadyCharged] => 0
)
  
[2025-04-04 04:30:18] Production.INFO: New Account Subscription Start  
[2025-04-04 04:30:18] Production.INFO:  AccountSubscription StartDate 2021-09-03 StartDate 2025-03-04  
[2025-04-04 04:30:18] Production.INFO:  SubscriptionID - 2023-09-04=====2025-05-03 00:00:00  
[2025-04-04 04:30:18] Production.INFO:  AccountSubscriptionID - 618 === 2021-09-03=====2023-08-16  
[2025-04-04 04:30:18] Production.INFO:  ============================Subscription End ================= 

  
[2025-04-04 04:30:18] Production.INFO: SUBSCRIPTION Over  
[2025-04-04 04:30:18] Production.INFO: Call prc_getAccountOneOffCharge(156,0,2025-03-04,2025-04-04 23:59:59)  
[2025-04-04 04:30:18] Production.INFO: AccountOneOffCharge 0  
[2025-04-04 04:30:18] Production.INFO: AccountOneOffCharge Over  
[2025-04-04 04:30:18] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start  
[2025-04-04 04:30:18] Production.INFO: New UsageDates 2025-03-04 - 2025-04-03 23:59:59  
[2025-04-04 04:30:18] Production.INFO:  SubTotal 77.5  
[2025-04-04 04:30:18] Production.INFO:  SubTotalWithouttaxTotal 0  
[2025-04-04 04:30:18] Production.INFO: AccountOneOffCharge Tax Over  
[2025-04-04 04:30:18] Production.INFO:  TotalTax 10.075  
[2025-04-04 04:30:18] Production.INFO:  InvoiceGrandTotal 87.575  
[2025-04-04 04:30:18] Production.INFO: InvoiceTaxAmount 10.08  
[2025-04-04 04:30:18] Production.INFO: GrandTotal 87.58  
[2025-04-04 04:30:18] Production.INFO: SubTotal 77.50  
[2025-04-04 04:30:18] Production.INFO: TotalDue 175.16  
[2025-04-04 04:30:18] Production.INFO: Reseller ==> 0  
[2025-04-04 04:30:18] Production.INFO: original start date ==>2025-03-04 changed start date ==>2025-03-04 00:00:00 original end date ==>2025-04-03 23:59:59 changed end date ==>2025-04-03 23:59:59  
[2025-04-04 04:30:18] Production.INFO: CALL prc_getInvoiceUsage(1,'156','0','1','2025-03-04 00:00:00','2025-04-03 23:59:59',0)  
[2025-04-04 04:30:18] Production.INFO: PDF Generation start  
[2025-04-04 04:30:19] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/156/Invoices/2025/04/04/Invoice-dominos-10583-william-prichard-inv11804-from-03-04-2025-to-04-03-2025-10748.pdf  
[2025-04-04 04:30:19] Production.INFO: On Linux  
[2025-04-04 04:30:20] 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/156/Invoices/2025/04/04/footer-dominos-10583-william-prichard-inv11804-from-03-04-2025-to-04-03-2025-10748.html" "/var/www/tmp/1/156/Invoices/2025/04/04/Invoice-dominos-10583-william-prichard-inv11804-from-03-04-2025-to-04-03-2025-10748.html" "/var/www/tmp/1/156/Invoices/2025/04/04/Invoice-dominos-10583-william-prichard-inv11804-from-03-04-2025-to-04-03-2025-10748.pdf"  
[2025-04-04 04:30:20] Production.INFO:   
[2025-04-04 04:30:20] Production.INFO: /var/www/tmp/1/156/Invoices/2025/04/04/Invoice-dominos-10583-william-prichard-inv11804-from-03-04-2025-to-04-03-2025-10748.html  
[2025-04-04 04:30:20] Production.INFO: /var/www/tmp/1/156/Invoices/2025/04/04/header-dominos-10583-william-prichard-inv11804-from-03-04-2025-to-04-03-2025-10748.html  
[2025-04-04 04:30:20] Production.INFO: /var/www/tmp/1/156/Invoices/2025/04/04/footer-dominos-10583-william-prichard-inv11804-from-03-04-2025-to-04-03-2025-10748.html  
[2025-04-04 04:30:20] Production.INFO: Invoice generation PDF path  
[2025-04-04 04:30:20] Production.INFO: PDF fullPath 1/156/Invoices/2025/04/04/Invoice-dominos-10583-william-prichard-inv11804-from-03-04-2025-to-04-03-2025-10748.pdf  
[2025-04-04 04:30:20] Production.INFO: Generate Usage File Start   
[2025-04-04 04:30:20] Production.INFO: Usage File fullPath 1/156/InvoiceUsageFile/2025/04/04/dominos-10583-william-prichard-04-03-2025-00-00-00-TO-03-04-2025-23-59-59_1777__0b916420-112f-11f0-b209-9764451acf44.csv  
[2025-04-04 04:30:21] Production.INFO: Sending Email to Staff over  
[2025-04-04 04:30:21] Production.INFO: Email Status  1  
[2025-04-04 04:30:21] Production.INFO: Sending Email to Customer  
[2025-04-04 04:30:22] Production.INFO: Email Try 10748 1  
[2025-04-04 04:30:23] Production.INFO: Email Try 10748 1  
[2025-04-04 04:30:23] Production.INFO: =========== Email Sending over ===========   
[2025-04-04 04:30:23] Production.INFO: =========== Returning as Success =========== AccountID 156  
[2025-04-04 04:30:23] Production.INFO: Invoice::sendInvoice done  
[2025-04-04 04:30:23] Production.INFO: Invoice created - Array
(
    [status] => success
    [message] => Invoice Created Successfully.
    [accounts] => 
)
  
[2025-04-04 04:30:23] Production.INFO: Invoice Committed  AccountID = 156  
[2025-04-04 04:30:23] Production.INFO: =========== Updating  InvoiceDate ===========   
[2025-04-04 04:30:23] Production.INFO: NextInvoice 2025-04-04 2025-05-03  
[2025-04-04 04:30:23] Production.INFO: new dates  
[2025-04-04 04:30:23] Production.INFO: LastInvoiceDate 2025-04-04 NextInvoiceDate 2025-05-04  
[2025-04-04 04:30:23] Production.INFO: LastChargeDate 2025-04-04 NextChargeDate 2025-05-03  
[2025-04-04 04:30:23] Production.INFO: =========== Updated  InvoiceDate ===========   
[2025-04-04 04:30:23] Production.INFO:  ========================== Invoice Send End =============================  
[2025-04-04 04:30:23] Production.INFO: AccountID =194 FirstInvoiceSend 0  
[2025-04-04 04:30:23] Production.INFO: LastInvoiceDate 2025-03-04 NextInvoiceDate 2025-04-04  
[2025-04-04 04:30:23] Production.INFO: LastChargeDate 2025-03-04 NextChargeDate 2025-04-03  
[2025-04-04 04:30:23] Production.INFO: isCDRLoaded Array
(
    [0] => stdClass Object
        (
            [isLoaded] => 1
        )

)
  
[2025-04-04 04:30:23] Production.INFO:  ========================== Invoice Send Start =============================  
[2025-04-04 04:30:23] Production.INFO: Invoice::sendInvoice(1,194,2025-03-04,2025-04-04,billing@onswitchit.ca)  
[2025-04-04 04:30:23] Production.INFO: start Date =2025-03-04 EndDate =2025-04-03 23:59:59  
[2025-04-04 04:30:23] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV  
[2025-04-04 04:30:23] Production.INFO: InvoiceTemplate->Terms =<p><br></p><p><br></p><p>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.</p><p><br></p>  
[2025-04-04 04:30:23] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled  
[2025-04-04 04:30:23] Production.INFO: AlreadyBilled   
[2025-04-04 04:30:23] Production.INFO: Reseller ==> 0  
[2025-04-04 04:30:23] Production.INFO: original start date ==>2025-03-04 changed start date ==>2025-03-04 00:00:00 original end date ==>2025-04-03 23:59:59 changed end date ==>2025-04-03 23:59:59  
[2025-04-04 04:30:23] Production.INFO:  CompanyGatewayID 1 TotalCharges ==>9.27000000  
[2025-04-04 04:30:23] Production.INFO: Invoice::getAccountUsageTotal(1,194,2025-03-04,2025-04-03 23:59:59)  
[2025-04-04 04:30:23] Production.INFO: TotalCharges - 9.27  
[2025-04-04 04:30:23] Production.INFO: TotalUsageCharges - 9.27  
[2025-04-04 04:30:23] Production.INFO: Usage Over  
[2025-04-04 04:30:23] Production.INFO: Call prc_getAccountSubscription(194,0)  
[2025-04-04 04:30:23] Production.INFO: SUBSCRIPTION 3  
[2025-04-04 04:30:23] Production.INFO:  ============================Subscription Start ================= 

  
[2025-04-04 04:30:23] Production.INFO:  SubscriptionID - 2  
[2025-04-04 04:30:23] Production.INFO: isAdvanceSubscription - 2  
[2025-04-04 04:30:23] Production.INFO: SubscriptionStartDate =2025-04-04 - SubscriptionEndDate = 2025-05-03  
[2025-04-04 04:30:23] Production.INFO: NewNextChargeDate =2025-05-03 00:00:00  
[2025-04-04 04:30:23] Production.INFO: EndDate =2025-04-03 00:00:00  
[2025-04-04 04:30:23] Production.INFO: NewEndDate1 =2025-04-04  
[2025-04-04 04:30:23] Production.INFO: SubscriptionDate  
[2025-04-04 04:30:23] Production.INFO: Array
(
    [StartDate] => 2025-04-04
    [EndDate] => 2025-05-03 00:00:00
    [AlreadyCharged] => 0
)
  
[2025-04-04 04:30:23] Production.INFO:  AccountSubscription StartDate 2023-08-28 StartDate 2025-03-04  
[2025-04-04 04:30:23] Production.INFO:  SubscriptionID - 2025-04-04=====2025-05-03 00:00:00  
[2025-04-04 04:30:23] Production.INFO:  AccountSubscriptionID - 714 === 2023-08-28=====2026-04-04  
[2025-04-04 04:30:23] Production.INFO: regular Advance Subscription   
[2025-04-04 04:30:23] Production.INFO: First Time False 2023-08-28 2025-04-04  
[2025-04-04 04:30:23] Production.INFO: StartDate 2025-04-04 AccountSubscription->StartDate 2023-08-28 EndDate 2025-05-03 00:00:00 AccountSubscription->EndDate 2026-04-04  
[2025-04-04 04:30:23] Production.INFO: days diff - 30 subscription days 30 quarter days 91  
[2025-04-04 04:30:23] Production.INFO: AccountSubscription::getSubscriptionAmount(714,2025-04-04,2025-05-03 00:00:00,,0)  
[2025-04-04 04:30:23] Production.INFO: SubscriptionCharge - 15  
[2025-04-04 04:30:23] Production.INFO: Already Invoice Subscription 0  
[2025-04-04 04:30:23] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(194,1,2,2025-04-04,2025-05-03 00:00:00,License for an Unlimited Canada/US Cloud Phone extension,75,15,5,714)  
[2025-04-04 04:30:23] Production.INFO: DiscountAmount 0.000000  
[2025-04-04 04:30:23] Production.INFO: DiscountType Flat  
[2025-04-04 04:30:23] Production.INFO: SubscriptionCharge 75  
[2025-04-04 04:30:23] Production.INFO: New SubscriptionCharge 75  
[2025-04-04 04:30:23] Production.INFO:  TotalSubscriptionCharge - 75.00  
[2025-04-04 04:30:23] Production.INFO:  ============================Subscription End ================= 

  
[2025-04-04 04:30:23] Production.INFO:  ============================Subscription Start ================= 

  
[2025-04-04 04:30:23] Production.INFO:  SubscriptionID - 2  
[2025-04-04 04:30:23] Production.INFO: isAdvanceSubscription - 2  
[2025-04-04 04:30:23] Production.INFO: SubscriptionStartDate =2025-04-04 - SubscriptionEndDate = 2025-05-03  
[2025-04-04 04:30:23] Production.INFO: NewNextChargeDate =2025-05-03 00:00:00  
[2025-04-04 04:30:23] Production.INFO: EndDate =2025-04-03 00:00:00  
[2025-04-04 04:30:23] Production.INFO: NewEndDate1 =2025-04-04  
[2025-04-04 04:30:23] Production.INFO: SubscriptionDate  
[2025-04-04 04:30:23] Production.INFO: Array
(
    [StartDate] => 2025-04-04
    [EndDate] => 2025-05-03 00:00:00
    [AlreadyCharged] => 0
)
  
[2025-04-04 04:30:23] Production.INFO:  AccountSubscription StartDate 2023-08-28 StartDate 2025-03-04  
[2025-04-04 04:30:23] Production.INFO:  SubscriptionID - 2025-04-04=====2025-05-03 00:00:00  
[2025-04-04 04:30:23] Production.INFO:  AccountSubscriptionID - 715 === 2023-08-28=====2026-04-04  
[2025-04-04 04:30:23] Production.INFO: regular Advance Subscription   
[2025-04-04 04:30:23] Production.INFO: First Time False 2023-08-28 2025-04-04  
[2025-04-04 04:30:23] Production.INFO: StartDate 2025-04-04 AccountSubscription->StartDate 2023-08-28 EndDate 2025-05-03 00:00:00 AccountSubscription->EndDate 2026-04-04  
[2025-04-04 04:30:23] Production.INFO: days diff - 30 subscription days 30 quarter days 91  
[2025-04-04 04:30:23] Production.INFO: AccountSubscription::getSubscriptionAmount(715,2025-04-04,2025-05-03 00:00:00,,0)  
[2025-04-04 04:30:23] Production.INFO: SubscriptionCharge - 15  
[2025-04-04 04:30:23] Production.INFO: Already Invoice Subscription 0  
[2025-04-04 04:30:23] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(194,1,2,2025-04-04,2025-05-03 00:00:00,License for an Unlimited Canada/US Cloud Phone extension (courtesy/seldom used phones),75,15,5,715)  
[2025-04-04 04:30:23] Production.INFO: DiscountAmount 70.000000  
[2025-04-04 04:30:23] Production.INFO: DiscountType Percentage  
[2025-04-04 04:30:23] Production.INFO: SubscriptionCharge 75  
[2025-04-04 04:30:23] Production.INFO: New SubscriptionCharge 22.5  
[2025-04-04 04:30:23] Production.INFO:  TotalSubscriptionCharge - 22.50  
[2025-04-04 04:30:23] Production.INFO:  ============================Subscription End ================= 

  
[2025-04-04 04:30:23] Production.INFO:  ============================Subscription Start ================= 

  
[2025-04-04 04:30:23] Production.INFO:  SubscriptionID - 4  
[2025-04-04 04:30:23] Production.INFO: isAdvanceSubscription - 4  
[2025-04-04 04:30:23] Production.INFO: SubscriptionStartDate =2025-04-04 - SubscriptionEndDate = 2025-05-03  
[2025-04-04 04:30:23] Production.INFO: NewNextChargeDate =2025-05-03 00:00:00  
[2025-04-04 04:30:23] Production.INFO: EndDate =2025-04-03 00:00:00  
[2025-04-04 04:30:23] Production.INFO: NewEndDate1 =2025-04-04  
[2025-04-04 04:30:23] Production.INFO: SubscriptionDate  
[2025-04-04 04:30:23] Production.INFO: Array
(
    [StartDate] => 2025-04-04
    [EndDate] => 2025-05-03 00:00:00
    [AlreadyCharged] => 0
)
  
[2025-04-04 04:30:23] Production.INFO:  AccountSubscription StartDate 2023-08-28 StartDate 2025-03-04  
[2025-04-04 04:30:23] Production.INFO:  SubscriptionID - 2025-04-04=====2025-05-03 00:00:00  
[2025-04-04 04:30:23] Production.INFO:  AccountSubscriptionID - 716 === 2023-08-28=====2026-04-04  
[2025-04-04 04:30:23] Production.INFO: regular Advance Subscription   
[2025-04-04 04:30:23] Production.INFO: First Time False 2023-08-28 2025-04-04  
[2025-04-04 04:30:23] Production.INFO: StartDate 2025-04-04 AccountSubscription->StartDate 2023-08-28 EndDate 2025-05-03 00:00:00 AccountSubscription->EndDate 2026-04-04  
[2025-04-04 04:30:23] Production.INFO: days diff - 30 subscription days 30 quarter days 91  
[2025-04-04 04:30:23] Production.INFO: AccountSubscription::getSubscriptionAmount(716,2025-04-04,2025-05-03 00:00:00,,0)  
[2025-04-04 04:30:23] Production.INFO: SubscriptionCharge - 2.5  
[2025-04-04 04:30:23] Production.INFO: Already Invoice Subscription 0  
[2025-04-04 04:30:23] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(194,1,4,2025-04-04,2025-05-03 00:00:00,e911 address registration (5198371973 - 550 Southgate Drive Guelph, ON N1G4P6 Canada),2.5,2.5,1,716)  
[2025-04-04 04:30:23] Production.INFO: DiscountAmount 0.000000  
[2025-04-04 04:30:23] Production.INFO: DiscountType Flat  
[2025-04-04 04:30:23] Production.INFO: SubscriptionCharge 2.5  
[2025-04-04 04:30:23] Production.INFO: New SubscriptionCharge 2.5  
[2025-04-04 04:30:23] Production.INFO:  TotalSubscriptionCharge - 2.50  
[2025-04-04 04:30:23] Production.INFO:  ============================Subscription End ================= 

  
[2025-04-04 04:30:23] Production.INFO: SUBSCRIPTION Over  
[2025-04-04 04:30:23] Production.INFO: Call prc_getAccountOneOffCharge(194,0,2025-03-04,2025-04-04 23:59:59)  
[2025-04-04 04:30:23] Production.INFO: AccountOneOffCharge 0  
[2025-04-04 04:30:23] Production.INFO: AccountOneOffCharge Over  
[2025-04-04 04:30:23] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start  
[2025-04-04 04:30:23] Production.INFO: New UsageDates 2025-03-04 - 2025-04-03 23:59:59  
[2025-04-04 04:30:23] Production.INFO:  SubTotal 109.27  
[2025-04-04 04:30:23] Production.INFO:  SubTotalWithouttaxTotal 0  
[2025-04-04 04:30:23] Production.INFO: AccountOneOffCharge Tax Over  
[2025-04-04 04:30:23] Production.INFO:  TotalTax 14.2051  
[2025-04-04 04:30:23] Production.INFO:  InvoiceGrandTotal 123.4751  
[2025-04-04 04:30:23] Production.INFO: InvoiceTaxAmount 14.21  
[2025-04-04 04:30:23] Production.INFO: GrandTotal 123.48  
[2025-04-04 04:30:23] Production.INFO: SubTotal 109.27  
[2025-04-04 04:30:23] Production.INFO: TotalDue 742.33  
[2025-04-04 04:30:23] Production.INFO: Reseller ==> 0  
[2025-04-04 04:30:23] Production.INFO: original start date ==>2025-03-04 changed start date ==>2025-03-04 00:00:00 original end date ==>2025-04-03 23:59:59 changed end date ==>2025-04-03 23:59:59  
[2025-04-04 04:30:23] Production.INFO: CALL prc_getInvoiceUsage(1,'194','0','1','2025-03-04 00:00:00','2025-04-03 23:59:59',0)  
[2025-04-04 04:30:23] Production.INFO: PDF Generation start  
[2025-04-04 04:30:24] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/194/Invoices/2025/04/04/Invoice-telco-steel-works-inv11805-from-03-04-2025-to-04-03-2025-10749.pdf  
[2025-04-04 04:30:24] Production.INFO: On Linux  
[2025-04-04 04:30:25] 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/194/Invoices/2025/04/04/footer-telco-steel-works-inv11805-from-03-04-2025-to-04-03-2025-10749.html" "/var/www/tmp/1/194/Invoices/2025/04/04/Invoice-telco-steel-works-inv11805-from-03-04-2025-to-04-03-2025-10749.html" "/var/www/tmp/1/194/Invoices/2025/04/04/Invoice-telco-steel-works-inv11805-from-03-04-2025-to-04-03-2025-10749.pdf"  
[2025-04-04 04:30:25] Production.INFO:   
[2025-04-04 04:30:25] Production.INFO: /var/www/tmp/1/194/Invoices/2025/04/04/Invoice-telco-steel-works-inv11805-from-03-04-2025-to-04-03-2025-10749.html  
[2025-04-04 04:30:25] Production.INFO: /var/www/tmp/1/194/Invoices/2025/04/04/header-telco-steel-works-inv11805-from-03-04-2025-to-04-03-2025-10749.html  
[2025-04-04 04:30:25] Production.INFO: /var/www/tmp/1/194/Invoices/2025/04/04/footer-telco-steel-works-inv11805-from-03-04-2025-to-04-03-2025-10749.html  
[2025-04-04 04:30:25] Production.INFO: Invoice generation PDF path  
[2025-04-04 04:30:25] Production.INFO: PDF fullPath 1/194/Invoices/2025/04/04/Invoice-telco-steel-works-inv11805-from-03-04-2025-to-04-03-2025-10749.pdf  
[2025-04-04 04:30:25] Production.INFO: Generate Usage File Start   
[2025-04-04 04:30:25] Production.INFO: Usage File fullPath 1/194/InvoiceUsageFile/2025/04/04/telco-steel-works-04-03-2025-00-00-00-TO-03-04-2025-23-59-59_5049__0e699ff0-112f-11f0-9f61-3bd1b74a5b37.csv  
[2025-04-04 04:30:26] Production.INFO: Sending Email to Staff over  
[2025-04-04 04:30:26] Production.INFO: Email Status  1  
[2025-04-04 04:30:26] Production.INFO: Sending Email to Customer  
[2025-04-04 04:30:26] Production.INFO: Email Try 10749 1  
[2025-04-04 04:30:27] Production.INFO: =========== Email Sending over ===========   
[2025-04-04 04:30:27] Production.INFO: =========== Returning as Success =========== AccountID 194  
[2025-04-04 04:30:27] Production.INFO: Invoice::sendInvoice done  
[2025-04-04 04:30:27] Production.INFO: Invoice created - Array
(
    [status] => success
    [message] => Invoice Created Successfully.
    [accounts] => 
)
  
[2025-04-04 04:30:27] Production.INFO: Invoice Committed  AccountID = 194  
[2025-04-04 04:30:27] Production.INFO: =========== Updating  InvoiceDate ===========   
[2025-04-04 04:30:27] Production.INFO: NextInvoice 2025-04-04 2025-05-03  
[2025-04-04 04:30:27] Production.INFO: new dates  
[2025-04-04 04:30:27] Production.INFO: LastInvoiceDate 2025-04-04 NextInvoiceDate 2025-05-04  
[2025-04-04 04:30:27] Production.INFO: LastChargeDate 2025-04-04 NextChargeDate 2025-05-03  
[2025-04-04 04:30:27] Production.INFO: =========== Updated  InvoiceDate ===========   
[2025-04-04 04:30:27] Production.INFO:  ========================== Invoice Send End =============================  
[2025-04-04 04:30:27] Production.INFO: AccountID =209 FirstInvoiceSend 0  
[2025-04-04 04:30:27] Production.INFO: LastInvoiceDate 2025-03-04 NextInvoiceDate 2025-04-04  
[2025-04-04 04:30:27] Production.INFO: LastChargeDate 2025-04-04 NextChargeDate 2025-05-03  
[2025-04-04 04:30:27] Production.INFO: isCDRLoaded Array
(
    [0] => stdClass Object
        (
            [isLoaded] => 1
        )

)
  
[2025-04-04 04:30:27] Production.INFO:  ========================== Invoice Send Start =============================  
[2025-04-04 04:30:27] Production.INFO: Invoice::sendInvoice(1,209,2025-03-04,2025-04-04,billing@onswitchit.ca)  
[2025-04-04 04:30:27] Production.INFO: start Date =2025-04-04 EndDate =2025-05-03 23:59:59  
[2025-04-04 04:30:27] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV  
[2025-04-04 04:30:27] Production.INFO: InvoiceTemplate->Terms =<p><br></p><p><br></p><p>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.</p><p><br></p>  
[2025-04-04 04:30:27] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled  
[2025-04-04 04:30:27] Production.INFO: AlreadyBilled   
[2025-04-04 04:30:27] Production.INFO: Charge In Advance Logic   
[2025-04-04 04:30:27] Production.INFO: Reseller ==> 0  
[2025-04-04 04:30:27] Production.INFO: original start date ==>2025-03-04 changed start date ==>2025-03-04 00:00:00 original end date ==>2025-04-03 23:59:59 changed end date ==>2025-04-03 23:59:59  
[2025-04-04 04:30:27] Production.INFO:  CompanyGatewayID 1 TotalCharges ==>1.51000000  
[2025-04-04 04:30:27] Production.INFO: Invoice::getAccountUsageTotal(1,209,2025-03-04,2025-04-03 23:59:59)  
[2025-04-04 04:30:27] Production.INFO: TotalCharges - 1.51  
[2025-04-04 04:30:27] Production.INFO: TotalUsageCharges - 1.51  
[2025-04-04 04:30:27] Production.INFO: Usage Over  
[2025-04-04 04:30:27] Production.INFO: Call prc_getAccountSubscription(209,0)  
[2025-04-04 04:30:27] Production.INFO: SUBSCRIPTION 2  
[2025-04-04 04:30:27] Production.INFO:  ============================Subscription Start ================= 

  
[2025-04-04 04:30:27] Production.INFO:  SubscriptionID - 4  
[2025-04-04 04:30:27] Production.INFO: isAdvanceSubscription - 4  
[2025-04-04 04:30:27] Production.INFO: SubscriptionStartDate =2025-05-04 - SubscriptionEndDate = 2025-06-03  
[2025-04-04 04:30:27] Production.INFO: NewNextChargeDate =2025-06-03 00:00:00  
[2025-04-04 04:30:27] Production.INFO: EndDate =2025-05-03 00:00:00  
[2025-04-04 04:30:27] Production.INFO: NewEndDate1 =2025-05-04  
[2025-04-04 04:30:27] Production.INFO: SubscriptionDate  
[2025-04-04 04:30:27] Production.INFO: Array
(
    [StartDate] => 2025-05-04
    [EndDate] => 2025-06-03 00:00:00
    [AlreadyCharged] => 0
)
  
[2025-04-04 04:30:27] Production.INFO:  AccountSubscription StartDate 2023-08-28 StartDate 2025-04-04  
[2025-04-04 04:30:27] Production.INFO:  SubscriptionID - 2025-05-04=====2025-06-03 00:00:00  
[2025-04-04 04:30:27] Production.INFO:  AccountSubscriptionID - 710 === 2023-08-28=====2026-04-04  
[2025-04-04 04:30:27] Production.INFO: regular Advance Subscription   
[2025-04-04 04:30:27] Production.INFO: First Time False 2023-08-28 2025-05-04  
[2025-04-04 04:30:27] Production.INFO: StartDate 2025-05-04 AccountSubscription->StartDate 2023-08-28 EndDate 2025-06-03 00:00:00 AccountSubscription->EndDate 2026-04-04  
[2025-04-04 04:30:27] Production.INFO: days diff - 31 subscription days 31 quarter days 91  
[2025-04-04 04:30:27] Production.INFO: AccountSubscription::getSubscriptionAmount(710,2025-05-04,2025-06-03 00:00:00,,0)  
[2025-04-04 04:30:27] Production.INFO: SubscriptionCharge - 2.5  
[2025-04-04 04:30:27] Production.INFO: Already Invoice Subscription 0  
[2025-04-04 04:30:27] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(209,1,4,2025-05-04,2025-06-03 00:00:00,e911 address registration (5198226500) (99 Woolwich Street Guelph, ON N1H 3V1 Canada),2.5,2.5,1,710)  
[2025-04-04 04:30:27] Production.INFO: DiscountAmount 5.000000  
[2025-04-04 04:30:27] Production.INFO: DiscountType Percentage  
[2025-04-04 04:30:27] Production.INFO: SubscriptionCharge 2.5  
[2025-04-04 04:30:27] Production.INFO: New SubscriptionCharge 2.375  
[2025-04-04 04:30:27] Production.INFO:  TotalSubscriptionCharge - 2.38  
[2025-04-04 04:30:27] Production.INFO:  ============================Subscription End ================= 

  
[2025-04-04 04:30:27] Production.INFO:  ============================Subscription Start ================= 

  
[2025-04-04 04:30:27] Production.INFO:  SubscriptionID - 2  
[2025-04-04 04:30:27] Production.INFO: isAdvanceSubscription - 2  
[2025-04-04 04:30:27] Production.INFO: SubscriptionStartDate =2025-05-04 - SubscriptionEndDate = 2025-06-03  
[2025-04-04 04:30:27] Production.INFO: NewNextChargeDate =2025-06-03 00:00:00  
[2025-04-04 04:30:27] Production.INFO: EndDate =2025-05-03 00:00:00  
[2025-04-04 04:30:27] Production.INFO: NewEndDate1 =2025-05-04  
[2025-04-04 04:30:27] Production.INFO: SubscriptionDate  
[2025-04-04 04:30:27] Production.INFO: Array
(
    [StartDate] => 2025-05-04
    [EndDate] => 2025-06-03 00:00:00
    [AlreadyCharged] => 0
)
  
[2025-04-04 04:30:27] Production.INFO:  AccountSubscription StartDate 2023-08-28 StartDate 2025-04-04  
[2025-04-04 04:30:27] Production.INFO:  SubscriptionID - 2025-05-04=====2025-06-03 00:00:00  
[2025-04-04 04:30:27] Production.INFO:  AccountSubscriptionID - 711 === 2023-08-28=====2026-04-04  
[2025-04-04 04:30:27] Production.INFO: regular Advance Subscription   
[2025-04-04 04:30:27] Production.INFO: First Time False 2023-08-28 2025-05-04  
[2025-04-04 04:30:27] Production.INFO: StartDate 2025-05-04 AccountSubscription->StartDate 2023-08-28 EndDate 2025-06-03 00:00:00 AccountSubscription->EndDate 2026-04-04  
[2025-04-04 04:30:27] Production.INFO: days diff - 31 subscription days 31 quarter days 91  
[2025-04-04 04:30:27] Production.INFO: AccountSubscription::getSubscriptionAmount(711,2025-05-04,2025-06-03 00:00:00,,0)  
[2025-04-04 04:30:27] Production.INFO: SubscriptionCharge - 15  
[2025-04-04 04:30:27] Production.INFO: Already Invoice Subscription 0  
[2025-04-04 04:30:27] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(209,1,2,2025-05-04,2025-06-03 00:00:00,License for an Unlimited Canada/US Cloud Phone extension/digital line,45,15,3,711)  
[2025-04-04 04:30:27] Production.INFO: DiscountAmount 5.000000  
[2025-04-04 04:30:27] Production.INFO: DiscountType Percentage  
[2025-04-04 04:30:27] Production.INFO: SubscriptionCharge 45  
[2025-04-04 04:30:27] Production.INFO: New SubscriptionCharge 42.75  
[2025-04-04 04:30:27] Production.INFO:  TotalSubscriptionCharge - 42.75  
[2025-04-04 04:30:27] Production.INFO:  ============================Subscription End ================= 

  
[2025-04-04 04:30:27] Production.INFO: SUBSCRIPTION Over  
[2025-04-04 04:30:27] Production.INFO: Call prc_getAccountOneOffCharge(209,0,2025-04-04,2025-05-04 23:59:59)  
[2025-04-04 04:30:27] Production.INFO: AccountOneOffCharge 0  
[2025-04-04 04:30:27] Production.INFO: AccountOneOffCharge Over  
[2025-04-04 04:30:27] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start  
[2025-04-04 04:30:27] Production.INFO: New UsageDates 2025-03-04 - 2025-04-03 23:59:59  
[2025-04-04 04:30:27] Production.INFO:  SubTotal 46.635  
[2025-04-04 04:30:27] Production.INFO:  SubTotalWithouttaxTotal 0  
[2025-04-04 04:30:27] Production.INFO: AccountOneOffCharge Tax Over  
[2025-04-04 04:30:27] Production.INFO:  TotalTax 6.06255  
[2025-04-04 04:30:27] Production.INFO:  InvoiceGrandTotal 52.69755  
[2025-04-04 04:30:27] Production.INFO: InvoiceTaxAmount 6.06  
[2025-04-04 04:30:27] Production.INFO: GrandTotal 52.7  
[2025-04-04 04:30:27] Production.INFO: SubTotal 46.64  
[2025-04-04 04:30:27] Production.INFO: TotalDue 52.70  
[2025-04-04 04:30:27] Production.INFO: Reseller ==> 0  
[2025-04-04 04:30:27] Production.INFO: original start date ==>2025-03-04 changed start date ==>2025-03-04 00:00:00 original end date ==>2025-04-03 23:59:59 changed end date ==>2025-04-03 23:59:59  
[2025-04-04 04:30:27] Production.INFO: CALL prc_getInvoiceUsage(1,'209','0','1','2025-03-04 00:00:00','2025-04-03 23:59:59',0)  
[2025-04-04 04:30:27] Production.INFO: PDF Generation start  
[2025-04-04 04:30:27] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/209/Invoices/2025/04/04/Invoice-workside-early-childhood-education-centre-inv11806-from-04-04-2025-to-05-03-2025-10750.pdf  
[2025-04-04 04:30:27] Production.INFO: On Linux  
[2025-04-04 04:30:28] 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/209/Invoices/2025/04/04/footer-workside-early-childhood-education-centre-inv11806-from-04-04-2025-to-05-03-2025-10750.html" "/var/www/tmp/1/209/Invoices/2025/04/04/Invoice-workside-early-childhood-education-centre-inv11806-from-04-04-2025-to-05-03-2025-10750.html" "/var/www/tmp/1/209/Invoices/2025/04/04/Invoice-workside-early-childhood-education-centre-inv11806-from-04-04-2025-to-05-03-2025-10750.pdf"  
[2025-04-04 04:30:28] Production.INFO:   
[2025-04-04 04:30:28] Production.INFO: /var/www/tmp/1/209/Invoices/2025/04/04/Invoice-workside-early-childhood-education-centre-inv11806-from-04-04-2025-to-05-03-2025-10750.html  
[2025-04-04 04:30:28] Production.INFO: /var/www/tmp/1/209/Invoices/2025/04/04/header-workside-early-childhood-education-centre-inv11806-from-04-04-2025-to-05-03-2025-10750.html  
[2025-04-04 04:30:28] Production.INFO: /var/www/tmp/1/209/Invoices/2025/04/04/footer-workside-early-childhood-education-centre-inv11806-from-04-04-2025-to-05-03-2025-10750.html  
[2025-04-04 04:30:28] Production.INFO: Invoice generation PDF path  
[2025-04-04 04:30:28] Production.INFO: PDF fullPath 1/209/Invoices/2025/04/04/Invoice-workside-early-childhood-education-centre-inv11806-from-04-04-2025-to-05-03-2025-10750.pdf  
[2025-04-04 04:30:28] Production.INFO: Generate Usage File Start   
[2025-04-04 04:30:28] Production.INFO: Usage File fullPath 1/209/InvoiceUsageFile/2025/04/04/workside-early-childhood-education-centre-04-03-2025-00-00-00-TO-03-04-2025-23-59-59_7539__105382a0-112f-11f0-9836-0119a8c4ee0c.csv  
[2025-04-04 04:30:29] Production.INFO: Sending Email to Staff over  
[2025-04-04 04:30:29] Production.INFO: Email Status  1  
[2025-04-04 04:30:29] Production.INFO: Sending Email to Customer  
[2025-04-04 04:30:30] Production.INFO: Email Try 10750 1  
[2025-04-04 04:30:30] Production.INFO: =========== Email Sending over ===========   
[2025-04-04 04:30:30] Production.INFO: =========== Returning as Success =========== AccountID 209  
[2025-04-04 04:30:30] Production.INFO: Invoice::sendInvoice done  
[2025-04-04 04:30:30] Production.INFO: Invoice created - Array
(
    [status] => success
    [message] => Invoice Created Successfully.
    [accounts] => 
)
  
[2025-04-04 04:30:30] Production.INFO: Invoice Committed  AccountID = 209  
[2025-04-04 04:30:30] Production.INFO: =========== Updating  InvoiceDate ===========   
[2025-04-04 04:30:30] Production.INFO: NextInvoice 2025-05-04 2025-06-03  
[2025-04-04 04:30:30] Production.INFO: new dates  
[2025-04-04 04:30:30] Production.INFO: LastInvoiceDate 2025-04-04 NextInvoiceDate 2025-05-04  
[2025-04-04 04:30:30] Production.INFO: LastChargeDate 2025-05-04 NextChargeDate 2025-06-03  
[2025-04-04 04:30:30] Production.INFO: =========== Updated  InvoiceDate ===========   
[2025-04-04 04:30:30] Production.INFO:  ========================== Invoice Send End =============================  
[2025-04-04 04:30:30] Production.INFO: AccountID =213 FirstInvoiceSend 0  
[2025-04-04 04:30:30] Production.INFO: LastInvoiceDate 2025-03-04 NextInvoiceDate 2025-04-04  
[2025-04-04 04:30:30] Production.INFO: LastChargeDate 2025-03-04 NextChargeDate 2025-04-03  
[2025-04-04 04:30:30] Production.INFO: isCDRLoaded Array
(
    [0] => stdClass Object
        (
            [isLoaded] => 1
        )

)
  
[2025-04-04 04:30:30] Production.INFO:  ========================== Invoice Send Start =============================  
[2025-04-04 04:30:30] Production.INFO: Invoice::sendInvoice(1,213,2025-03-04,2025-04-04,billing@onswitchit.ca)  
[2025-04-04 04:30:30] Production.INFO: start Date =2025-03-04 EndDate =2025-04-03 23:59:59  
[2025-04-04 04:30:30] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV  
[2025-04-04 04:30:30] Production.INFO: InvoiceTemplate->Terms =<p><br></p><p><br></p><p>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.</p><p><br></p>  
[2025-04-04 04:30:30] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled  
[2025-04-04 04:30:30] Production.INFO: AlreadyBilled   
[2025-04-04 04:30:30] Production.INFO: Reseller ==> 0  
[2025-04-04 04:30:30] Production.INFO: original start date ==>2025-03-04 changed start date ==>2025-03-04 00:00:00 original end date ==>2025-04-03 23:59:59 changed end date ==>2025-04-03 23:59:59  
[2025-04-04 04:30:30] Production.INFO: Invoice::getAccountUsageTotal(1,213,2025-03-04,2025-04-03 23:59:59)  
[2025-04-04 04:30:30] Production.INFO: TotalCharges - 0  
[2025-04-04 04:30:30] Production.INFO: TotalUsageCharges - 0.00  
[2025-04-04 04:30:30] Production.INFO: Usage Over  
[2025-04-04 04:30:30] Production.INFO: Call prc_getAccountSubscription(213,0)  
[2025-04-04 04:30:30] Production.INFO: SUBSCRIPTION 2  
[2025-04-04 04:30:30] Production.INFO:  ============================Subscription Start ================= 

  
[2025-04-04 04:30:30] Production.INFO:  SubscriptionID - 2  
[2025-04-04 04:30:30] Production.INFO: isAdvanceSubscription - 2  
[2025-04-04 04:30:30] Production.INFO: SubscriptionStartDate =2025-04-04 - SubscriptionEndDate = 2025-05-03  
[2025-04-04 04:30:30] Production.INFO: NewNextChargeDate =2025-05-03 00:00:00  
[2025-04-04 04:30:30] Production.INFO: EndDate =2025-04-03 00:00:00  
[2025-04-04 04:30:30] Production.INFO: NewEndDate1 =2025-04-04  
[2025-04-04 04:30:30] Production.INFO: SubscriptionDate  
[2025-04-04 04:30:30] Production.INFO: Array
(
    [StartDate] => 2025-04-04
    [EndDate] => 2025-05-03 00:00:00
    [AlreadyCharged] => 0
)
  
[2025-04-04 04:30:30] Production.INFO: New Account Subscription Start  
[2025-04-04 04:30:30] Production.INFO:  AccountSubscription StartDate 2023-08-30 StartDate 2025-03-04  
[2025-04-04 04:30:30] Production.INFO:  SubscriptionID - 2025-04-04=====2025-05-03 00:00:00  
[2025-04-04 04:30:30] Production.INFO:  AccountSubscriptionID - 717 === 2023-08-30=====2026-04-04  
[2025-04-04 04:30:30] Production.INFO: regular Advance Subscription   
[2025-04-04 04:30:30] Production.INFO: First Time False 2023-08-30 2025-04-04  
[2025-04-04 04:30:30] Production.INFO: StartDate 2025-04-04 AccountSubscription->StartDate 2023-08-30 EndDate 2025-05-03 00:00:00 AccountSubscription->EndDate 2026-04-04  
[2025-04-04 04:30:30] Production.INFO: days diff - 30 subscription days 30 quarter days 91  
[2025-04-04 04:30:30] Production.INFO: AccountSubscription::getSubscriptionAmount(717,2025-04-04,2025-05-03 00:00:00,,0)  
[2025-04-04 04:30:30] Production.INFO: SubscriptionCharge - 26  
[2025-04-04 04:30:30] Production.INFO: Already Invoice Subscription 0  
[2025-04-04 04:30:30] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(213,1,2,2025-04-04,2025-05-03 00:00:00,Concurrent calling capacity (VoIP's version of "phone lines") of 15,390,26,15,717)  
[2025-04-04 04:30:30] Production.INFO: DiscountAmount 100.000000  
[2025-04-04 04:30:30] Production.INFO: DiscountType Percentage  
[2025-04-04 04:30:30] Production.INFO: SubscriptionCharge 390  
[2025-04-04 04:30:30] Production.INFO: New SubscriptionCharge 0  
[2025-04-04 04:30:30] Production.INFO:  TotalSubscriptionCharge - 0.00  
[2025-04-04 04:30:30] Production.INFO:  ============================Subscription End ================= 

  
[2025-04-04 04:30:30] Production.INFO:  ============================Subscription Start ================= 

  
[2025-04-04 04:30:30] Production.INFO:  SubscriptionID - 4  
[2025-04-04 04:30:30] Production.INFO: isAdvanceSubscription - 4  
[2025-04-04 04:30:30] Production.INFO: SubscriptionStartDate =2025-04-04 - SubscriptionEndDate = 2025-05-03  
[2025-04-04 04:30:30] Production.INFO: NewNextChargeDate =2025-05-03 00:00:00  
[2025-04-04 04:30:30] Production.INFO: EndDate =2025-04-03 00:00:00  
[2025-04-04 04:30:30] Production.INFO: NewEndDate1 =2025-04-04  
[2025-04-04 04:30:30] Production.INFO: SubscriptionDate  
[2025-04-04 04:30:30] Production.INFO: Array
(
    [StartDate] => 2025-04-04
    [EndDate] => 2025-05-03 00:00:00
    [AlreadyCharged] => 0
)
  
[2025-04-04 04:30:30] Production.INFO: New Account Subscription Start  
[2025-04-04 04:30:30] Production.INFO:  AccountSubscription StartDate 2023-08-30 StartDate 2025-03-04  
[2025-04-04 04:30:30] Production.INFO:  SubscriptionID - 2025-04-04=====2025-05-03 00:00:00  
[2025-04-04 04:30:30] Production.INFO:  AccountSubscriptionID - 718 === 2023-08-30=====2026-04-04  
[2025-04-04 04:30:30] Production.INFO: regular Advance Subscription   
[2025-04-04 04:30:30] Production.INFO: First Time False 2023-08-30 2025-04-04  
[2025-04-04 04:30:30] Production.INFO: StartDate 2025-04-04 AccountSubscription->StartDate 2023-08-30 EndDate 2025-05-03 00:00:00 AccountSubscription->EndDate 2026-04-04  
[2025-04-04 04:30:30] Production.INFO: days diff - 30 subscription days 30 quarter days 91  
[2025-04-04 04:30:30] Production.INFO: AccountSubscription::getSubscriptionAmount(718,2025-04-04,2025-05-03 00:00:00,,0)  
[2025-04-04 04:30:30] Production.INFO: SubscriptionCharge - 2.5  
[2025-04-04 04:30:30] Production.INFO: Already Invoice Subscription 0  
[2025-04-04 04:30:30] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(213,1,4,2025-04-04,2025-05-03 00:00:00,e911 address registration (7057414172 - 541 Water St, Peterborough, ON K9H 3M6),2.5,2.5,1,718)  
[2025-04-04 04:30:30] Production.INFO: DiscountAmount 100.000000  
[2025-04-04 04:30:30] Production.INFO: DiscountType Percentage  
[2025-04-04 04:30:30] Production.INFO: SubscriptionCharge 2.5  
[2025-04-04 04:30:30] Production.INFO: New SubscriptionCharge 0  
[2025-04-04 04:30:30] Production.INFO:  TotalSubscriptionCharge - 0.00  
[2025-04-04 04:30:30] Production.INFO:  ============================Subscription End ================= 

  
[2025-04-04 04:30:30] Production.INFO: SUBSCRIPTION Over  
[2025-04-04 04:30:30] Production.INFO: Call prc_getAccountOneOffCharge(213,0,2025-03-04,2025-04-04 23:59:59)  
[2025-04-04 04:30:30] Production.INFO: AccountOneOffCharge 0  
[2025-04-04 04:30:30] Production.INFO: AccountOneOffCharge Over  
[2025-04-04 04:30:30] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start  
[2025-04-04 04:30:30] Production.INFO: New UsageDates 2025-03-04 - 2025-04-03 23:59:59  
[2025-04-04 04:30:30] Production.INFO:  SubTotal 0  
[2025-04-04 04:30:30] Production.INFO:  SubTotalWithouttaxTotal 0  
[2025-04-04 04:30:30] Production.INFO: AccountOneOffCharge Tax Over  
[2025-04-04 04:30:30] Production.INFO:  TotalTax 0  
[2025-04-04 04:30:30] Production.INFO:  InvoiceGrandTotal 0  
[2025-04-04 04:30:30] Production.INFO: InvoiceTaxAmount 0  
[2025-04-04 04:30:30] Production.INFO: GrandTotal 0  
[2025-04-04 04:30:30] Production.INFO: SubTotal 0.00  
[2025-04-04 04:30:30] Production.INFO: TotalDue 0.00  
[2025-04-04 04:30:30] Production.INFO: Reseller ==> 0  
[2025-04-04 04:30:30] Production.INFO: original start date ==>2025-03-04 changed start date ==>2025-03-04 00:00:00 original end date ==>2025-04-03 23:59:59 changed end date ==>2025-04-03 23:59:59  
[2025-04-04 04:30:30] Production.INFO: CALL prc_getInvoiceUsage(1,'213','0','1','2025-03-04 00:00:00','2025-04-03 23:59:59',0)  
[2025-04-04 04:30:30] Production.INFO: PDF Generation start  
[2025-04-04 04:30:30] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/213/Invoices/2025/04/04/Invoice-one-city-peterborough-inv11807-from-03-04-2025-to-04-03-2025-10751.pdf  
[2025-04-04 04:30:30] Production.INFO: On Linux  
[2025-04-04 04:30:31] 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/213/Invoices/2025/04/04/footer-one-city-peterborough-inv11807-from-03-04-2025-to-04-03-2025-10751.html" "/var/www/tmp/1/213/Invoices/2025/04/04/Invoice-one-city-peterborough-inv11807-from-03-04-2025-to-04-03-2025-10751.html" "/var/www/tmp/1/213/Invoices/2025/04/04/Invoice-one-city-peterborough-inv11807-from-03-04-2025-to-04-03-2025-10751.pdf"  
[2025-04-04 04:30:31] Production.INFO:   
[2025-04-04 04:30:31] Production.INFO: /var/www/tmp/1/213/Invoices/2025/04/04/Invoice-one-city-peterborough-inv11807-from-03-04-2025-to-04-03-2025-10751.html  
[2025-04-04 04:30:31] Production.INFO: /var/www/tmp/1/213/Invoices/2025/04/04/header-one-city-peterborough-inv11807-from-03-04-2025-to-04-03-2025-10751.html  
[2025-04-04 04:30:31] Production.INFO: /var/www/tmp/1/213/Invoices/2025/04/04/footer-one-city-peterborough-inv11807-from-03-04-2025-to-04-03-2025-10751.html  
[2025-04-04 04:30:31] Production.INFO: Invoice generation PDF path  
[2025-04-04 04:30:31] Production.INFO: PDF fullPath 1/213/Invoices/2025/04/04/Invoice-one-city-peterborough-inv11807-from-03-04-2025-to-04-03-2025-10751.pdf  
[2025-04-04 04:30:31] Production.INFO: Generate Usage File Start   
[2025-04-04 04:30:31] Production.INFO: Usage File fullPath 1/213/InvoiceUsageFile/2025/04/04/one-city-peterborough-04-03-2025-00-00-00-TO-03-04-2025-23-59-59_4971__12565bc0-112f-11f0-a1e5-3bd3e96e88ea.csv  
[2025-04-04 04:30:32] Production.INFO: Sending Email to Staff over  
[2025-04-04 04:30:32] Production.INFO: Email Status  1  
[2025-04-04 04:30:32] Production.INFO: Sending Email to Customer  
[2025-04-04 04:30:32] Production.INFO: =========== Email Sending over ===========   
[2025-04-04 04:30:32] Production.INFO: =========== Returning as Success =========== AccountID 213  
[2025-04-04 04:30:32] Production.INFO: Invoice::sendInvoice done  
[2025-04-04 04:30:32] Production.INFO: Invoice created - Array
(
    [status] => success
    [message] => Invoice Created Successfully.
    [accounts] => 
)
  
[2025-04-04 04:30:32] Production.INFO: Invoice Committed  AccountID = 213  
[2025-04-04 04:30:32] Production.INFO: =========== Updating  InvoiceDate ===========   
[2025-04-04 04:30:32] Production.INFO: NextInvoice 2025-04-04 2025-05-03  
[2025-04-04 04:30:32] Production.INFO: new dates  
[2025-04-04 04:30:32] Production.INFO: LastInvoiceDate 2025-04-04 NextInvoiceDate 2025-05-04  
[2025-04-04 04:30:32] Production.INFO: LastChargeDate 2025-04-04 NextChargeDate 2025-05-03  
[2025-04-04 04:30:32] Production.INFO: =========== Updated  InvoiceDate ===========   
[2025-04-04 04:30:32] Production.INFO:  ========================== Invoice Send End =============================  
[2025-04-04 04:30:32] Production.INFO: AccountID =258 FirstInvoiceSend 0  
[2025-04-04 04:30:32] Production.INFO: LastInvoiceDate 2025-02-10 NextInvoiceDate 2025-03-10  
[2025-04-04 04:30:32] Production.INFO: LastChargeDate 2025-02-10 NextChargeDate 2025-03-09  
[2025-04-04 04:30:32] Production.INFO: isCDRLoaded Array
(
    [0] => stdClass Object
        (
            [isLoaded] => 1
        )

)
  
[2025-04-04 04:30:32] Production.INFO:  ========================== Invoice Send Start =============================  
[2025-04-04 04:30:32] Production.INFO: Invoice::sendInvoice(1,258,2025-02-10,2025-03-10,billing@onswitchit.ca)  
[2025-04-04 04:30:32] Production.INFO: start Date =2025-02-10 EndDate =2025-03-09 23:59:59  
[2025-04-04 04:30:32] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV  
[2025-04-04 04:30:32] Production.INFO: InvoiceTemplate->Terms =<p><br></p><p><br></p><p>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.</p><p><br></p>  
[2025-04-04 04:30:32] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled  
[2025-04-04 04:30:32] Production.INFO: Invoice::sendInvoice done  
[2025-04-04 04:30:32] Production.INFO: Invoice rollback  AccountID = 258  
[2025-04-04 04:30:32] Production.INFO:  ========================== Error  =============================  
[2025-04-04 04:30:32] Production.INFO: Invoice with Error - Array
(
    [status] => failure
    [message] => Lion Motors Account is already billed on this duration
)
  
[2025-04-04 04:30:32] Production.INFO:  ========================== Invoice Send End =============================  
[2025-04-04 04:30:32] Production.INFO:  ========================== Recurring invoice Start =============================  
[2025-04-04 04:30:32] Production.INFO: recurring invoices ID  
[2025-04-04 04:30:32] Production.INFO:   
[2025-04-04 04:30:32] Production.INFO: recurring errorsArray
(
)
  
[2025-04-04 04:30:32] Production.INFO:  ========================== Recurring invoice End =============================  
[2025-04-04 04:30:32] Production.INFO:  ========================== Job Updated =============================  
[2025-04-04 04:30:33] Production.INFO:  ========================== Job Email Sent =============================  
[2025-04-04 04:30:34] Production.ERROR: **Email Sent Status 1  
[2025-04-04 04:30:34] Production.ERROR: **Email Sent message Email has been sent  
[2025-04-04 04:30:34] Production.ERROR:  CronJobId end6  
[2025-04-04 04:30:34] Production.INFO: ==4565== Releasing lock...  
[2025-04-04 04:30:34] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops#   
[2025-04-04 04:30:34] Production.INFO: 39.75 MB  #Memory Used#