[2025-02-09 19:05:03] Production.INFO: ========================== Invoice Send Start ============================= [2025-02-09 19:05:03] Production.INFO: Regular Invoice Regenerate [2025-02-09 19:05:03] Production.INFO: BillingCycleType : monthly_anniversary - StartDate : 2025-01-21 - EndDate : 2025-02-07 23:59:59 [2025-02-09 19:05:03] Production.INFO: Invoice::getAccountUsageTotal(1,253,2025-01-21,2025-02-07 23:59:59) [2025-02-09 19:05:03] Production.INFO: Reseller ==> 0 [2025-02-09 19:05:04] Production.INFO: original start date ==>2025-01-21 changed start date ==>2025-01-21 00:00:00 original end date ==>2025-02-07 23:59:59 changed end date ==>2025-02-07 23:59:59 [2025-02-09 19:05:04] Production.INFO: TotalCharges - 0 [2025-02-09 19:05:04] Production.INFO: TotalUsageCharges - 0.00 [2025-02-09 19:05:04] Production.INFO: TotalSMSCharges - 0.00 [2025-02-09 19:05:04] Production.INFO: Usage Over [2025-02-09 19:05:04] Production.INFO: Call prc_getAccountSubscription(253,0) [2025-02-09 19:05:04] Production.INFO: SUBSCRIPTION 4 [2025-02-09 19:05:04] Production.INFO: ============================Subscription Start ================= [2025-02-09 19:05:04] Production.INFO: SubscriptionID - 65 [2025-02-09 19:05:04] Production.INFO: isAdvanceSubscription - 65 [2025-02-09 19:05:04] Production.INFO: SubscriptionStartDate =2025-02-08 - SubscriptionEndDate = 2025-03-07 [2025-02-09 19:05:04] Production.INFO: NewNextChargeDate =2025-03-07 00:00:00 [2025-02-09 19:05:04] Production.INFO: SubscriptionDate [2025-02-09 19:05:04] Production.INFO: Array ( [StartDate] => 2025-02-08 [EndDate] => 2025-03-07 [AlreadyCharged] => 0 ) [2025-02-09 19:05:04] Production.INFO: AccountSubscription StartDate 2025-03-08 StartDate 2025-01-21 [2025-02-09 19:05:04] Production.INFO: First Time + Advance Billing - Yes [2025-02-09 19:05:04] Production.INFO: StartDate 2025-01-21 - EndDate 2025-02-07 [2025-02-09 19:05:04] Production.INFO: ACStartDate 2025-03-08 - ACEndDate 2026-02-09 [2025-02-09 19:05:04] Production.INFO: SubscriptionID - 2025-02-08=====2025-03-07 [2025-02-09 19:05:04] Production.INFO: AccountSubscriptionID - 1264 === 2025-03-08=====2026-02-09 [2025-02-09 19:05:04] Production.INFO: ============================Subscription End ================= [2025-02-09 19:05:04] Production.INFO: ============================Subscription Start ================= [2025-02-09 19:05:04] Production.INFO: SubscriptionID - 68 [2025-02-09 19:05:04] Production.INFO: isAdvanceSubscription - 68 [2025-02-09 19:05:04] Production.INFO: SubscriptionStartDate =2025-02-08 - SubscriptionEndDate = 2025-03-07 [2025-02-09 19:05:04] Production.INFO: NewNextChargeDate =2025-03-07 00:00:00 [2025-02-09 19:05:04] Production.INFO: SubscriptionDate [2025-02-09 19:05:04] Production.INFO: Array ( [StartDate] => 2025-02-08 [EndDate] => 2025-03-07 [AlreadyCharged] => 0 ) [2025-02-09 19:05:04] Production.INFO: AccountSubscription StartDate 2025-03-08 StartDate 2025-01-21 [2025-02-09 19:05:04] Production.INFO: First Time + Advance Billing - Yes [2025-02-09 19:05:04] Production.INFO: StartDate 2025-01-21 - EndDate 2025-02-07 [2025-02-09 19:05:04] Production.INFO: ACStartDate 2025-03-08 - ACEndDate 2026-02-09 [2025-02-09 19:05:04] Production.INFO: SubscriptionID - 2025-02-08=====2025-03-07 [2025-02-09 19:05:04] Production.INFO: AccountSubscriptionID - 1265 === 2025-03-08=====2026-02-09 [2025-02-09 19:05:04] Production.INFO: ============================Subscription End ================= [2025-02-09 19:05:04] Production.INFO: ============================Subscription Start ================= [2025-02-09 19:05:04] Production.INFO: SubscriptionID - 4 [2025-02-09 19:05:04] Production.INFO: isAdvanceSubscription - 4 [2025-02-09 19:05:04] Production.INFO: SubscriptionStartDate =2025-02-08 - SubscriptionEndDate = 2025-03-07 [2025-02-09 19:05:04] Production.INFO: NewNextChargeDate =2025-03-07 00:00:00 [2025-02-09 19:05:04] Production.INFO: SubscriptionDate [2025-02-09 19:05:04] Production.INFO: Array ( [StartDate] => 2025-02-08 [EndDate] => 2025-03-07 [AlreadyCharged] => 0 ) [2025-02-09 19:05:04] Production.INFO: AccountSubscription StartDate 2025-03-08 StartDate 2025-01-21 [2025-02-09 19:05:04] Production.INFO: First Time + Advance Billing - Yes [2025-02-09 19:05:04] Production.INFO: StartDate 2025-01-21 - EndDate 2025-02-07 [2025-02-09 19:05:04] Production.INFO: ACStartDate 2025-03-08 - ACEndDate 2026-02-09 [2025-02-09 19:05:04] Production.INFO: SubscriptionID - 2025-02-08=====2025-03-07 [2025-02-09 19:05:04] Production.INFO: AccountSubscriptionID - 1266 === 2025-03-08=====2026-02-09 [2025-02-09 19:05:04] Production.INFO: ============================Subscription End ================= [2025-02-09 19:05:04] Production.INFO: ============================Subscription Start ================= [2025-02-09 19:05:04] Production.INFO: SubscriptionID - 4 [2025-02-09 19:05:04] Production.INFO: isAdvanceSubscription - 4 [2025-02-09 19:05:04] Production.INFO: SubscriptionStartDate =2025-02-08 - SubscriptionEndDate = 2025-03-07 [2025-02-09 19:05:04] Production.INFO: NewNextChargeDate =2025-03-07 00:00:00 [2025-02-09 19:05:04] Production.INFO: SubscriptionDate [2025-02-09 19:05:04] Production.INFO: Array ( [StartDate] => 2025-02-08 [EndDate] => 2025-03-07 [AlreadyCharged] => 0 ) [2025-02-09 19:05:04] Production.INFO: AccountSubscription StartDate 2025-03-08 StartDate 2025-01-21 [2025-02-09 19:05:04] Production.INFO: First Time + Advance Billing - Yes [2025-02-09 19:05:04] Production.INFO: StartDate 2025-01-21 - EndDate 2025-02-07 [2025-02-09 19:05:04] Production.INFO: ACStartDate 2025-03-08 - ACEndDate 2026-02-09 [2025-02-09 19:05:04] Production.INFO: SubscriptionID - 2025-02-08=====2025-03-07 [2025-02-09 19:05:04] Production.INFO: AccountSubscriptionID - 1267 === 2025-03-08=====2026-02-09 [2025-02-09 19:05:04] Production.INFO: ============================Subscription End ================= [2025-02-09 19:05:04] Production.INFO: SUBSCRIPTION Over [2025-02-09 19:05:04] Production.INFO: Call prc_getAccountOneOffCharge(253,0,2025-01-21,2025-02-08 23:59:59) [2025-02-09 19:05:04] Production.INFO: AccountOneOffCharge 0 [2025-02-09 19:05:04] Production.INFO: AccountOneOffCharge Over [2025-02-09 19:05:04] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-02-09 19:05:04] Production.INFO: SubTotal 0 [2025-02-09 19:05:04] Production.INFO: SubTotalWithouttaxTotal 0 [2025-02-09 19:05:04] Production.INFO: AccountOneOffCharge Tax Over [2025-02-09 19:05:04] Production.INFO: TotalTax 0 [2025-02-09 19:05:04] Production.INFO: InvoiceGrandTotal 0 [2025-02-09 19:05:04] Production.INFO: InvoiceTaxAmount 0 [2025-02-09 19:05:04] Production.INFO: GrandTotal 0 [2025-02-09 19:05:04] Production.INFO: SubTotal 0.00 [2025-02-09 19:05:04] Production.INFO: TotalDue 0.00 [2025-02-09 19:05:04] Production.INFO: PDF Generation start [2025-02-09 19:05:04] Production.INFO: Reseller ==> 0 [2025-02-09 19:05:04] Production.INFO: original start date ==>2025-01-21 changed start date ==>2025-01-21 00:00:00 original end date ==>2025-02-07 23:59:59 changed end date ==>2025-02-07 23:59:59 [2025-02-09 19:05:04] Production.INFO: CALL prc_getInvoiceUsage(1,'253','0','1','2025-01-21 00:00:00','2025-02-07 23:59:59',0) [2025-02-09 19:05:04] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/253/Invoices/2025/02/09/Invoice-pharmasave-toronto-east-inv11500-from-01-21-2025-to-02-07-2025-10435.pdf [2025-02-09 19:05:04] Production.INFO: On Linux [2025-02-09 19:05: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/253/Invoices/2025/02/09/footer-pharmasave-toronto-east-inv11500-from-01-21-2025-to-02-07-2025-10435.html" "/var/www/tmp/1/253/Invoices/2025/02/09/Invoice-pharmasave-toronto-east-inv11500-from-01-21-2025-to-02-07-2025-10435.html" "/var/www/tmp/1/253/Invoices/2025/02/09/Invoice-pharmasave-toronto-east-inv11500-from-01-21-2025-to-02-07-2025-10435.pdf" [2025-02-09 19:05:06] Production.INFO: [2025-02-09 19:05:06] Production.INFO: /var/www/tmp/1/253/Invoices/2025/02/09/Invoice-pharmasave-toronto-east-inv11500-from-01-21-2025-to-02-07-2025-10435.html [2025-02-09 19:05:06] Production.INFO: /var/www/tmp/1/253/Invoices/2025/02/09/header-pharmasave-toronto-east-inv11500-from-01-21-2025-to-02-07-2025-10435.html [2025-02-09 19:05:06] Production.INFO: /var/www/tmp/1/253/Invoices/2025/02/09/footer-pharmasave-toronto-east-inv11500-from-01-21-2025-to-02-07-2025-10435.html [2025-02-09 19:05:06] Production.INFO: Invoice generation PDF path [2025-02-09 19:05:06] Production.INFO: PDF fullPath 1/253/Invoices/2025/02/09/Invoice-pharmasave-toronto-east-inv11500-from-01-21-2025-to-02-07-2025-10435.pdf [2025-02-09 19:05:06] Production.INFO: Generate Usage File Start [2025-02-09 19:05:06] Production.INFO: Usage File fullPath 1/253/InvoiceUsageFile/2025/02/09/pharmasave-toronto-east-21-01-2025-00-00-00-TO-07-02-2025-23-59-59_9911__af08f620-e742-11ef-be93-5d699a907dfc.csv [2025-02-09 19:05:06] Production.INFO: Sending Email to Staff over [2025-02-09 19:05:06] Production.INFO: Email Status success [2025-02-09 19:05:06] Production.INFO: Sending Email to Customer [2025-02-09 19:05:06] Production.INFO: =========== Email Sending over =========== [2025-02-09 19:05:06] Production.INFO: =========== Returning as Success =========== AccountID 253 [2025-02-09 19:05:06] Production.INFO: Invoice created - Array ( [message] => Invoice Regenerated Pharmasave (Toronto East) (11500) [status] => success ) [2025-02-09 19:05:06] Production.INFO: Invoice Commited AccountID = 253 [2025-02-09 19:05:06] Production.ERROR: ========================== Invoice Send End ============================= [2025-02-09 19:05:06] Production.ERROR: ========================== Invoice Send Loop End ============================= [2025-02-09 19:05:06] Production.ERROR: count($errors) 0 [2025-02-09 19:05:06] Production.ERROR: jobdata 10628Array ( [JobStatusID] => 3 [JobStatusMessage] => Invoice Recreated Successfully Invoice Regenerated Pharmasave (Toronto East) (11500) ) [2025-02-09 19:05:06] Production.INFO: ========================== Job Updated ============================= [2025-02-09 19:05:06] Production.INFO: ==27855== Releasing lock... [2025-02-09 19:05:06] Production.INFO: regenerateinvoice-command-regenerateinvoice-companyid-1-jobid-10628 #Stops# [2025-02-09 19:05:06] Production.INFO: 35 MB #Memory Used#