JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr{"__meta":{"id":"X8c5362ebe081b67bb69abb6bbcf797d5","datetime":"2025-03-12 05:35:43","utime":1741757743.4453,"method":"GET","uri":"\/invoice\/1\/sent","ip":"152.58.232.155"},"php":{"version":"8.3.6","interface":"apache2handler"},"messages":{"count":0,"messages":[]},"time":{"start":1741757738.953272,"end":1741757743.445321,"duration":4.492048978805542,"duration_str":"4.49s","measures":[{"label":"Booting","start":1741757738.953272,"relative_start":0,"end":1741757739.021938,"relative_end":1741757739.021938,"duration":0.06866598129272461,"duration_str":"68.67ms","memory":0,"memory_str":"0B","params":[],"collector":"time"},{"label":"Application","start":1741757739.021949,"relative_start":0.06867694854736328,"end":1741757743.445324,"relative_end":2.86102294921875e-6,"duration":4.423374891281128,"duration_str":"4.42s","memory":0,"memory_str":"0B","params":[],"collector":"time"}]},"memory":{"peak_usage":8096232,"peak_usage_str":"8MB"},"exceptions":{"count":0,"exceptions":[]},"views":{"nb_templates":5,"templates":[{"name":"2x email.common_email_template","param_count":null,"params":[],"start":1741757739.135203,"type":"blade","hash":"blade\/var\/www\/dailybooks.com\/resources\/views\/email\/common_email_template.blade.phpemail.common_email_template","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fresources%2Fviews%2Femail%2Fcommon_email_template.blade.php&line=1","ajax":false,"filename":"common_email_template.blade.php","line":"?"},"render_count":2,"name_original":"email.common_email_template"},{"name":"2x email.common","param_count":null,"params":[],"start":1741757739.136406,"type":"blade","hash":"blade\/var\/www\/dailybooks.com\/resources\/views\/email\/common.blade.phpemail.common","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fresources%2Fviews%2Femail%2Fcommon.blade.php&line=1","ajax":false,"filename":"common.blade.php","line":"?"},"render_count":2,"name_original":"email.common"},{"name":"1x mail::themes.default","param_count":null,"params":[],"start":1741757739.161499,"type":"css","hash":"css\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Mail\/resources\/views\/html\/themes\/default.cssmail::themes.default","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fvendor%2Flaravel%2Fframework%2Fsrc%2FIlluminate%2FMail%2Fresources%2Fviews%2Fhtml%2Fthemes%2Fdefault.css&line=1","ajax":false,"filename":"default.css","line":"?"},"render_count":1,"name_original":"mail::themes.default"}]},"route":{"uri":"GET invoice\/{id}\/sent","middleware":"web, verified, auth, XSS, revalidate","controller":"App\\Http\\Controllers\\InvoiceController@sent","namespace":null,"prefix":"","where":[],"as":"invoice.sent","file":"app\/Http\/Controllers\/InvoiceController.php:495-564<\/a>"},"queries":{"nb_statements":18,"nb_failed_statements":0,"accumulated_duration":0.02493,"accumulated_duration_str":"24.93ms","memory_usage":0,"memory_usage_str":null,"statements":[{"sql":"select * from `users` where `id` = 6 limit 1","type":"query","params":[],"bindings":["6"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/EloquentUserProvider.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/EloquentUserProvider.php","line":59},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/SessionGuard.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/SessionGuard.php","line":169},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/GuardHelpers.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/GuardHelpers.php","line":56},{"index":19,"namespace":"middleware","name":"auth","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/Middleware\/Authenticate.php","line":83},{"index":20,"namespace":"middleware","name":"auth","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/Middleware\/Authenticate.php","line":62}],"start":1741757739.025058,"duration":0.00234,"duration_str":"2.34ms","memory":0,"memory_str":null,"filename":"EloquentUserProvider.php:59","source":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/EloquentUserProvider.php:59","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fvendor%2Flaravel%2Fframework%2Fsrc%2FIlluminate%2FAuth%2FEloquentUserProvider.php&line=59","ajax":false,"filename":"EloquentUserProvider.php","line":"59"},"connection":"dailybooks_db","start_percent":0,"width_percent":9.386},{"sql":"select * from `settings` where `created_by` = 6","type":"query","params":[],"bindings":["6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/Utility.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/Utility.php","line":59},{"index":14,"namespace":null,"name":"app\/Models\/Utility.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/Utility.php","line":300},{"index":15,"namespace":"middleware","name":"XSS","file":"\/var\/www\/dailybooks.com\/app\/Http\/Middleware\/XSS.php","line":28},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183},{"index":17,"namespace":"middleware","name":"verified","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/Middleware\/EnsureEmailIsVerified.php","line":41}],"start":1741757739.028703,"duration":0.00046,"duration_str":"460\u03bcs","memory":0,"memory_str":null,"filename":"Utility.php:59","source":"app\/Models\/Utility.php:59","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUtility.php&line=59","ajax":false,"filename":"Utility.php","line":"59"},"connection":"dailybooks_db","start_percent":9.386,"width_percent":1.845},{"sql":"select * from `settings` where `created_by` = 1","type":"query","params":[],"bindings":["1"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/Utility.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/Utility.php","line":61},{"index":14,"namespace":null,"name":"app\/Models\/Utility.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/Utility.php","line":300},{"index":15,"namespace":"middleware","name":"XSS","file":"\/var\/www\/dailybooks.com\/app\/Http\/Middleware\/XSS.php","line":28},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183},{"index":17,"namespace":"middleware","name":"verified","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/Middleware\/EnsureEmailIsVerified.php","line":41}],"start":1741757739.0295029,"duration":0.0004,"duration_str":"400\u03bcs","memory":0,"memory_str":null,"filename":"Utility.php:61","source":"app\/Models\/Utility.php:61","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUtility.php&line=61","ajax":false,"filename":"Utility.php","line":"61"},"connection":"dailybooks_db","start_percent":11.231,"width_percent":1.604},{"sql":"select `permissions`.*, `model_has_permissions`.`model_id` as `pivot_model_id`, `model_has_permissions`.`permission_id` as `pivot_permission_id`, `model_has_permissions`.`model_type` as `pivot_model_type` from `permissions` inner join `model_has_permissions` on `permissions`.`id` = `model_has_permissions`.`permission_id` where `model_has_permissions`.`model_id` = 6 and `model_has_permissions`.`model_type` = 'App\\Models\\User'","type":"query","params":[],"bindings":["6","App\\Models\\User"],"hints":null,"show_copy":false,"backtrace":[{"index":20,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/var\/www\/dailybooks.com\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":326},{"index":21,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/var\/www\/dailybooks.com\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":215},{"index":22,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/var\/www\/dailybooks.com\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":261},{"index":23,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/PermissionRegistrar.php","file":"\/var\/www\/dailybooks.com\/vendor\/spatie\/laravel-permission\/src\/PermissionRegistrar.php","line":129},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/Access\/Gate.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/Access\/Gate.php","line":566}],"start":1741757739.039547,"duration":0.0007,"duration_str":"700\u03bcs","memory":0,"memory_str":null,"filename":"HasPermissions.php:326","source":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php:326","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fvendor%2Fspatie%2Flaravel-permission%2Fsrc%2FTraits%2FHasPermissions.php&line=326","ajax":false,"filename":"HasPermissions.php","line":"326"},"connection":"dailybooks_db","start_percent":12.836,"width_percent":2.808},{"sql":"select `roles`.*, `model_has_roles`.`model_id` as `pivot_model_id`, `model_has_roles`.`role_id` as `pivot_role_id`, `model_has_roles`.`model_type` as `pivot_model_type` from `roles` inner join `model_has_roles` on `roles`.`id` = `model_has_roles`.`role_id` where `model_has_roles`.`model_id` in (6) and `model_has_roles`.`model_type` = 'App\\Models\\User'","type":"query","params":[],"bindings":["App\\Models\\User"],"hints":null,"show_copy":false,"backtrace":[{"index":22,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","file":"\/var\/www\/dailybooks.com\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php","line":227},{"index":23,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/var\/www\/dailybooks.com\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":312},{"index":24,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/var\/www\/dailybooks.com\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":215},{"index":25,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","file":"\/var\/www\/dailybooks.com\/vendor\/spatie\/laravel-permission\/src\/Traits\/HasPermissions.php","line":261},{"index":26,"namespace":null,"name":"vendor\/spatie\/laravel-permission\/src\/PermissionRegistrar.php","file":"\/var\/www\/dailybooks.com\/vendor\/spatie\/laravel-permission\/src\/PermissionRegistrar.php","line":129}],"start":1741757739.041059,"duration":0.00038,"duration_str":"380\u03bcs","memory":0,"memory_str":null,"filename":"HasRoles.php:227","source":"vendor\/spatie\/laravel-permission\/src\/Traits\/HasRoles.php:227","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fvendor%2Fspatie%2Flaravel-permission%2Fsrc%2FTraits%2FHasRoles.php&line=227","ajax":false,"filename":"HasRoles.php","line":"227"},"connection":"dailybooks_db","start_percent":15.644,"width_percent":1.524},{"sql":"select * from `invoices` where `id` = '1' limit 1","type":"query","params":[],"bindings":["1"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/InvoiceController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/InvoiceController.php","line":503},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":262},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":208}],"start":1741757739.042652,"duration":0.00088,"duration_str":"880\u03bcs","memory":0,"memory_str":null,"filename":"InvoiceController.php:503","source":"app\/Http\/Controllers\/InvoiceController.php:503","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FHttp%2FControllers%2FInvoiceController.php&line=503","ajax":false,"filename":"InvoiceController.php","line":"503"},"connection":"dailybooks_db","start_percent":17.168,"width_percent":3.53},{"sql":"update `invoices` set `send_date` = '2025-03-12', `status` = 1, `invoices`.`updated_at` = '2025-03-12 05:35:39' where `id` = 1","type":"query","params":[],"bindings":["2025-03-12","1","2025-03-12 05:35:39","1"],"hints":null,"show_copy":false,"backtrace":[{"index":14,"namespace":null,"name":"app\/Http\/Controllers\/InvoiceController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/InvoiceController.php","line":506},{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":262},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":208}],"start":1741757739.044245,"duration":0.0055,"duration_str":"5.5ms","memory":0,"memory_str":null,"filename":"InvoiceController.php:506","source":"app\/Http\/Controllers\/InvoiceController.php:506","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FHttp%2FControllers%2FInvoiceController.php&line=506","ajax":false,"filename":"InvoiceController.php","line":"506"},"connection":"dailybooks_db","start_percent":20.698,"width_percent":22.062},{"sql":"select * from `customers` where `id` = 1 limit 1","type":"query","params":[],"bindings":["1"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/InvoiceController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/InvoiceController.php","line":508},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":262},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":208}],"start":1741757739.050743,"duration":0.00067,"duration_str":"670\u03bcs","memory":0,"memory_str":null,"filename":"InvoiceController.php:508","source":"app\/Http\/Controllers\/InvoiceController.php:508","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FHttp%2FControllers%2FInvoiceController.php&line=508","ajax":false,"filename":"InvoiceController.php","line":"508"},"connection":"dailybooks_db","start_percent":42.76,"width_percent":2.688},{"sql":"select * from `invoice_products` where `invoice_id` = 1","type":"query","params":[],"bindings":["1"],"hints":null,"show_copy":false,"backtrace":[{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/InvoiceController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/InvoiceController.php","line":517},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":262},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":208}],"start":1741757739.053002,"duration":0.00157,"duration_str":"1.57ms","memory":0,"memory_str":null,"filename":"InvoiceController.php:517","source":"app\/Http\/Controllers\/InvoiceController.php:517","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FHttp%2FControllers%2FInvoiceController.php&line=517","ajax":false,"filename":"InvoiceController.php","line":"517"},"connection":"dailybooks_db","start_percent":45.447,"width_percent":6.298},{"sql":"select * from `product_services` where `product_services`.`id` = 1 limit 1","type":"query","params":[],"bindings":["1"],"hints":null,"show_copy":false,"backtrace":[{"index":20,"namespace":null,"name":"app\/Http\/Controllers\/InvoiceController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/InvoiceController.php","line":519},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":23,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":262},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":208}],"start":1741757739.055598,"duration":0.00064,"duration_str":"640\u03bcs","memory":0,"memory_str":null,"filename":"InvoiceController.php:519","source":"app\/Http\/Controllers\/InvoiceController.php:519","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FHttp%2FControllers%2FInvoiceController.php&line=519","ajax":false,"filename":"InvoiceController.php","line":"519"},"connection":"dailybooks_db","start_percent":51.745,"width_percent":2.567},{"sql":"select * from `transaction_lines` where `reference_id` = 1 and `reference_sub_id` = 1 and `reference` = 'Invoice' limit 1","type":"query","params":[],"bindings":["1","1","Invoice"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/Utility.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/Utility.php","line":5354},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/InvoiceController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/InvoiceController.php","line":541},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":262}],"start":1741757739.056949,"duration":0.00073,"duration_str":"730\u03bcs","memory":0,"memory_str":null,"filename":"Utility.php:5354","source":"app\/Models\/Utility.php:5354","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUtility.php&line=5354","ajax":false,"filename":"Utility.php","line":"5354"},"connection":"dailybooks_db","start_percent":54.312,"width_percent":2.928},{"sql":"insert into `transaction_lines` (`account_id`, `reference`, `reference_id`, `reference_sub_id`, `date`, `credit`, `debit`, `created_by`, `updated_at`, `created_at`) values (162, 'Invoice', 1, 1, '2025-03-12', 20000, 0, 6, '2025-03-12 05:35:39', '2025-03-12 05:35:39')","type":"query","params":[],"bindings":["162","Invoice","1","1","2025-03-12","20000","0","6","2025-03-12 05:35:39","2025-03-12 05:35:39"],"hints":null,"show_copy":false,"backtrace":[{"index":15,"namespace":null,"name":"app\/Models\/Utility.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/Utility.php","line":5373},{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/InvoiceController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/InvoiceController.php","line":541},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":262}],"start":1741757739.0584018,"duration":0.0030299999999999997,"duration_str":"3.03ms","memory":0,"memory_str":null,"filename":"Utility.php:5373","source":"app\/Models\/Utility.php:5373","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUtility.php&line=5373","ajax":false,"filename":"Utility.php","line":"5373"},"connection":"dailybooks_db","start_percent":57.24,"width_percent":12.154},{"sql":"select * from `email_templates` where `name` LIKE 'customer_invoice_sent' limit 1","type":"query","params":[],"bindings":["customer_invoice_sent"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/Utility.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/Utility.php","line":2417},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/InvoiceController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/InvoiceController.php","line":553},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":262}],"start":1741757739.062621,"duration":0.0007,"duration_str":"700\u03bcs","memory":0,"memory_str":null,"filename":"Utility.php:2417","source":"app\/Models\/Utility.php:2417","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUtility.php&line=2417","ajax":false,"filename":"Utility.php","line":"2417"},"connection":"dailybooks_db","start_percent":69.394,"width_percent":2.808},{"sql":"select * from `user_email_templates` where `template_id` = 7 and `user_id` = 6 limit 1","type":"query","params":[],"bindings":["7","6"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/Utility.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/Utility.php","line":2421},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/InvoiceController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/InvoiceController.php","line":553},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":262}],"start":1741757739.0653179,"duration":0.00237,"duration_str":"2.37ms","memory":0,"memory_str":null,"filename":"Utility.php:2421","source":"app\/Models\/Utility.php:2421","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUtility.php&line=2421","ajax":false,"filename":"Utility.php","line":"2421"},"connection":"dailybooks_db","start_percent":72.202,"width_percent":9.507},{"sql":"select * from `settings` where `created_by` = 1","type":"query","params":[],"bindings":["1"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/Utility.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/Utility.php","line":46},{"index":14,"namespace":null,"name":"app\/Models\/Utility.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/Utility.php","line":2429},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/InvoiceController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/InvoiceController.php","line":553},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43}],"start":1741757739.068301,"duration":0.00035999999999999997,"duration_str":"360\u03bcs","memory":0,"memory_str":null,"filename":"Utility.php:46","source":"app\/Models\/Utility.php:46","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUtility.php&line=46","ajax":false,"filename":"Utility.php","line":"46"},"connection":"dailybooks_db","start_percent":81.709,"width_percent":1.444},{"sql":"select * from `email_template_langs` where `parent_id` = 7 and `lang` LIKE 'en' limit 1","type":"query","params":[],"bindings":["7","en"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/Utility.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/Utility.php","line":2446},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/InvoiceController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/InvoiceController.php","line":553},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":43},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":262}],"start":1741757739.070874,"duration":0.0027400000000000002,"duration_str":"2.74ms","memory":0,"memory_str":null,"filename":"Utility.php:2446","source":"app\/Models\/Utility.php:2446","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUtility.php&line=2446","ajax":false,"filename":"Utility.php","line":"2446"},"connection":"dailybooks_db","start_percent":83.153,"width_percent":10.991},{"sql":"select * from `settings` where `created_by` = 1","type":"query","params":[],"bindings":["1"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/Utility.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/Utility.php","line":4434},{"index":14,"namespace":null,"name":"app\/Models\/Utility.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/Utility.php","line":4399},{"index":15,"namespace":"view","name":"email.common","file":"\/var\/www\/dailybooks.com\/resources\/views\/email\/common.blade.php","line":6},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Filesystem\/Filesystem.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Filesystem\/Filesystem.php","line":124},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/PhpEngine.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/PhpEngine.php","line":58}],"start":1741757739.137514,"duration":0.0008100000000000001,"duration_str":"810\u03bcs","memory":0,"memory_str":null,"filename":"Utility.php:4434","source":"app\/Models\/Utility.php:4434","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUtility.php&line=4434","ajax":false,"filename":"Utility.php","line":"4434"},"connection":"dailybooks_db","start_percent":94.144,"width_percent":3.249},{"sql":"select * from `settings` where `created_by` = 1","type":"query","params":[],"bindings":["1"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/Utility.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/Utility.php","line":4434},{"index":14,"namespace":null,"name":"app\/Models\/Utility.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/Utility.php","line":4399},{"index":15,"namespace":"view","name":"email.common","file":"\/var\/www\/dailybooks.com\/resources\/views\/email\/common.blade.php","line":6},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Filesystem\/Filesystem.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Filesystem\/Filesystem.php","line":124},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/PhpEngine.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/PhpEngine.php","line":58}],"start":1741757739.194785,"duration":0.00065,"duration_str":"650\u03bcs","memory":0,"memory_str":null,"filename":"Utility.php:4434","source":"app\/Models\/Utility.php:4434","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUtility.php&line=4434","ajax":false,"filename":"Utility.php","line":"4434"},"connection":"dailybooks_db","start_percent":97.393,"width_percent":2.607}]},"models":{"data":{"App\\Models\\User":{"value":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=1","ajax":false,"filename":"User.php","line":"?"}},"Spatie\\Permission\\Models\\Role":{"value":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fvendor%2Fspatie%2Flaravel-permission%2Fsrc%2FModels%2FRole.php&line=1","ajax":false,"filename":"Role.php","line":"?"}},"App\\Models\\Invoice":{"value":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FInvoice.php&line=1","ajax":false,"filename":"Invoice.php","line":"?"}},"App\\Models\\Customer":{"value":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FCustomer.php&line=1","ajax":false,"filename":"Customer.php","line":"?"}},"App\\Models\\InvoiceProduct":{"value":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FInvoiceProduct.php&line=1","ajax":false,"filename":"InvoiceProduct.php","line":"?"}},"App\\Models\\ProductService":{"value":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FProductService.php&line=1","ajax":false,"filename":"ProductService.php","line":"?"}},"App\\Models\\TransactionLines":{"value":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FTransactionLines.php&line=1","ajax":false,"filename":"TransactionLines.php","line":"?"}},"App\\Models\\EmailTemplate":{"value":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FEmailTemplate.php&line=1","ajax":false,"filename":"EmailTemplate.php","line":"?"}},"App\\Models\\UserEmailTemplate":{"value":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUserEmailTemplate.php&line=1","ajax":false,"filename":"UserEmailTemplate.php","line":"?"}},"App\\Models\\EmailTemplateLang":{"value":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FEmailTemplateLang.php&line=1","ajax":false,"filename":"EmailTemplateLang.php","line":"?"}}},"count":10,"is_counter":true},"symfonymailer_mails":{"count":1,"mails":[{"to":["vue@customer.com"],"subject":"Customer Invoice Sent","headers":"From: saas \r\nTo: vue@customer.com\r\nSubject: Customer Invoice Sent\r\n","body":null,"html":null}]},"gate":{"count":1,"messages":[{"message":"[ability => send invoice, result => true, user => 6, arguments => []]","message_html":"
send invoice<\/span> [\n  \"ability<\/span>\" => \"send invoice<\/span>\"\n  \"result<\/span>\" => true<\/span>\n  \"user<\/span>\" => 6<\/span>\n  \"arguments<\/span>\" => \"[]<\/span>\"\n<\/samp>]\n<\/pre>