[2026-05-01 14:25:22] [INFO] Login attempt {"email":"admin@arnika.com","method":"POST","uri":"/billing/public/api/index.php?path=login","ip":"117.235.85.253"}
[2026-05-01 14:25:22] [INFO] Login success {"email":"admin@arnika.com","user_id":1,"method":"POST","uri":"/billing/public/api/index.php?path=login","ip":"117.235.85.253"}
[2026-05-01 14:26:25] [INFO] Vehicle expense created {"expense_date":"2026-05-01","vehicle_number":"RJ 21 TA 2546","expense_type":"Fuel","amount":5000,"method":"POST","uri":"/billing/public/api/index.php?path=vehicles","ip":"117.235.85.253"}
[2026-05-01 14:26:50] [INFO] Vehicle expense created {"expense_date":"2026-05-01","vehicle_number":"RJ 21 TA 2546","expense_type":"Fuel","amount":4500,"method":"POST","uri":"/billing/public/api/index.php?path=vehicles","ip":"117.235.85.253"}
[2026-05-01 14:27:38] [ERROR] Unhandled exception {"method":"GET","uri":"/billing/public/api/index.php?path=reports%2Fexpenses%2F3%2Fpdf","ip":"117.235.85.253","exception":"RuntimeException","message":"Browser-based PDF rendering is required so report view and print keep the same template format. Install local Edge or Chrome on the server.","file":"/home/safefamilyco/billing.safefamily.co.in/billing/src/pdf_reports.php","line":181,"trace":"#0 /home/safefamilyco/billing.safefamily.co.in/billing/src/pdf_reports.php(239): render_html_to_pdf_bytes_or_fail('<!DOCTYPE html>...')\n#1 /home/safefamilyco/billing.safefamily.co.in/billing/public/api/index.php(375): pdf_output_report('Expense Report', Array, Array, Array, true, 'expense-report-...')\n#2 {main}"}
[2026-05-01 14:27:40] [ERROR] Unhandled exception {"method":"GET","uri":"/billing/public/api/index.php?path=reports%2Fexpenses%2F4%2Fpdf","ip":"117.235.85.253","exception":"RuntimeException","message":"Browser-based PDF rendering is required so report view and print keep the same template format. Install local Edge or Chrome on the server.","file":"/home/safefamilyco/billing.safefamily.co.in/billing/src/pdf_reports.php","line":181,"trace":"#0 /home/safefamilyco/billing.safefamily.co.in/billing/src/pdf_reports.php(239): render_html_to_pdf_bytes_or_fail('<!DOCTYPE html>...')\n#1 /home/safefamilyco/billing.safefamily.co.in/billing/public/api/index.php(375): pdf_output_report('Expense Report', Array, Array, Array, true, 'expense-report-...')\n#2 {main}"}
[2026-05-01 14:29:01] [INFO] Invoice create request {"payload":{"invoice_date":"2026-05-01","client_id":2,"billing_month":"March 2026","service_order_no":"1","service_order_date":"2020-01-01","items":[{"description":"SUPERVISOR","sac_code":"998514","persons":1,"duty_days":26,"total_days":26,"overtime":10,"amount":15000}],"charge_items":[{"detail":"Service Charge","percentage":3.850000000000000088817841970012523233890533447265625}],"gst_items":[]},"method":"POST","uri":"/billing/public/api/index.php?path=invoices","ip":"117.235.85.253"}
[2026-05-01 14:29:01] [INFO] Invoice create response {"invoice_id":8,"response":{"message":"Invoice created","invoice_no":"8","amount":15000,"gst":0,"total_amount":15577.5},"summary":{"client_id":2,"billing_month":"March 2026","item_count":1,"charge_count":1,"gst_count":0},"method":"POST","uri":"/billing/public/api/index.php?path=invoices","ip":"117.235.85.253"}
[2026-05-01 14:29:14] [ERROR] Unhandled exception {"method":"GET","uri":"/billing/public/api/index.php?path=reports%2Finvoices%2F7%2Fpdf","ip":"117.235.85.253","exception":"RuntimeException","message":"Browser-based PDF rendering is required so report view and print keep the same template format. Install local Edge or Chrome on the server.","file":"/home/safefamilyco/billing.safefamily.co.in/billing/src/pdf_reports.php","line":181,"trace":"#0 /home/safefamilyco/billing.safefamily.co.in/billing/src/pdf_reports.php(239): render_html_to_pdf_bytes_or_fail('<!DOCTYPE html>...')\n#1 /home/safefamilyco/billing.safefamily.co.in/billing/public/api/index.php(280): pdf_output_report('Invoice Report', Array, Array, Array, true, '7.pdf')\n#2 {main}"}
[2026-05-01 14:31:25] [ERROR] Unhandled exception {"method":"GET","uri":"/billing/public/api/index.php?path=reports%2Fpayments%2F111%2Fpdf","ip":"117.235.85.253","exception":"RuntimeException","message":"Browser-based PDF rendering is required so report view and print keep the same template format. Install local Edge or Chrome on the server.","file":"/home/safefamilyco/billing.safefamily.co.in/billing/src/pdf_reports.php","line":181,"trace":"#0 /home/safefamilyco/billing.safefamily.co.in/billing/src/pdf_reports.php(239): render_html_to_pdf_bytes_or_fail('<!DOCTYPE html>...')\n#1 /home/safefamilyco/billing.safefamily.co.in/billing/public/api/index.php(328): pdf_output_report('Payment Report', Array, Array, Array, true, 'payment-report-...')\n#2 {main}"}
[2026-05-01 14:32:42] [INFO] Vehicle expense created {"expense_date":"2026-05-15","vehicle_number":"RJ 21 TA 2546","expense_type":"Service","amount":5000,"method":"POST","uri":"/billing/public/api/index.php?path=vehicles","ip":"117.235.85.253"}
[2026-05-01 14:33:37] [INFO] Vehicle expense updated {"id":5,"vehicle_number":"RJ 21 TA 2546","expense_type":"Service","amount":5000,"method":"PUT","uri":"/billing/public/api/index.php?path=vehicles%2F5","ip":"117.235.85.253"}
