[2024-12-31 15:16:03] Production.INFO: ========================== Invoice Send Start ============================= [2024-12-31 15:16:03] Production.INFO: Regular Invoice Regenerate [2024-12-31 15:16:03] Production.INFO: BillingCycleType : monthly_anniversary - StartDate : 2024-12-01 - EndDate : 2024-12-30 23:59:59 [2024-12-31 15:16:03] Production.INFO: Invoice::getAccountUsageTotal(1,63,2024-12-01,2024-12-30 23:59:59) [2024-12-31 15:16:03] Production.INFO: Reseller ==> 0 [2024-12-31 15:16:04] Production.INFO: original start date ==>2024-12-01 changed start date ==>2024-12-01 00:00:00 original end date ==>2024-12-30 23:59:59 changed end date ==>2024-12-30 23:59:59 [2024-12-31 15:16:04] Production.INFO: CompanyGatewayID 1 TotalCharges ==>2.99000000 [2024-12-31 15:16:04] Production.INFO: TotalCharges - 2.99 [2024-12-31 15:16:04] Production.INFO: TotalUsageCharges - 2.99 [2024-12-31 15:16:04] Production.INFO: TotalSMSCharges - 0.00 [2024-12-31 15:16:04] Production.INFO: Usage Over [2024-12-31 15:16:04] Production.INFO: Call prc_getAccountSubscription(63,0) [2024-12-31 15:16:04] Production.INFO: SUBSCRIPTION 2 [2024-12-31 15:16:04] Production.INFO: ============================Subscription Start ================= [2024-12-31 15:16:04] Production.INFO: SubscriptionID - 1 [2024-12-31 15:16:04] Production.INFO: isAdvanceSubscription - 1 [2024-12-31 15:16:04] Production.INFO: SubscriptionStartDate =2024-12-31 - SubscriptionEndDate = 2025-01-30 [2024-12-31 15:16:04] Production.INFO: NewNextChargeDate =2025-01-30 00:00:00 [2024-12-31 15:16:04] Production.INFO: EndDate =2024-12-30 00:00:00 [2024-12-31 15:16:04] Production.INFO: NewEndDate1 =2024-12-31 [2024-12-31 15:16:04] Production.INFO: SubscriptionDate [2024-12-31 15:16:04] Production.INFO: Array ( [StartDate] => 2024-12-31 [EndDate] => 2025-01-30 00:00:00 [AlreadyCharged] => 0 ) [2024-12-31 15:16:04] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2024-12-01 [2024-12-31 15:16:04] Production.INFO: SubscriptionID - 2024-12-31=====2025-01-30 00:00:00 [2024-12-31 15:16:04] Production.INFO: AccountSubscriptionID - 223 === 2018-02-16=====2025-12-31 [2024-12-31 15:16:04] Production.INFO: regular Advance Subscription [2024-12-31 15:16:04] Production.INFO: First Time False 2018-02-16 2024-12-31 [2024-12-31 15:16:04] Production.INFO: StartDate 2024-12-31 AccountSubscription->StartDate 2018-02-16 EndDate 2025-01-30 00:00:00 AccountSubscription->EndDate 2025-12-31 [2024-12-31 15:16:04] Production.INFO: days diff - 31 subscription days 31 quarter days 92 [2024-12-31 15:16:04] Production.INFO: AccountSubscription::getSubscriptionAmount(223,2024-12-31,2025-01-30 00:00:00,,0) [2024-12-31 15:16:04] Production.INFO: SubscriptionCharge - 7.5 [2024-12-31 15:16:04] Production.INFO: Already Invoice Subscription 0 [2024-12-31 15:16:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(63,1,1,2024-12-31,2025-01-30 00:00:00,License for a Pay As You Go Cloud Phone extension,277.5,7.5,37,223) [2024-12-31 15:16:04] Production.INFO: DiscountAmount 0.000000 [2024-12-31 15:16:04] Production.INFO: DiscountType [2024-12-31 15:16:04] Production.INFO: SubscriptionCharge 277.5 [2024-12-31 15:16:04] Production.INFO: New SubscriptionCharge 277.5 [2024-12-31 15:16:04] Production.INFO: TotalSubscriptionCharge - 277.50 [2024-12-31 15:16:04] Production.INFO: ============================Subscription End ================= [2024-12-31 15:16:04] Production.INFO: ============================Subscription Start ================= [2024-12-31 15:16:04] Production.INFO: SubscriptionID - 4 [2024-12-31 15:16:04] Production.INFO: isAdvanceSubscription - 4 [2024-12-31 15:16:04] Production.INFO: SubscriptionStartDate =2024-12-31 - SubscriptionEndDate = 2025-01-30 [2024-12-31 15:16:04] Production.INFO: NewNextChargeDate =2025-01-30 00:00:00 [2024-12-31 15:16:04] Production.INFO: EndDate =2024-12-30 00:00:00 [2024-12-31 15:16:04] Production.INFO: NewEndDate1 =2024-12-31 [2024-12-31 15:16:04] Production.INFO: SubscriptionDate [2024-12-31 15:16:04] Production.INFO: Array ( [StartDate] => 2024-12-31 [EndDate] => 2025-01-30 00:00:00 [AlreadyCharged] => 0 ) [2024-12-31 15:16:04] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2024-12-01 [2024-12-31 15:16:04] Production.INFO: SubscriptionID - 2024-12-31=====2025-01-30 00:00:00 [2024-12-31 15:16:04] Production.INFO: AccountSubscriptionID - 224 === 2018-02-16=====2025-12-31 [2024-12-31 15:16:04] Production.INFO: regular Advance Subscription [2024-12-31 15:16:04] Production.INFO: First Time False 2018-02-16 2024-12-31 [2024-12-31 15:16:04] Production.INFO: StartDate 2024-12-31 AccountSubscription->StartDate 2018-02-16 EndDate 2025-01-30 00:00:00 AccountSubscription->EndDate 2025-12-31 [2024-12-31 15:16:04] Production.INFO: days diff - 31 subscription days 31 quarter days 92 [2024-12-31 15:16:04] Production.INFO: AccountSubscription::getSubscriptionAmount(224,2024-12-31,2025-01-30 00:00:00,,0) [2024-12-31 15:16:04] Production.INFO: SubscriptionCharge - 2.7 [2024-12-31 15:16:04] Production.INFO: Already Invoice Subscription 0 [2024-12-31 15:16:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(63,1,4,2024-12-31,2025-01-30 00:00:00,e911 address registration (14164793951 - 226 LESMILL RD TORONTO, ON M3B2T5),2.7,2.7,1,224) [2024-12-31 15:16:04] Production.INFO: DiscountAmount 0.000000 [2024-12-31 15:16:04] Production.INFO: DiscountType Percentage [2024-12-31 15:16:04] Production.INFO: SubscriptionCharge 2.7 [2024-12-31 15:16:04] Production.INFO: New SubscriptionCharge 2.7 [2024-12-31 15:16:04] Production.INFO: TotalSubscriptionCharge - 2.70 [2024-12-31 15:16:04] Production.INFO: ============================Subscription End ================= [2024-12-31 15:16:04] Production.INFO: SUBSCRIPTION Over [2024-12-31 15:16:04] Production.INFO: Call prc_getAccountOneOffCharge(63,0,2024-12-01,2024-12-31 23:59:59) [2024-12-31 15:16:04] Production.INFO: AccountOneOffCharge 0 [2024-12-31 15:16:04] Production.INFO: AccountOneOffCharge Over [2024-12-31 15:16:04] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2024-12-31 15:16:04] Production.INFO: SubTotal 283.19 [2024-12-31 15:16:04] Production.INFO: SubTotalWithouttaxTotal 0 [2024-12-31 15:16:04] Production.INFO: AccountOneOffCharge Tax Over [2024-12-31 15:16:04] Production.INFO: TotalTax 36.8147 [2024-12-31 15:16:04] Production.INFO: InvoiceGrandTotal 320.0047 [2024-12-31 15:16:04] Production.INFO: InvoiceTaxAmount 36.81 [2024-12-31 15:16:04] Production.INFO: GrandTotal 320 [2024-12-31 15:16:04] Production.INFO: SubTotal 283.19 [2024-12-31 15:16:04] Production.INFO: TotalDue 320.00 [2024-12-31 15:16:04] Production.INFO: PDF Generation start [2024-12-31 15:16:04] Production.INFO: Reseller ==> 0 [2024-12-31 15:16:04] Production.INFO: original start date ==>2024-12-01 changed start date ==>2024-12-01 00:00:00 original end date ==>2024-12-30 23:59:59 changed end date ==>2024-12-30 23:59:59 [2024-12-31 15:16:04] Production.INFO: CALL prc_getInvoiceUsage(1,'63','0','1','2024-12-01 00:00:00','2024-12-30 23:59:59',0) [2024-12-31 15:16:04] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/63/Invoices/2024/12/31/Invoice-clek-inc-inv11279-from-12-01-2024-to-12-30-2024-10202.pdf [2024-12-31 15:16:04] Production.INFO: On Linux [2024-12-31 15:16:07] Production.INFO: /var/www/html/onswitch.neon.service/wkhtmltox/bin/wkhtmltopdf --header-spacing 3 --footer-spacing 1 --header-html --footer-html "/var/www/tmp/1/63/Invoices/2024/12/31/footer-clek-inc-inv11279-from-12-01-2024-to-12-30-2024-10202.html" "/var/www/tmp/1/63/Invoices/2024/12/31/Invoice-clek-inc-inv11279-from-12-01-2024-to-12-30-2024-10202.html" "/var/www/tmp/1/63/Invoices/2024/12/31/Invoice-clek-inc-inv11279-from-12-01-2024-to-12-30-2024-10202.pdf" [2024-12-31 15:16:07] Production.INFO: [2024-12-31 15:16:07] Production.INFO: /var/www/tmp/1/63/Invoices/2024/12/31/Invoice-clek-inc-inv11279-from-12-01-2024-to-12-30-2024-10202.html [2024-12-31 15:16:07] Production.INFO: /var/www/tmp/1/63/Invoices/2024/12/31/header-clek-inc-inv11279-from-12-01-2024-to-12-30-2024-10202.html [2024-12-31 15:16:07] Production.INFO: /var/www/tmp/1/63/Invoices/2024/12/31/footer-clek-inc-inv11279-from-12-01-2024-to-12-30-2024-10202.html [2024-12-31 15:16:07] Production.INFO: Invoice generation PDF path [2024-12-31 15:16:07] Production.INFO: PDF fullPath 1/63/Invoices/2024/12/31/Invoice-clek-inc-inv11279-from-12-01-2024-to-12-30-2024-10202.pdf [2024-12-31 15:16:07] Production.INFO: Generate Usage File Start [2024-12-31 15:16:07] Production.INFO: Usage File fullPath 1/63/InvoiceUsageFile/2024/12/31/cloud-phone-subscriptions-and-charges-01-12-2024-00-00-00-TO-30-12-2024-23-59-59_1681__119e9c00-c7b4-11ef-9286-89003fa163d5.csv [2024-12-31 15:16:07] Production.INFO: Sending Email to Staff over [2024-12-31 15:16:07] Production.INFO: Email Status success [2024-12-31 15:16:07] Production.INFO: Sending Email to Customer [2024-12-31 15:16:07] Production.INFO: =========== Email Sending over =========== [2024-12-31 15:16:07] Production.INFO: =========== Returning as Success =========== AccountID 63 [2024-12-31 15:16:07] Production.INFO: Invoice created - Array ( [message] => Invoice Regenerated Clek Inc. (11279) [status] => success ) [2024-12-31 15:16:07] Production.INFO: Invoice Commited AccountID = 63 [2024-12-31 15:16:07] Production.ERROR: ========================== Invoice Send End ============================= [2024-12-31 15:16:07] Production.ERROR: ========================== Invoice Send Loop End ============================= [2024-12-31 15:16:07] Production.ERROR: count($errors) 0 [2024-12-31 15:16:07] Production.ERROR: jobdata 10390Array ( [JobStatusID] => 3 [JobStatusMessage] => Invoice Recreated Successfully Invoice Regenerated Clek Inc. (11279) ) [2024-12-31 15:16:07] Production.INFO: ========================== Job Updated ============================= [2024-12-31 15:16:07] Production.INFO: ==2789== Releasing lock... [2024-12-31 15:16:07] Production.INFO: regenerateinvoice-command-regenerateinvoice-companyid-1-jobid-10390 #Stops# [2024-12-31 15:16:07] Production.INFO: 36.25 MB #Memory Used#