JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr{"__meta":{"id":"Xb8c6f7c417a02eecc929162418c09475","datetime":"2025-03-12 13:04:05","utime":1741764845.460881,"method":"GET","uri":"\/account-dashboard","ip":"152.58.232.155"},"php":{"version":"8.3.6","interface":"apache2handler"},"messages":{"count":4,"messages":[{"message":"[13:04:05] LOG.warning: explode(): Passing null to parameter #2 ($string) of type string is deprecated in \/var\/www\/dailybooks.com\/app\/Models\/Invoice.php on line 105","message_html":null,"is_string":false,"label":"warning","time":1741764845.193236,"xdebug_link":null,"collector":"log"},{"message":"[13:04:05] LOG.warning: explode(): Passing null to parameter #2 ($string) of type string is deprecated in \/var\/www\/dailybooks.com\/app\/Models\/Invoice.php on line 105","message_html":null,"is_string":false,"label":"warning","time":1741764845.193359,"xdebug_link":null,"collector":"log"},{"message":"[13:04:05] LOG.warning: explode(): Passing null to parameter #2 ($string) of type string is deprecated in \/var\/www\/dailybooks.com\/app\/Models\/Invoice.php on line 105","message_html":null,"is_string":false,"label":"warning","time":1741764845.394908,"xdebug_link":null,"collector":"log"},{"message":"[13:04:05] LOG.warning: explode(): Passing null to parameter #2 ($string) of type string is deprecated in \/var\/www\/dailybooks.com\/app\/Models\/Invoice.php on line 105","message_html":null,"is_string":false,"label":"warning","time":1741764845.396072,"xdebug_link":null,"collector":"log"}]},"time":{"start":1741764845.042362,"end":1741764845.460906,"duration":0.41854405403137207,"duration_str":"419ms","measures":[{"label":"Booting","start":1741764845.042362,"relative_start":0,"end":1741764845.132023,"relative_end":1741764845.132023,"duration":0.0896611213684082,"duration_str":"89.66ms","memory":0,"memory_str":"0B","params":[],"collector":"time"},{"label":"Application","start":1741764845.132039,"relative_start":0.08967709541320801,"end":1741764845.460909,"relative_end":2.86102294921875e-6,"duration":0.3288698196411133,"duration_str":"329ms","memory":0,"memory_str":"0B","params":[],"collector":"time"}]},"memory":{"peak_usage":8573568,"peak_usage_str":"8MB"},"exceptions":{"count":0,"exceptions":[]},"views":{"nb_templates":7,"templates":[{"name":"1x dashboard.account-dashboard","param_count":null,"params":[],"start":1741764845.368423,"type":"blade","hash":"blade\/var\/www\/dailybooks.com\/resources\/views\/dashboard\/account-dashboard.blade.phpdashboard.account-dashboard","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fresources%2Fviews%2Fdashboard%2Faccount-dashboard.blade.php&line=1","ajax":false,"filename":"account-dashboard.blade.php","line":"?"},"render_count":1,"name_original":"dashboard.account-dashboard"},{"name":"1x layouts.admin","param_count":null,"params":[],"start":1741764845.399158,"type":"blade","hash":"blade\/var\/www\/dailybooks.com\/resources\/views\/layouts\/admin.blade.phplayouts.admin","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fresources%2Fviews%2Flayouts%2Fadmin.blade.php&line=1","ajax":false,"filename":"admin.blade.php","line":"?"},"render_count":1,"name_original":"layouts.admin"},{"name":"1x partials.admin.menu","param_count":null,"params":[],"start":1741764845.402122,"type":"blade","hash":"blade\/var\/www\/dailybooks.com\/resources\/views\/partials\/admin\/menu.blade.phppartials.admin.menu","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fresources%2Fviews%2Fpartials%2Fadmin%2Fmenu.blade.php&line=1","ajax":false,"filename":"menu.blade.php","line":"?"},"render_count":1,"name_original":"partials.admin.menu"},{"name":"1x partials.admin.header","param_count":null,"params":[],"start":1741764845.447043,"type":"blade","hash":"blade\/var\/www\/dailybooks.com\/resources\/views\/partials\/admin\/header.blade.phppartials.admin.header","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fresources%2Fviews%2Fpartials%2Fadmin%2Fheader.blade.php&line=1","ajax":false,"filename":"header.blade.php","line":"?"},"render_count":1,"name_original":"partials.admin.header"},{"name":"1x partials.admin.footer","param_count":null,"params":[],"start":1741764845.456023,"type":"blade","hash":"blade\/var\/www\/dailybooks.com\/resources\/views\/partials\/admin\/footer.blade.phppartials.admin.footer","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fresources%2Fviews%2Fpartials%2Fadmin%2Ffooter.blade.php&line=1","ajax":false,"filename":"footer.blade.php","line":"?"},"render_count":1,"name_original":"partials.admin.footer"},{"name":"1x layouts.cookie_consent","param_count":null,"params":[],"start":1741764845.457309,"type":"blade","hash":"blade\/var\/www\/dailybooks.com\/resources\/views\/layouts\/cookie_consent.blade.phplayouts.cookie_consent","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fresources%2Fviews%2Flayouts%2Fcookie_consent.blade.php&line=1","ajax":false,"filename":"cookie_consent.blade.php","line":"?"},"render_count":1,"name_original":"layouts.cookie_consent"},{"name":"1x Chatify::layouts.footerLinks","param_count":null,"params":[],"start":1741764845.457609,"type":"blade","hash":"blade\/var\/www\/dailybooks.com\/resources\/views\/vendor\/Chatify\/layouts\/footerLinks.blade.phpChatify::layouts.footerLinks","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fresources%2Fviews%2Fvendor%2FChatify%2Flayouts%2FfooterLinks.blade.php&line=1","ajax":false,"filename":"footerLinks.blade.php","line":"?"},"render_count":1,"name_original":"Chatify::layouts.footerLinks"}]},"route":{"uri":"GET account-dashboard","middleware":"web, verified, auth, XSS, revalidate","controller":"App\\Http\\Controllers\\DashboardController@account_dashboard_index","namespace":null,"prefix":"","where":[],"as":"dashboard","file":"app\/Http\/Controllers\/DashboardController.php:80-180<\/a>"},"queries":{"nb_statements":168,"nb_failed_statements":0,"accumulated_duration":0.14304000000000003,"accumulated_duration_str":"143ms","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":1741764845.137216,"duration":0.00387,"duration_str":"3.87ms","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":2.706},{"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":34},{"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":1741764845.142281,"duration":0.00047,"duration_str":"470\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":2.706,"width_percent":0.329},{"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":1741764845.152484,"duration":0.00073,"duration_str":"730\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":3.034,"width_percent":0.51},{"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":1741764845.154026,"duration":0.0005,"duration_str":"500\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":3.544,"width_percent":0.35},{"sql":"select * from `revenues` where `created_by` = 6 order by `id` desc limit 5","type":"query","params":[],"bindings":["6"],"hints":null,"show_copy":false,"backtrace":[{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":91},{"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":1741764845.158164,"duration":0.00409,"duration_str":"4.09ms","memory":0,"memory_str":null,"filename":"DashboardController.php:91","source":"app\/Http\/Controllers\/DashboardController.php:91","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FHttp%2FControllers%2FDashboardController.php&line=91","ajax":false,"filename":"DashboardController.php","line":"91"},"connection":"dailybooks_db","start_percent":3.894,"width_percent":2.859},{"sql":"select * from `payments` where `created_by` = 6 order by `id` desc limit 5","type":"query","params":[],"bindings":["6"],"hints":null,"show_copy":false,"backtrace":[{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":92},{"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":1741764845.164038,"duration":0.00281,"duration_str":"2.81ms","memory":0,"memory_str":null,"filename":"DashboardController.php:92","source":"app\/Http\/Controllers\/DashboardController.php:92","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FHttp%2FControllers%2FDashboardController.php&line=92","ajax":false,"filename":"DashboardController.php","line":"92"},"connection":"dailybooks_db","start_percent":6.753,"width_percent":1.964},{"sql":"select * from `product_service_categories` where `created_by` = 6 and `type` = 'income'","type":"query","params":[],"bindings":["6","income"],"hints":null,"show_copy":false,"backtrace":[{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":96},{"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":1741764845.169288,"duration":0.00249,"duration_str":"2.49ms","memory":0,"memory_str":null,"filename":"DashboardController.php:96","source":"app\/Http\/Controllers\/DashboardController.php:96","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FHttp%2FControllers%2FDashboardController.php&line=96","ajax":false,"filename":"DashboardController.php","line":"96"},"connection":"dailybooks_db","start_percent":8.718,"width_percent":1.741},{"sql":"select sum(`amount`) as aggregate from `revenues` where `revenues`.`category_id` = 2 and `revenues`.`category_id` is not null and `created_by` = 6 and YEAR(date) ='2025'","type":"query","params":[],"bindings":["2","6","2025"],"hints":null,"show_copy":false,"backtrace":[{"index":19,"namespace":null,"name":"app\/Models\/ProductServiceCategory.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/ProductServiceCategory.php","line":71},{"index":20,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":104},{"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}],"start":1741764845.173691,"duration":0.00195,"duration_str":"1.95ms","memory":0,"memory_str":null,"filename":"ProductServiceCategory.php:71","source":"app\/Models\/ProductServiceCategory.php:71","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FProductServiceCategory.php&line=71","ajax":false,"filename":"ProductServiceCategory.php","line":"71"},"connection":"dailybooks_db","start_percent":10.459,"width_percent":1.363},{"sql":"select * from `invoices` where `invoices`.`category_id` = 2 and `invoices`.`category_id` is not null","type":"query","params":[],"bindings":["2"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/ProductServiceCategory.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/ProductServiceCategory.php","line":72},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":104},{"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":1741764845.178104,"duration":0.00296,"duration_str":"2.96ms","memory":0,"memory_str":null,"filename":"ProductServiceCategory.php:72","source":"app\/Models\/ProductServiceCategory.php:72","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FProductServiceCategory.php&line=72","ajax":false,"filename":"ProductServiceCategory.php","line":"72"},"connection":"dailybooks_db","start_percent":11.822,"width_percent":2.069},{"sql":"select * from `invoice_products` where `invoice_products`.`invoice_id` in (1, 2, 3)","type":"query","params":[],"bindings":[],"hints":null,"show_copy":false,"backtrace":[{"index":21,"namespace":null,"name":"app\/Models\/ProductServiceCategory.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/ProductServiceCategory.php","line":72},{"index":22,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":104},{"index":23,"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":24,"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":25,"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":1741764845.183416,"duration":0.00298,"duration_str":"2.98ms","memory":0,"memory_str":null,"filename":"ProductServiceCategory.php:72","source":"app\/Models\/ProductServiceCategory.php:72","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FProductServiceCategory.php&line=72","ajax":false,"filename":"ProductServiceCategory.php","line":"72"},"connection":"dailybooks_db","start_percent":13.891,"width_percent":2.083},{"sql":"select * from `taxes`","type":"query","params":[],"bindings":[],"hints":null,"show_copy":false,"backtrace":[{"index":18,"namespace":null,"name":"app\/Models\/Utility.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/Utility.php","line":774},{"index":19,"namespace":null,"name":"app\/Models\/Invoice.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/Invoice.php","line":99},{"index":20,"namespace":null,"name":"app\/Models\/Invoice.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/Invoice.php","line":67},{"index":26,"namespace":null,"name":"app\/Models\/ProductServiceCategory.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/ProductServiceCategory.php","line":73},{"index":27,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":104}],"start":1741764845.1902452,"duration":0.0024,"duration_str":"2.4ms","memory":0,"memory_str":null,"filename":"Utility.php:774","source":"app\/Models\/Utility.php:774","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUtility.php&line=774","ajax":false,"filename":"Utility.php","line":"774"},"connection":"dailybooks_db","start_percent":15.975,"width_percent":1.678},{"sql":"select * from `product_service_categories` where `created_by` = 6 and `type` = 'expense'","type":"query","params":[],"bindings":["6","expense"],"hints":null,"show_copy":false,"backtrace":[{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":112},{"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":1741764845.1935768,"duration":0.00061,"duration_str":"610\u03bcs","memory":0,"memory_str":null,"filename":"DashboardController.php:112","source":"app\/Http\/Controllers\/DashboardController.php:112","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FHttp%2FControllers%2FDashboardController.php&line=112","ajax":false,"filename":"DashboardController.php","line":"112"},"connection":"dailybooks_db","start_percent":17.652,"width_percent":0.426},{"sql":"select sum(`amount`) as aggregate from `payments` where `payments`.`category_id` = 3 and `payments`.`category_id` is not null and `created_by` = 6 and YEAR(date) ='2025'","type":"query","params":[],"bindings":["3","6","2025"],"hints":null,"show_copy":false,"backtrace":[{"index":19,"namespace":null,"name":"app\/Models\/ProductServiceCategory.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/ProductServiceCategory.php","line":86},{"index":20,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":119},{"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}],"start":1741764845.1948888,"duration":0.00058,"duration_str":"580\u03bcs","memory":0,"memory_str":null,"filename":"ProductServiceCategory.php:86","source":"app\/Models\/ProductServiceCategory.php:86","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FProductServiceCategory.php&line=86","ajax":false,"filename":"ProductServiceCategory.php","line":"86"},"connection":"dailybooks_db","start_percent":18.079,"width_percent":0.405},{"sql":"select * from `bills` where `bills`.`category_id` = 3 and `bills`.`category_id` is not null","type":"query","params":[],"bindings":["3"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/ProductServiceCategory.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/ProductServiceCategory.php","line":88},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":119},{"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":1741764845.197536,"duration":0.00319,"duration_str":"3.19ms","memory":0,"memory_str":null,"filename":"ProductServiceCategory.php:88","source":"app\/Models\/ProductServiceCategory.php:88","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FProductServiceCategory.php&line=88","ajax":false,"filename":"ProductServiceCategory.php","line":"88"},"connection":"dailybooks_db","start_percent":18.484,"width_percent":2.23},{"sql":"select sum(amount) amount from `revenues` where `created_by` = 6 and year(`date`) = '2025' and month(`date`) = 1 limit 1","type":"query","params":[],"bindings":["6","2025","1"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":702},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.203512,"duration":0.00109,"duration_str":"1.09ms","memory":0,"memory_str":null,"filename":"User.php:702","source":"app\/Models\/User.php:702","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=702","ajax":false,"filename":"User.php","line":"702"},"connection":"dailybooks_db","start_percent":20.714,"width_percent":0.762},{"sql":"select `invoice_products`.`invoice_id` as `invoice`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(price * quantity) as sub_total, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as tax_values from `invoice_products` left join `invoices` on `invoice_products`.`invoice_id` = `invoices`.`id` where YEAR(invoices.send_date) = '2025' and MONTH(invoices.send_date) = 1 and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025","1","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":570},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":703},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.206466,"duration":0.01,"duration_str":"10ms","memory":0,"memory_str":null,"filename":"User.php:570","source":"app\/Models\/User.php:570","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=570","ajax":false,"filename":"User.php","line":"570"},"connection":"dailybooks_db","start_percent":21.477,"width_percent":6.991},{"sql":"select sum(amount) amount from `payments` where `created_by` = 6 and year(`date`) = '2025' and month(`date`) = 1 limit 1","type":"query","params":[],"bindings":["6","2025","1"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":709},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.217484,"duration":0.00062,"duration_str":"620\u03bcs","memory":0,"memory_str":null,"filename":"User.php:709","source":"app\/Models\/User.php:709","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=709","ajax":false,"filename":"User.php","line":"709"},"connection":"dailybooks_db","start_percent":28.468,"width_percent":0.433},{"sql":"select `bill_products`.`bill_id` as `bill`, SUM(bill_products.quantity) as total_quantity, SUM(bill_products.discount) as total_discount, SUM(bill_products.price * bill_products.quantity) as sub_total, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as tax_values from `bill_products` left join `bills` on `bill_products`.`bill_id` = `bills`.`id` where YEAR(bills.send_date) = '2025' and MONTH(bills.send_date) = 1 and `bills`.`created_by` = 6 group by `bill`","type":"query","params":[],"bindings":["2025","1","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":635},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":710},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.2191072,"duration":0.0034500000000000004,"duration_str":"3.45ms","memory":0,"memory_str":null,"filename":"User.php:635","source":"app\/Models\/User.php:635","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=635","ajax":false,"filename":"User.php","line":"635"},"connection":"dailybooks_db","start_percent":28.901,"width_percent":2.412},{"sql":"select sum(amount) amount from `revenues` where `created_by` = 6 and year(`date`) = '2025' and month(`date`) = 2 limit 1","type":"query","params":[],"bindings":["6","2025","2"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":702},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.223103,"duration":0.00046,"duration_str":"460\u03bcs","memory":0,"memory_str":null,"filename":"User.php:702","source":"app\/Models\/User.php:702","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=702","ajax":false,"filename":"User.php","line":"702"},"connection":"dailybooks_db","start_percent":31.313,"width_percent":0.322},{"sql":"select `invoice_products`.`invoice_id` as `invoice`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(price * quantity) as sub_total, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as tax_values from `invoice_products` left join `invoices` on `invoice_products`.`invoice_id` = `invoices`.`id` where YEAR(invoices.send_date) = '2025' and MONTH(invoices.send_date) = 2 and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025","2","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":570},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":703},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.224178,"duration":0.0009699999999999999,"duration_str":"970\u03bcs","memory":0,"memory_str":null,"filename":"User.php:570","source":"app\/Models\/User.php:570","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=570","ajax":false,"filename":"User.php","line":"570"},"connection":"dailybooks_db","start_percent":31.635,"width_percent":0.678},{"sql":"select sum(amount) amount from `payments` where `created_by` = 6 and year(`date`) = '2025' and month(`date`) = 2 limit 1","type":"query","params":[],"bindings":["6","2025","2"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":709},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.225611,"duration":0.00031,"duration_str":"310\u03bcs","memory":0,"memory_str":null,"filename":"User.php:709","source":"app\/Models\/User.php:709","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=709","ajax":false,"filename":"User.php","line":"709"},"connection":"dailybooks_db","start_percent":32.313,"width_percent":0.217},{"sql":"select `bill_products`.`bill_id` as `bill`, SUM(bill_products.quantity) as total_quantity, SUM(bill_products.discount) as total_discount, SUM(bill_products.price * bill_products.quantity) as sub_total, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as tax_values from `bill_products` left join `bills` on `bill_products`.`bill_id` = `bills`.`id` where YEAR(bills.send_date) = '2025' and MONTH(bills.send_date) = 2 and `bills`.`created_by` = 6 group by `bill`","type":"query","params":[],"bindings":["2025","2","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":635},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":710},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.226326,"duration":0.0005899999999999999,"duration_str":"590\u03bcs","memory":0,"memory_str":null,"filename":"User.php:635","source":"app\/Models\/User.php:635","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=635","ajax":false,"filename":"User.php","line":"635"},"connection":"dailybooks_db","start_percent":32.529,"width_percent":0.412},{"sql":"select sum(amount) amount from `revenues` where `created_by` = 6 and year(`date`) = '2025' and month(`date`) = 3 limit 1","type":"query","params":[],"bindings":["6","2025","3"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":702},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.227366,"duration":0.00032,"duration_str":"320\u03bcs","memory":0,"memory_str":null,"filename":"User.php:702","source":"app\/Models\/User.php:702","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=702","ajax":false,"filename":"User.php","line":"702"},"connection":"dailybooks_db","start_percent":32.942,"width_percent":0.224},{"sql":"select `invoice_products`.`invoice_id` as `invoice`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(price * quantity) as sub_total, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as tax_values from `invoice_products` left join `invoices` on `invoice_products`.`invoice_id` = `invoices`.`id` where YEAR(invoices.send_date) = '2025' and MONTH(invoices.send_date) = 3 and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025","3","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":570},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":703},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.228193,"duration":0.00246,"duration_str":"2.46ms","memory":0,"memory_str":null,"filename":"User.php:570","source":"app\/Models\/User.php:570","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=570","ajax":false,"filename":"User.php","line":"570"},"connection":"dailybooks_db","start_percent":33.166,"width_percent":1.72},{"sql":"select sum(amount) amount from `payments` where `created_by` = 6 and year(`date`) = '2025' and month(`date`) = 3 limit 1","type":"query","params":[],"bindings":["6","2025","3"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":709},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.2311141,"duration":0.00027,"duration_str":"270\u03bcs","memory":0,"memory_str":null,"filename":"User.php:709","source":"app\/Models\/User.php:709","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=709","ajax":false,"filename":"User.php","line":"709"},"connection":"dailybooks_db","start_percent":34.885,"width_percent":0.189},{"sql":"select `bill_products`.`bill_id` as `bill`, SUM(bill_products.quantity) as total_quantity, SUM(bill_products.discount) as total_discount, SUM(bill_products.price * bill_products.quantity) as sub_total, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as tax_values from `bill_products` left join `bills` on `bill_products`.`bill_id` = `bills`.`id` where YEAR(bills.send_date) = '2025' and MONTH(bills.send_date) = 3 and `bills`.`created_by` = 6 group by `bill`","type":"query","params":[],"bindings":["2025","3","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":635},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":710},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.231812,"duration":0.00064,"duration_str":"640\u03bcs","memory":0,"memory_str":null,"filename":"User.php:635","source":"app\/Models\/User.php:635","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=635","ajax":false,"filename":"User.php","line":"635"},"connection":"dailybooks_db","start_percent":35.074,"width_percent":0.447},{"sql":"select sum(amount) amount from `revenues` where `created_by` = 6 and year(`date`) = '2025' and month(`date`) = 4 limit 1","type":"query","params":[],"bindings":["6","2025","4"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":702},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.232856,"duration":0.00035999999999999997,"duration_str":"360\u03bcs","memory":0,"memory_str":null,"filename":"User.php:702","source":"app\/Models\/User.php:702","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=702","ajax":false,"filename":"User.php","line":"702"},"connection":"dailybooks_db","start_percent":35.522,"width_percent":0.252},{"sql":"select `invoice_products`.`invoice_id` as `invoice`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(price * quantity) as sub_total, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as tax_values from `invoice_products` left join `invoices` on `invoice_products`.`invoice_id` = `invoices`.`id` where YEAR(invoices.send_date) = '2025' and MONTH(invoices.send_date) = 4 and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025","4","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":570},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":703},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.233672,"duration":0.0006,"duration_str":"600\u03bcs","memory":0,"memory_str":null,"filename":"User.php:570","source":"app\/Models\/User.php:570","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=570","ajax":false,"filename":"User.php","line":"570"},"connection":"dailybooks_db","start_percent":35.773,"width_percent":0.419},{"sql":"select sum(amount) amount from `payments` where `created_by` = 6 and year(`date`) = '2025' and month(`date`) = 4 limit 1","type":"query","params":[],"bindings":["6","2025","4"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":709},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.2346692,"duration":0.00027,"duration_str":"270\u03bcs","memory":0,"memory_str":null,"filename":"User.php:709","source":"app\/Models\/User.php:709","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=709","ajax":false,"filename":"User.php","line":"709"},"connection":"dailybooks_db","start_percent":36.193,"width_percent":0.189},{"sql":"select `bill_products`.`bill_id` as `bill`, SUM(bill_products.quantity) as total_quantity, SUM(bill_products.discount) as total_discount, SUM(bill_products.price * bill_products.quantity) as sub_total, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as tax_values from `bill_products` left join `bills` on `bill_products`.`bill_id` = `bills`.`id` where YEAR(bills.send_date) = '2025' and MONTH(bills.send_date) = 4 and `bills`.`created_by` = 6 group by `bill`","type":"query","params":[],"bindings":["2025","4","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":635},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":710},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.2353559,"duration":0.00061,"duration_str":"610\u03bcs","memory":0,"memory_str":null,"filename":"User.php:635","source":"app\/Models\/User.php:635","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=635","ajax":false,"filename":"User.php","line":"635"},"connection":"dailybooks_db","start_percent":36.381,"width_percent":0.426},{"sql":"select sum(amount) amount from `revenues` where `created_by` = 6 and year(`date`) = '2025' and month(`date`) = 5 limit 1","type":"query","params":[],"bindings":["6","2025","5"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":702},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.236328,"duration":0.00061,"duration_str":"610\u03bcs","memory":0,"memory_str":null,"filename":"User.php:702","source":"app\/Models\/User.php:702","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=702","ajax":false,"filename":"User.php","line":"702"},"connection":"dailybooks_db","start_percent":36.808,"width_percent":0.426},{"sql":"select `invoice_products`.`invoice_id` as `invoice`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(price * quantity) as sub_total, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as tax_values from `invoice_products` left join `invoices` on `invoice_products`.`invoice_id` = `invoices`.`id` where YEAR(invoices.send_date) = '2025' and MONTH(invoices.send_date) = 5 and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025","5","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":570},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":703},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.237344,"duration":0.00067,"duration_str":"670\u03bcs","memory":0,"memory_str":null,"filename":"User.php:570","source":"app\/Models\/User.php:570","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=570","ajax":false,"filename":"User.php","line":"570"},"connection":"dailybooks_db","start_percent":37.234,"width_percent":0.468},{"sql":"select sum(amount) amount from `payments` where `created_by` = 6 and year(`date`) = '2025' and month(`date`) = 5 limit 1","type":"query","params":[],"bindings":["6","2025","5"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":709},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.238403,"duration":0.00033,"duration_str":"330\u03bcs","memory":0,"memory_str":null,"filename":"User.php:709","source":"app\/Models\/User.php:709","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=709","ajax":false,"filename":"User.php","line":"709"},"connection":"dailybooks_db","start_percent":37.703,"width_percent":0.231},{"sql":"select `bill_products`.`bill_id` as `bill`, SUM(bill_products.quantity) as total_quantity, SUM(bill_products.discount) as total_discount, SUM(bill_products.price * bill_products.quantity) as sub_total, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as tax_values from `bill_products` left join `bills` on `bill_products`.`bill_id` = `bills`.`id` where YEAR(bills.send_date) = '2025' and MONTH(bills.send_date) = 5 and `bills`.`created_by` = 6 group by `bill`","type":"query","params":[],"bindings":["2025","5","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":635},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":710},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.239096,"duration":0.0005600000000000001,"duration_str":"560\u03bcs","memory":0,"memory_str":null,"filename":"User.php:635","source":"app\/Models\/User.php:635","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=635","ajax":false,"filename":"User.php","line":"635"},"connection":"dailybooks_db","start_percent":37.933,"width_percent":0.391},{"sql":"select sum(amount) amount from `revenues` where `created_by` = 6 and year(`date`) = '2025' and month(`date`) = 6 limit 1","type":"query","params":[],"bindings":["6","2025","6"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":702},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.239944,"duration":0.00028000000000000003,"duration_str":"280\u03bcs","memory":0,"memory_str":null,"filename":"User.php:702","source":"app\/Models\/User.php:702","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=702","ajax":false,"filename":"User.php","line":"702"},"connection":"dailybooks_db","start_percent":38.325,"width_percent":0.196},{"sql":"select `invoice_products`.`invoice_id` as `invoice`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(price * quantity) as sub_total, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as tax_values from `invoice_products` left join `invoices` on `invoice_products`.`invoice_id` = `invoices`.`id` where YEAR(invoices.send_date) = '2025' and MONTH(invoices.send_date) = 6 and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025","6","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":570},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":703},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.240815,"duration":0.0012,"duration_str":"1.2ms","memory":0,"memory_str":null,"filename":"User.php:570","source":"app\/Models\/User.php:570","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=570","ajax":false,"filename":"User.php","line":"570"},"connection":"dailybooks_db","start_percent":38.521,"width_percent":0.839},{"sql":"select sum(amount) amount from `payments` where `created_by` = 6 and year(`date`) = '2025' and month(`date`) = 6 limit 1","type":"query","params":[],"bindings":["6","2025","6"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":709},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.2427182,"duration":0.00045,"duration_str":"450\u03bcs","memory":0,"memory_str":null,"filename":"User.php:709","source":"app\/Models\/User.php:709","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=709","ajax":false,"filename":"User.php","line":"709"},"connection":"dailybooks_db","start_percent":39.36,"width_percent":0.315},{"sql":"select `bill_products`.`bill_id` as `bill`, SUM(bill_products.quantity) as total_quantity, SUM(bill_products.discount) as total_discount, SUM(bill_products.price * bill_products.quantity) as sub_total, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as tax_values from `bill_products` left join `bills` on `bill_products`.`bill_id` = `bills`.`id` where YEAR(bills.send_date) = '2025' and MONTH(bills.send_date) = 6 and `bills`.`created_by` = 6 group by `bill`","type":"query","params":[],"bindings":["2025","6","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":635},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":710},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.243808,"duration":0.00069,"duration_str":"690\u03bcs","memory":0,"memory_str":null,"filename":"User.php:635","source":"app\/Models\/User.php:635","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=635","ajax":false,"filename":"User.php","line":"635"},"connection":"dailybooks_db","start_percent":39.674,"width_percent":0.482},{"sql":"select sum(amount) amount from `revenues` where `created_by` = 6 and year(`date`) = '2025' and month(`date`) = 7 limit 1","type":"query","params":[],"bindings":["6","2025","7"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":702},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.244912,"duration":0.00023,"duration_str":"230\u03bcs","memory":0,"memory_str":null,"filename":"User.php:702","source":"app\/Models\/User.php:702","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=702","ajax":false,"filename":"User.php","line":"702"},"connection":"dailybooks_db","start_percent":40.157,"width_percent":0.161},{"sql":"select `invoice_products`.`invoice_id` as `invoice`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(price * quantity) as sub_total, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as tax_values from `invoice_products` left join `invoices` on `invoice_products`.`invoice_id` = `invoices`.`id` where YEAR(invoices.send_date) = '2025' and MONTH(invoices.send_date) = 7 and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025","7","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":570},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":703},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.2455258,"duration":0.0006,"duration_str":"600\u03bcs","memory":0,"memory_str":null,"filename":"User.php:570","source":"app\/Models\/User.php:570","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=570","ajax":false,"filename":"User.php","line":"570"},"connection":"dailybooks_db","start_percent":40.317,"width_percent":0.419},{"sql":"select sum(amount) amount from `payments` where `created_by` = 6 and year(`date`) = '2025' and month(`date`) = 7 limit 1","type":"query","params":[],"bindings":["6","2025","7"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":709},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.246461,"duration":0.00020999999999999998,"duration_str":"210\u03bcs","memory":0,"memory_str":null,"filename":"User.php:709","source":"app\/Models\/User.php:709","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=709","ajax":false,"filename":"User.php","line":"709"},"connection":"dailybooks_db","start_percent":40.737,"width_percent":0.147},{"sql":"select `bill_products`.`bill_id` as `bill`, SUM(bill_products.quantity) as total_quantity, SUM(bill_products.discount) as total_discount, SUM(bill_products.price * bill_products.quantity) as sub_total, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as tax_values from `bill_products` left join `bills` on `bill_products`.`bill_id` = `bills`.`id` where YEAR(bills.send_date) = '2025' and MONTH(bills.send_date) = 7 and `bills`.`created_by` = 6 group by `bill`","type":"query","params":[],"bindings":["2025","7","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":635},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":710},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.247033,"duration":0.00033,"duration_str":"330\u03bcs","memory":0,"memory_str":null,"filename":"User.php:635","source":"app\/Models\/User.php:635","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=635","ajax":false,"filename":"User.php","line":"635"},"connection":"dailybooks_db","start_percent":40.884,"width_percent":0.231},{"sql":"select sum(amount) amount from `revenues` where `created_by` = 6 and year(`date`) = '2025' and month(`date`) = 8 limit 1","type":"query","params":[],"bindings":["6","2025","8"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":702},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.2476509,"duration":0.0002,"duration_str":"200\u03bcs","memory":0,"memory_str":null,"filename":"User.php:702","source":"app\/Models\/User.php:702","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=702","ajax":false,"filename":"User.php","line":"702"},"connection":"dailybooks_db","start_percent":41.114,"width_percent":0.14},{"sql":"select `invoice_products`.`invoice_id` as `invoice`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(price * quantity) as sub_total, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as tax_values from `invoice_products` left join `invoices` on `invoice_products`.`invoice_id` = `invoices`.`id` where YEAR(invoices.send_date) = '2025' and MONTH(invoices.send_date) = 8 and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025","8","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":570},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":703},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.248181,"duration":0.00047,"duration_str":"470\u03bcs","memory":0,"memory_str":null,"filename":"User.php:570","source":"app\/Models\/User.php:570","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=570","ajax":false,"filename":"User.php","line":"570"},"connection":"dailybooks_db","start_percent":41.254,"width_percent":0.329},{"sql":"select sum(amount) amount from `payments` where `created_by` = 6 and year(`date`) = '2025' and month(`date`) = 8 limit 1","type":"query","params":[],"bindings":["6","2025","8"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":709},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.2489169,"duration":0.00020999999999999998,"duration_str":"210\u03bcs","memory":0,"memory_str":null,"filename":"User.php:709","source":"app\/Models\/User.php:709","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=709","ajax":false,"filename":"User.php","line":"709"},"connection":"dailybooks_db","start_percent":41.583,"width_percent":0.147},{"sql":"select `bill_products`.`bill_id` as `bill`, SUM(bill_products.quantity) as total_quantity, SUM(bill_products.discount) as total_discount, SUM(bill_products.price * bill_products.quantity) as sub_total, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as tax_values from `bill_products` left join `bills` on `bill_products`.`bill_id` = `bills`.`id` where YEAR(bills.send_date) = '2025' and MONTH(bills.send_date) = 8 and `bills`.`created_by` = 6 group by `bill`","type":"query","params":[],"bindings":["2025","8","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":635},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":710},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.249488,"duration":0.00045,"duration_str":"450\u03bcs","memory":0,"memory_str":null,"filename":"User.php:635","source":"app\/Models\/User.php:635","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=635","ajax":false,"filename":"User.php","line":"635"},"connection":"dailybooks_db","start_percent":41.73,"width_percent":0.315},{"sql":"select sum(amount) amount from `revenues` where `created_by` = 6 and year(`date`) = '2025' and month(`date`) = 9 limit 1","type":"query","params":[],"bindings":["6","2025","9"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":702},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.250248,"duration":0.00026000000000000003,"duration_str":"260\u03bcs","memory":0,"memory_str":null,"filename":"User.php:702","source":"app\/Models\/User.php:702","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=702","ajax":false,"filename":"User.php","line":"702"},"connection":"dailybooks_db","start_percent":42.044,"width_percent":0.182},{"sql":"select `invoice_products`.`invoice_id` as `invoice`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(price * quantity) as sub_total, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as tax_values from `invoice_products` left join `invoices` on `invoice_products`.`invoice_id` = `invoices`.`id` where YEAR(invoices.send_date) = '2025' and MONTH(invoices.send_date) = 9 and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025","9","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":570},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":703},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.2508461,"duration":0.00045,"duration_str":"450\u03bcs","memory":0,"memory_str":null,"filename":"User.php:570","source":"app\/Models\/User.php:570","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=570","ajax":false,"filename":"User.php","line":"570"},"connection":"dailybooks_db","start_percent":42.226,"width_percent":0.315},{"sql":"select sum(amount) amount from `payments` where `created_by` = 6 and year(`date`) = '2025' and month(`date`) = 9 limit 1","type":"query","params":[],"bindings":["6","2025","9"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":709},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.251564,"duration":0.00019,"duration_str":"190\u03bcs","memory":0,"memory_str":null,"filename":"User.php:709","source":"app\/Models\/User.php:709","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=709","ajax":false,"filename":"User.php","line":"709"},"connection":"dailybooks_db","start_percent":42.541,"width_percent":0.133},{"sql":"select `bill_products`.`bill_id` as `bill`, SUM(bill_products.quantity) as total_quantity, SUM(bill_products.discount) as total_discount, SUM(bill_products.price * bill_products.quantity) as sub_total, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as tax_values from `bill_products` left join `bills` on `bill_products`.`bill_id` = `bills`.`id` where YEAR(bills.send_date) = '2025' and MONTH(bills.send_date) = 9 and `bills`.`created_by` = 6 group by `bill`","type":"query","params":[],"bindings":["2025","9","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":635},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":710},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.252073,"duration":0.00044,"duration_str":"440\u03bcs","memory":0,"memory_str":null,"filename":"User.php:635","source":"app\/Models\/User.php:635","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=635","ajax":false,"filename":"User.php","line":"635"},"connection":"dailybooks_db","start_percent":42.673,"width_percent":0.308},{"sql":"select sum(amount) amount from `revenues` where `created_by` = 6 and year(`date`) = '2025' and month(`date`) = 10 limit 1","type":"query","params":[],"bindings":["6","2025","10"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":702},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.252771,"duration":0.00022,"duration_str":"220\u03bcs","memory":0,"memory_str":null,"filename":"User.php:702","source":"app\/Models\/User.php:702","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=702","ajax":false,"filename":"User.php","line":"702"},"connection":"dailybooks_db","start_percent":42.981,"width_percent":0.154},{"sql":"select `invoice_products`.`invoice_id` as `invoice`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(price * quantity) as sub_total, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as tax_values from `invoice_products` left join `invoices` on `invoice_products`.`invoice_id` = `invoices`.`id` where YEAR(invoices.send_date) = '2025' and MONTH(invoices.send_date) = 10 and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025","10","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":570},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":703},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.253336,"duration":0.00054,"duration_str":"540\u03bcs","memory":0,"memory_str":null,"filename":"User.php:570","source":"app\/Models\/User.php:570","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=570","ajax":false,"filename":"User.php","line":"570"},"connection":"dailybooks_db","start_percent":43.135,"width_percent":0.378},{"sql":"select sum(amount) amount from `payments` where `created_by` = 6 and year(`date`) = '2025' and month(`date`) = 10 limit 1","type":"query","params":[],"bindings":["6","2025","10"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":709},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.254181,"duration":0.00023,"duration_str":"230\u03bcs","memory":0,"memory_str":null,"filename":"User.php:709","source":"app\/Models\/User.php:709","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=709","ajax":false,"filename":"User.php","line":"709"},"connection":"dailybooks_db","start_percent":43.512,"width_percent":0.161},{"sql":"select `bill_products`.`bill_id` as `bill`, SUM(bill_products.quantity) as total_quantity, SUM(bill_products.discount) as total_discount, SUM(bill_products.price * bill_products.quantity) as sub_total, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as tax_values from `bill_products` left join `bills` on `bill_products`.`bill_id` = `bills`.`id` where YEAR(bills.send_date) = '2025' and MONTH(bills.send_date) = 10 and `bills`.`created_by` = 6 group by `bill`","type":"query","params":[],"bindings":["2025","10","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":635},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":710},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.2547371,"duration":0.00046,"duration_str":"460\u03bcs","memory":0,"memory_str":null,"filename":"User.php:635","source":"app\/Models\/User.php:635","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=635","ajax":false,"filename":"User.php","line":"635"},"connection":"dailybooks_db","start_percent":43.673,"width_percent":0.322},{"sql":"select sum(amount) amount from `revenues` where `created_by` = 6 and year(`date`) = '2025' and month(`date`) = 11 limit 1","type":"query","params":[],"bindings":["6","2025","11"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":702},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.255558,"duration":0.00031,"duration_str":"310\u03bcs","memory":0,"memory_str":null,"filename":"User.php:702","source":"app\/Models\/User.php:702","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=702","ajax":false,"filename":"User.php","line":"702"},"connection":"dailybooks_db","start_percent":43.995,"width_percent":0.217},{"sql":"select `invoice_products`.`invoice_id` as `invoice`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(price * quantity) as sub_total, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as tax_values from `invoice_products` left join `invoices` on `invoice_products`.`invoice_id` = `invoices`.`id` where YEAR(invoices.send_date) = '2025' and MONTH(invoices.send_date) = 11 and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025","11","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":570},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":703},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.256275,"duration":0.0006,"duration_str":"600\u03bcs","memory":0,"memory_str":null,"filename":"User.php:570","source":"app\/Models\/User.php:570","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=570","ajax":false,"filename":"User.php","line":"570"},"connection":"dailybooks_db","start_percent":44.211,"width_percent":0.419},{"sql":"select sum(amount) amount from `payments` where `created_by` = 6 and year(`date`) = '2025' and month(`date`) = 11 limit 1","type":"query","params":[],"bindings":["6","2025","11"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":709},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.257281,"duration":0.00037,"duration_str":"370\u03bcs","memory":0,"memory_str":null,"filename":"User.php:709","source":"app\/Models\/User.php:709","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=709","ajax":false,"filename":"User.php","line":"709"},"connection":"dailybooks_db","start_percent":44.631,"width_percent":0.259},{"sql":"select `bill_products`.`bill_id` as `bill`, SUM(bill_products.quantity) as total_quantity, SUM(bill_products.discount) as total_discount, SUM(bill_products.price * bill_products.quantity) as sub_total, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as tax_values from `bill_products` left join `bills` on `bill_products`.`bill_id` = `bills`.`id` where YEAR(bills.send_date) = '2025' and MONTH(bills.send_date) = 11 and `bills`.`created_by` = 6 group by `bill`","type":"query","params":[],"bindings":["2025","11","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":635},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":710},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.258038,"duration":0.00047999999999999996,"duration_str":"480\u03bcs","memory":0,"memory_str":null,"filename":"User.php:635","source":"app\/Models\/User.php:635","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=635","ajax":false,"filename":"User.php","line":"635"},"connection":"dailybooks_db","start_percent":44.89,"width_percent":0.336},{"sql":"select sum(amount) amount from `revenues` where `created_by` = 6 and year(`date`) = '2025' and month(`date`) = 12 limit 1","type":"query","params":[],"bindings":["6","2025","12"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":702},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.258848,"duration":0.0004,"duration_str":"400\u03bcs","memory":0,"memory_str":null,"filename":"User.php:702","source":"app\/Models\/User.php:702","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=702","ajax":false,"filename":"User.php","line":"702"},"connection":"dailybooks_db","start_percent":45.225,"width_percent":0.28},{"sql":"select `invoice_products`.`invoice_id` as `invoice`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(price * quantity) as sub_total, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as tax_values from `invoice_products` left join `invoices` on `invoice_products`.`invoice_id` = `invoices`.`id` where YEAR(invoices.send_date) = '2025' and MONTH(invoices.send_date) = 12 and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025","12","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":570},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":703},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.2596772,"duration":0.00045,"duration_str":"450\u03bcs","memory":0,"memory_str":null,"filename":"User.php:570","source":"app\/Models\/User.php:570","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=570","ajax":false,"filename":"User.php","line":"570"},"connection":"dailybooks_db","start_percent":45.505,"width_percent":0.315},{"sql":"select sum(amount) amount from `payments` where `created_by` = 6 and year(`date`) = '2025' and month(`date`) = 12 limit 1","type":"query","params":[],"bindings":["6","2025","12"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":709},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.26048,"duration":0.00035999999999999997,"duration_str":"360\u03bcs","memory":0,"memory_str":null,"filename":"User.php:709","source":"app\/Models\/User.php:709","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=709","ajax":false,"filename":"User.php","line":"709"},"connection":"dailybooks_db","start_percent":45.819,"width_percent":0.252},{"sql":"select `bill_products`.`bill_id` as `bill`, SUM(bill_products.quantity) as total_quantity, SUM(bill_products.discount) as total_discount, SUM(bill_products.price * bill_products.quantity) as sub_total, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as tax_values from `bill_products` left join `bills` on `bill_products`.`bill_id` = `bills`.`id` where YEAR(bills.send_date) = '2025' and MONTH(bills.send_date) = 12 and `bills`.`created_by` = 6 group by `bill`","type":"query","params":[],"bindings":["2025","12","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":635},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":710},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":126},{"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":1741764845.2612119,"duration":0.00043,"duration_str":"430\u03bcs","memory":0,"memory_str":null,"filename":"User.php:635","source":"app\/Models\/User.php:635","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=635","ajax":false,"filename":"User.php","line":"635"},"connection":"dailybooks_db","start_percent":46.071,"width_percent":0.301},{"sql":"select sum(amount) amount from `revenues` where `created_by` = 6 and date = '2025-03-12' limit 1","type":"query","params":[],"bindings":["6","2025-03-12"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":794},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.262893,"duration":0.00067,"duration_str":"670\u03bcs","memory":0,"memory_str":null,"filename":"User.php:794","source":"app\/Models\/User.php:794","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=794","ajax":false,"filename":"User.php","line":"794"},"connection":"dailybooks_db","start_percent":46.372,"width_percent":0.468},{"sql":"select `invoice_products`.`invoice_id` as `invoice`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(price * quantity) as sub_total, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as tax_values from `invoice_products` left join `invoices` on `invoice_products`.`invoice_id` = `invoices`.`id` where (invoices.send_date) = '2025-03-12' and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025-03-12","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":585},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":796},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.263896,"duration":0.00076,"duration_str":"760\u03bcs","memory":0,"memory_str":null,"filename":"User.php:585","source":"app\/Models\/User.php:585","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=585","ajax":false,"filename":"User.php","line":"585"},"connection":"dailybooks_db","start_percent":46.84,"width_percent":0.531},{"sql":"select sum(amount) amount from `payments` where `created_by` = 6 and date = '2025-03-12' limit 1","type":"query","params":[],"bindings":["6","2025-03-12"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":801},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.264994,"duration":0.00022,"duration_str":"220\u03bcs","memory":0,"memory_str":null,"filename":"User.php:801","source":"app\/Models\/User.php:801","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=801","ajax":false,"filename":"User.php","line":"801"},"connection":"dailybooks_db","start_percent":47.371,"width_percent":0.154},{"sql":"select `bill_products`.`bill_id` as `bill`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(bill_products.price * bill_products.quantity) as sub_total, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as tax_values from `bill_products` left join `bills` on `bill_products`.`bill_id` = `bills`.`id` where (bills.send_date) = '2025-03-12' and `bills`.`created_by` = 6 group by `bill`","type":"query","params":[],"bindings":["2025-03-12","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":652},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":803},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.2655911,"duration":0.00033,"duration_str":"330\u03bcs","memory":0,"memory_str":null,"filename":"User.php:652","source":"app\/Models\/User.php:652","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=652","ajax":false,"filename":"User.php","line":"652"},"connection":"dailybooks_db","start_percent":47.525,"width_percent":0.231},{"sql":"select sum(amount) amount from `revenues` where `created_by` = 6 and date = '2025-03-11' limit 1","type":"query","params":[],"bindings":["6","2025-03-11"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":794},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.266229,"duration":0.00019,"duration_str":"190\u03bcs","memory":0,"memory_str":null,"filename":"User.php:794","source":"app\/Models\/User.php:794","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=794","ajax":false,"filename":"User.php","line":"794"},"connection":"dailybooks_db","start_percent":47.756,"width_percent":0.133},{"sql":"select `invoice_products`.`invoice_id` as `invoice`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(price * quantity) as sub_total, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as tax_values from `invoice_products` left join `invoices` on `invoice_products`.`invoice_id` = `invoices`.`id` where (invoices.send_date) = '2025-03-11' and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025-03-11","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":585},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":796},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.266765,"duration":0.00032,"duration_str":"320\u03bcs","memory":0,"memory_str":null,"filename":"User.php:585","source":"app\/Models\/User.php:585","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=585","ajax":false,"filename":"User.php","line":"585"},"connection":"dailybooks_db","start_percent":47.889,"width_percent":0.224},{"sql":"select sum(amount) amount from `payments` where `created_by` = 6 and date = '2025-03-11' limit 1","type":"query","params":[],"bindings":["6","2025-03-11"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":801},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.267373,"duration":0.00029,"duration_str":"290\u03bcs","memory":0,"memory_str":null,"filename":"User.php:801","source":"app\/Models\/User.php:801","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=801","ajax":false,"filename":"User.php","line":"801"},"connection":"dailybooks_db","start_percent":48.112,"width_percent":0.203},{"sql":"select `bill_products`.`bill_id` as `bill`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(bill_products.price * bill_products.quantity) as sub_total, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as tax_values from `bill_products` left join `bills` on `bill_products`.`bill_id` = `bills`.`id` where (bills.send_date) = '2025-03-11' and `bills`.`created_by` = 6 group by `bill`","type":"query","params":[],"bindings":["2025-03-11","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":652},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":803},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.26804,"duration":0.00039,"duration_str":"390\u03bcs","memory":0,"memory_str":null,"filename":"User.php:652","source":"app\/Models\/User.php:652","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=652","ajax":false,"filename":"User.php","line":"652"},"connection":"dailybooks_db","start_percent":48.315,"width_percent":0.273},{"sql":"select sum(amount) amount from `revenues` where `created_by` = 6 and date = '2025-03-10' limit 1","type":"query","params":[],"bindings":["6","2025-03-10"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":794},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.268738,"duration":0.0002,"duration_str":"200\u03bcs","memory":0,"memory_str":null,"filename":"User.php:794","source":"app\/Models\/User.php:794","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=794","ajax":false,"filename":"User.php","line":"794"},"connection":"dailybooks_db","start_percent":48.588,"width_percent":0.14},{"sql":"select `invoice_products`.`invoice_id` as `invoice`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(price * quantity) as sub_total, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as tax_values from `invoice_products` left join `invoices` on `invoice_products`.`invoice_id` = `invoices`.`id` where (invoices.send_date) = '2025-03-10' and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025-03-10","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":585},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":796},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.269235,"duration":0.00037,"duration_str":"370\u03bcs","memory":0,"memory_str":null,"filename":"User.php:585","source":"app\/Models\/User.php:585","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=585","ajax":false,"filename":"User.php","line":"585"},"connection":"dailybooks_db","start_percent":48.728,"width_percent":0.259},{"sql":"select sum(amount) amount from `payments` where `created_by` = 6 and date = '2025-03-10' limit 1","type":"query","params":[],"bindings":["6","2025-03-10"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":801},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.269985,"duration":0.00033,"duration_str":"330\u03bcs","memory":0,"memory_str":null,"filename":"User.php:801","source":"app\/Models\/User.php:801","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=801","ajax":false,"filename":"User.php","line":"801"},"connection":"dailybooks_db","start_percent":48.986,"width_percent":0.231},{"sql":"select `bill_products`.`bill_id` as `bill`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(bill_products.price * bill_products.quantity) as sub_total, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as tax_values from `bill_products` left join `bills` on `bill_products`.`bill_id` = `bills`.`id` where (bills.send_date) = '2025-03-10' and `bills`.`created_by` = 6 group by `bill`","type":"query","params":[],"bindings":["2025-03-10","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":652},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":803},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.270711,"duration":0.00035999999999999997,"duration_str":"360\u03bcs","memory":0,"memory_str":null,"filename":"User.php:652","source":"app\/Models\/User.php:652","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=652","ajax":false,"filename":"User.php","line":"652"},"connection":"dailybooks_db","start_percent":49.217,"width_percent":0.252},{"sql":"select sum(amount) amount from `revenues` where `created_by` = 6 and date = '2025-03-09' limit 1","type":"query","params":[],"bindings":["6","2025-03-09"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":794},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.271385,"duration":0.00025,"duration_str":"250\u03bcs","memory":0,"memory_str":null,"filename":"User.php:794","source":"app\/Models\/User.php:794","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=794","ajax":false,"filename":"User.php","line":"794"},"connection":"dailybooks_db","start_percent":49.469,"width_percent":0.175},{"sql":"select `invoice_products`.`invoice_id` as `invoice`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(price * quantity) as sub_total, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as tax_values from `invoice_products` left join `invoices` on `invoice_products`.`invoice_id` = `invoices`.`id` where (invoices.send_date) = '2025-03-09' and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025-03-09","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":585},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":796},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.272006,"duration":0.00039,"duration_str":"390\u03bcs","memory":0,"memory_str":null,"filename":"User.php:585","source":"app\/Models\/User.php:585","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=585","ajax":false,"filename":"User.php","line":"585"},"connection":"dailybooks_db","start_percent":49.643,"width_percent":0.273},{"sql":"select sum(amount) amount from `payments` where `created_by` = 6 and date = '2025-03-09' limit 1","type":"query","params":[],"bindings":["6","2025-03-09"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":801},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.272762,"duration":0.00038,"duration_str":"380\u03bcs","memory":0,"memory_str":null,"filename":"User.php:801","source":"app\/Models\/User.php:801","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=801","ajax":false,"filename":"User.php","line":"801"},"connection":"dailybooks_db","start_percent":49.916,"width_percent":0.266},{"sql":"select `bill_products`.`bill_id` as `bill`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(bill_products.price * bill_products.quantity) as sub_total, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as tax_values from `bill_products` left join `bills` on `bill_products`.`bill_id` = `bills`.`id` where (bills.send_date) = '2025-03-09' and `bills`.`created_by` = 6 group by `bill`","type":"query","params":[],"bindings":["2025-03-09","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":652},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":803},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.273482,"duration":0.00037,"duration_str":"370\u03bcs","memory":0,"memory_str":null,"filename":"User.php:652","source":"app\/Models\/User.php:652","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=652","ajax":false,"filename":"User.php","line":"652"},"connection":"dailybooks_db","start_percent":50.182,"width_percent":0.259},{"sql":"select sum(amount) amount from `revenues` where `created_by` = 6 and date = '2025-03-08' limit 1","type":"query","params":[],"bindings":["6","2025-03-08"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":794},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.274228,"duration":0.00035999999999999997,"duration_str":"360\u03bcs","memory":0,"memory_str":null,"filename":"User.php:794","source":"app\/Models\/User.php:794","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=794","ajax":false,"filename":"User.php","line":"794"},"connection":"dailybooks_db","start_percent":50.44,"width_percent":0.252},{"sql":"select `invoice_products`.`invoice_id` as `invoice`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(price * quantity) as sub_total, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as tax_values from `invoice_products` left join `invoices` on `invoice_products`.`invoice_id` = `invoices`.`id` where (invoices.send_date) = '2025-03-08' and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025-03-08","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":585},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":796},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.2750041,"duration":0.00046,"duration_str":"460\u03bcs","memory":0,"memory_str":null,"filename":"User.php:585","source":"app\/Models\/User.php:585","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=585","ajax":false,"filename":"User.php","line":"585"},"connection":"dailybooks_db","start_percent":50.692,"width_percent":0.322},{"sql":"select sum(amount) amount from `payments` where `created_by` = 6 and date = '2025-03-08' limit 1","type":"query","params":[],"bindings":["6","2025-03-08"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":801},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.275795,"duration":0.00029,"duration_str":"290\u03bcs","memory":0,"memory_str":null,"filename":"User.php:801","source":"app\/Models\/User.php:801","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=801","ajax":false,"filename":"User.php","line":"801"},"connection":"dailybooks_db","start_percent":51.014,"width_percent":0.203},{"sql":"select `bill_products`.`bill_id` as `bill`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(bill_products.price * bill_products.quantity) as sub_total, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as tax_values from `bill_products` left join `bills` on `bill_products`.`bill_id` = `bills`.`id` where (bills.send_date) = '2025-03-08' and `bills`.`created_by` = 6 group by `bill`","type":"query","params":[],"bindings":["2025-03-08","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":652},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":803},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.276463,"duration":0.00044,"duration_str":"440\u03bcs","memory":0,"memory_str":null,"filename":"User.php:652","source":"app\/Models\/User.php:652","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=652","ajax":false,"filename":"User.php","line":"652"},"connection":"dailybooks_db","start_percent":51.216,"width_percent":0.308},{"sql":"select sum(amount) amount from `revenues` where `created_by` = 6 and date = '2025-03-07' limit 1","type":"query","params":[],"bindings":["6","2025-03-07"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":794},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.277322,"duration":0.00082,"duration_str":"820\u03bcs","memory":0,"memory_str":null,"filename":"User.php:794","source":"app\/Models\/User.php:794","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=794","ajax":false,"filename":"User.php","line":"794"},"connection":"dailybooks_db","start_percent":51.524,"width_percent":0.573},{"sql":"select `invoice_products`.`invoice_id` as `invoice`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(price * quantity) as sub_total, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as tax_values from `invoice_products` left join `invoices` on `invoice_products`.`invoice_id` = `invoices`.`id` where (invoices.send_date) = '2025-03-07' and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025-03-07","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":585},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":796},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.278892,"duration":0.0005,"duration_str":"500\u03bcs","memory":0,"memory_str":null,"filename":"User.php:585","source":"app\/Models\/User.php:585","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=585","ajax":false,"filename":"User.php","line":"585"},"connection":"dailybooks_db","start_percent":52.097,"width_percent":0.35},{"sql":"select sum(amount) amount from `payments` where `created_by` = 6 and date = '2025-03-07' limit 1","type":"query","params":[],"bindings":["6","2025-03-07"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":801},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.279763,"duration":0.00076,"duration_str":"760\u03bcs","memory":0,"memory_str":null,"filename":"User.php:801","source":"app\/Models\/User.php:801","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=801","ajax":false,"filename":"User.php","line":"801"},"connection":"dailybooks_db","start_percent":52.447,"width_percent":0.531},{"sql":"select `bill_products`.`bill_id` as `bill`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(bill_products.price * bill_products.quantity) as sub_total, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as tax_values from `bill_products` left join `bills` on `bill_products`.`bill_id` = `bills`.`id` where (bills.send_date) = '2025-03-07' and `bills`.`created_by` = 6 group by `bill`","type":"query","params":[],"bindings":["2025-03-07","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":652},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":803},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.280979,"duration":0.0005899999999999999,"duration_str":"590\u03bcs","memory":0,"memory_str":null,"filename":"User.php:652","source":"app\/Models\/User.php:652","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=652","ajax":false,"filename":"User.php","line":"652"},"connection":"dailybooks_db","start_percent":52.978,"width_percent":0.412},{"sql":"select sum(amount) amount from `revenues` where `created_by` = 6 and date = '2025-03-06' limit 1","type":"query","params":[],"bindings":["6","2025-03-06"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":794},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.281987,"duration":0.00037,"duration_str":"370\u03bcs","memory":0,"memory_str":null,"filename":"User.php:794","source":"app\/Models\/User.php:794","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=794","ajax":false,"filename":"User.php","line":"794"},"connection":"dailybooks_db","start_percent":53.391,"width_percent":0.259},{"sql":"select `invoice_products`.`invoice_id` as `invoice`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(price * quantity) as sub_total, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as tax_values from `invoice_products` left join `invoices` on `invoice_products`.`invoice_id` = `invoices`.`id` where (invoices.send_date) = '2025-03-06' and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025-03-06","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":585},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":796},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.2829032,"duration":0.0008,"duration_str":"800\u03bcs","memory":0,"memory_str":null,"filename":"User.php:585","source":"app\/Models\/User.php:585","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=585","ajax":false,"filename":"User.php","line":"585"},"connection":"dailybooks_db","start_percent":53.649,"width_percent":0.559},{"sql":"select sum(amount) amount from `payments` where `created_by` = 6 and date = '2025-03-06' limit 1","type":"query","params":[],"bindings":["6","2025-03-06"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":801},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.28412,"duration":0.00037,"duration_str":"370\u03bcs","memory":0,"memory_str":null,"filename":"User.php:801","source":"app\/Models\/User.php:801","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=801","ajax":false,"filename":"User.php","line":"801"},"connection":"dailybooks_db","start_percent":54.209,"width_percent":0.259},{"sql":"select `bill_products`.`bill_id` as `bill`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(bill_products.price * bill_products.quantity) as sub_total, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as tax_values from `bill_products` left join `bills` on `bill_products`.`bill_id` = `bills`.`id` where (bills.send_date) = '2025-03-06' and `bills`.`created_by` = 6 group by `bill`","type":"query","params":[],"bindings":["2025-03-06","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":652},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":803},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.284941,"duration":0.00047999999999999996,"duration_str":"480\u03bcs","memory":0,"memory_str":null,"filename":"User.php:652","source":"app\/Models\/User.php:652","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=652","ajax":false,"filename":"User.php","line":"652"},"connection":"dailybooks_db","start_percent":54.467,"width_percent":0.336},{"sql":"select sum(amount) amount from `revenues` where `created_by` = 6 and date = '2025-03-05' limit 1","type":"query","params":[],"bindings":["6","2025-03-05"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":794},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.285814,"duration":0.00032,"duration_str":"320\u03bcs","memory":0,"memory_str":null,"filename":"User.php:794","source":"app\/Models\/User.php:794","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=794","ajax":false,"filename":"User.php","line":"794"},"connection":"dailybooks_db","start_percent":54.803,"width_percent":0.224},{"sql":"select `invoice_products`.`invoice_id` as `invoice`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(price * quantity) as sub_total, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as tax_values from `invoice_products` left join `invoices` on `invoice_products`.`invoice_id` = `invoices`.`id` where (invoices.send_date) = '2025-03-05' and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025-03-05","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":585},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":796},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.286587,"duration":0.00164,"duration_str":"1.64ms","memory":0,"memory_str":null,"filename":"User.php:585","source":"app\/Models\/User.php:585","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=585","ajax":false,"filename":"User.php","line":"585"},"connection":"dailybooks_db","start_percent":55.027,"width_percent":1.147},{"sql":"select sum(amount) amount from `payments` where `created_by` = 6 and date = '2025-03-05' limit 1","type":"query","params":[],"bindings":["6","2025-03-05"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":801},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.288717,"duration":0.0009699999999999999,"duration_str":"970\u03bcs","memory":0,"memory_str":null,"filename":"User.php:801","source":"app\/Models\/User.php:801","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=801","ajax":false,"filename":"User.php","line":"801"},"connection":"dailybooks_db","start_percent":56.173,"width_percent":0.678},{"sql":"select `bill_products`.`bill_id` as `bill`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(bill_products.price * bill_products.quantity) as sub_total, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as tax_values from `bill_products` left join `bills` on `bill_products`.`bill_id` = `bills`.`id` where (bills.send_date) = '2025-03-05' and `bills`.`created_by` = 6 group by `bill`","type":"query","params":[],"bindings":["2025-03-05","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":652},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":803},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.2905052,"duration":0.00101,"duration_str":"1.01ms","memory":0,"memory_str":null,"filename":"User.php:652","source":"app\/Models\/User.php:652","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=652","ajax":false,"filename":"User.php","line":"652"},"connection":"dailybooks_db","start_percent":56.851,"width_percent":0.706},{"sql":"select sum(amount) amount from `revenues` where `created_by` = 6 and date = '2025-03-04' limit 1","type":"query","params":[],"bindings":["6","2025-03-04"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":794},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.292087,"duration":0.00047999999999999996,"duration_str":"480\u03bcs","memory":0,"memory_str":null,"filename":"User.php:794","source":"app\/Models\/User.php:794","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=794","ajax":false,"filename":"User.php","line":"794"},"connection":"dailybooks_db","start_percent":57.557,"width_percent":0.336},{"sql":"select `invoice_products`.`invoice_id` as `invoice`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(price * quantity) as sub_total, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as tax_values from `invoice_products` left join `invoices` on `invoice_products`.`invoice_id` = `invoices`.`id` where (invoices.send_date) = '2025-03-04' and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025-03-04","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":585},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":796},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.293113,"duration":0.0006,"duration_str":"600\u03bcs","memory":0,"memory_str":null,"filename":"User.php:585","source":"app\/Models\/User.php:585","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=585","ajax":false,"filename":"User.php","line":"585"},"connection":"dailybooks_db","start_percent":57.893,"width_percent":0.419},{"sql":"select sum(amount) amount from `payments` where `created_by` = 6 and date = '2025-03-04' limit 1","type":"query","params":[],"bindings":["6","2025-03-04"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":801},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.294198,"duration":0.00032,"duration_str":"320\u03bcs","memory":0,"memory_str":null,"filename":"User.php:801","source":"app\/Models\/User.php:801","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=801","ajax":false,"filename":"User.php","line":"801"},"connection":"dailybooks_db","start_percent":58.312,"width_percent":0.224},{"sql":"select `bill_products`.`bill_id` as `bill`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(bill_products.price * bill_products.quantity) as sub_total, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as tax_values from `bill_products` left join `bills` on `bill_products`.`bill_id` = `bills`.`id` where (bills.send_date) = '2025-03-04' and `bills`.`created_by` = 6 group by `bill`","type":"query","params":[],"bindings":["2025-03-04","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":652},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":803},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.295017,"duration":0.00063,"duration_str":"630\u03bcs","memory":0,"memory_str":null,"filename":"User.php:652","source":"app\/Models\/User.php:652","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=652","ajax":false,"filename":"User.php","line":"652"},"connection":"dailybooks_db","start_percent":58.536,"width_percent":0.44},{"sql":"select sum(amount) amount from `revenues` where `created_by` = 6 and date = '2025-03-03' limit 1","type":"query","params":[],"bindings":["6","2025-03-03"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":794},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.296205,"duration":0.00033,"duration_str":"330\u03bcs","memory":0,"memory_str":null,"filename":"User.php:794","source":"app\/Models\/User.php:794","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=794","ajax":false,"filename":"User.php","line":"794"},"connection":"dailybooks_db","start_percent":58.977,"width_percent":0.231},{"sql":"select `invoice_products`.`invoice_id` as `invoice`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(price * quantity) as sub_total, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as tax_values from `invoice_products` left join `invoices` on `invoice_products`.`invoice_id` = `invoices`.`id` where (invoices.send_date) = '2025-03-03' and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025-03-03","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":585},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":796},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.2970111,"duration":0.00062,"duration_str":"620\u03bcs","memory":0,"memory_str":null,"filename":"User.php:585","source":"app\/Models\/User.php:585","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=585","ajax":false,"filename":"User.php","line":"585"},"connection":"dailybooks_db","start_percent":59.207,"width_percent":0.433},{"sql":"select sum(amount) amount from `payments` where `created_by` = 6 and date = '2025-03-03' limit 1","type":"query","params":[],"bindings":["6","2025-03-03"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":801},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.298065,"duration":0.00034,"duration_str":"340\u03bcs","memory":0,"memory_str":null,"filename":"User.php:801","source":"app\/Models\/User.php:801","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=801","ajax":false,"filename":"User.php","line":"801"},"connection":"dailybooks_db","start_percent":59.641,"width_percent":0.238},{"sql":"select `bill_products`.`bill_id` as `bill`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(bill_products.price * bill_products.quantity) as sub_total, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as tax_values from `bill_products` left join `bills` on `bill_products`.`bill_id` = `bills`.`id` where (bills.send_date) = '2025-03-03' and `bills`.`created_by` = 6 group by `bill`","type":"query","params":[],"bindings":["2025-03-03","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":652},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":803},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.298819,"duration":0.00085,"duration_str":"850\u03bcs","memory":0,"memory_str":null,"filename":"User.php:652","source":"app\/Models\/User.php:652","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=652","ajax":false,"filename":"User.php","line":"652"},"connection":"dailybooks_db","start_percent":59.878,"width_percent":0.594},{"sql":"select sum(amount) amount from `revenues` where `created_by` = 6 and date = '2025-03-02' limit 1","type":"query","params":[],"bindings":["6","2025-03-02"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":794},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.300115,"duration":0.00049,"duration_str":"490\u03bcs","memory":0,"memory_str":null,"filename":"User.php:794","source":"app\/Models\/User.php:794","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=794","ajax":false,"filename":"User.php","line":"794"},"connection":"dailybooks_db","start_percent":60.473,"width_percent":0.343},{"sql":"select `invoice_products`.`invoice_id` as `invoice`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(price * quantity) as sub_total, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as tax_values from `invoice_products` left join `invoices` on `invoice_products`.`invoice_id` = `invoices`.`id` where (invoices.send_date) = '2025-03-02' and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025-03-02","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":585},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":796},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.3010712,"duration":0.00063,"duration_str":"630\u03bcs","memory":0,"memory_str":null,"filename":"User.php:585","source":"app\/Models\/User.php:585","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=585","ajax":false,"filename":"User.php","line":"585"},"connection":"dailybooks_db","start_percent":60.815,"width_percent":0.44},{"sql":"select sum(amount) amount from `payments` where `created_by` = 6 and date = '2025-03-02' limit 1","type":"query","params":[],"bindings":["6","2025-03-02"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":801},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.30211,"duration":0.00025,"duration_str":"250\u03bcs","memory":0,"memory_str":null,"filename":"User.php:801","source":"app\/Models\/User.php:801","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=801","ajax":false,"filename":"User.php","line":"801"},"connection":"dailybooks_db","start_percent":61.256,"width_percent":0.175},{"sql":"select `bill_products`.`bill_id` as `bill`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(bill_products.price * bill_products.quantity) as sub_total, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as tax_values from `bill_products` left join `bills` on `bill_products`.`bill_id` = `bills`.`id` where (bills.send_date) = '2025-03-02' and `bills`.`created_by` = 6 group by `bill`","type":"query","params":[],"bindings":["2025-03-02","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":652},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":803},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.302773,"duration":0.0007199999999999999,"duration_str":"720\u03bcs","memory":0,"memory_str":null,"filename":"User.php:652","source":"app\/Models\/User.php:652","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=652","ajax":false,"filename":"User.php","line":"652"},"connection":"dailybooks_db","start_percent":61.43,"width_percent":0.503},{"sql":"select sum(amount) amount from `revenues` where `created_by` = 6 and date = '2025-03-01' limit 1","type":"query","params":[],"bindings":["6","2025-03-01"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":794},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.303884,"duration":0.00038,"duration_str":"380\u03bcs","memory":0,"memory_str":null,"filename":"User.php:794","source":"app\/Models\/User.php:794","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=794","ajax":false,"filename":"User.php","line":"794"},"connection":"dailybooks_db","start_percent":61.934,"width_percent":0.266},{"sql":"select `invoice_products`.`invoice_id` as `invoice`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(price * quantity) as sub_total, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as tax_values from `invoice_products` left join `invoices` on `invoice_products`.`invoice_id` = `invoices`.`id` where (invoices.send_date) = '2025-03-01' and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025-03-01","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":585},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":796},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.304759,"duration":0.00044,"duration_str":"440\u03bcs","memory":0,"memory_str":null,"filename":"User.php:585","source":"app\/Models\/User.php:585","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=585","ajax":false,"filename":"User.php","line":"585"},"connection":"dailybooks_db","start_percent":62.199,"width_percent":0.308},{"sql":"select sum(amount) amount from `payments` where `created_by` = 6 and date = '2025-03-01' limit 1","type":"query","params":[],"bindings":["6","2025-03-01"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":801},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.3055809,"duration":0.00025,"duration_str":"250\u03bcs","memory":0,"memory_str":null,"filename":"User.php:801","source":"app\/Models\/User.php:801","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=801","ajax":false,"filename":"User.php","line":"801"},"connection":"dailybooks_db","start_percent":62.507,"width_percent":0.175},{"sql":"select `bill_products`.`bill_id` as `bill`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(bill_products.price * bill_products.quantity) as sub_total, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as tax_values from `bill_products` left join `bills` on `bill_products`.`bill_id` = `bills`.`id` where (bills.send_date) = '2025-03-01' and `bills`.`created_by` = 6 group by `bill`","type":"query","params":[],"bindings":["2025-03-01","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":652},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":803},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.306272,"duration":0.0005,"duration_str":"500\u03bcs","memory":0,"memory_str":null,"filename":"User.php:652","source":"app\/Models\/User.php:652","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=652","ajax":false,"filename":"User.php","line":"652"},"connection":"dailybooks_db","start_percent":62.682,"width_percent":0.35},{"sql":"select sum(amount) amount from `revenues` where `created_by` = 6 and date = '2025-02-28' limit 1","type":"query","params":[],"bindings":["6","2025-02-28"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":794},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.307157,"duration":0.00028000000000000003,"duration_str":"280\u03bcs","memory":0,"memory_str":null,"filename":"User.php:794","source":"app\/Models\/User.php:794","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=794","ajax":false,"filename":"User.php","line":"794"},"connection":"dailybooks_db","start_percent":63.031,"width_percent":0.196},{"sql":"select `invoice_products`.`invoice_id` as `invoice`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(price * quantity) as sub_total, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as tax_values from `invoice_products` left join `invoices` on `invoice_products`.`invoice_id` = `invoices`.`id` where (invoices.send_date) = '2025-02-28' and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025-02-28","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":585},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":796},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.3078592,"duration":0.00064,"duration_str":"640\u03bcs","memory":0,"memory_str":null,"filename":"User.php:585","source":"app\/Models\/User.php:585","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=585","ajax":false,"filename":"User.php","line":"585"},"connection":"dailybooks_db","start_percent":63.227,"width_percent":0.447},{"sql":"select sum(amount) amount from `payments` where `created_by` = 6 and date = '2025-02-28' limit 1","type":"query","params":[],"bindings":["6","2025-02-28"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":801},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.308888,"duration":0.00038,"duration_str":"380\u03bcs","memory":0,"memory_str":null,"filename":"User.php:801","source":"app\/Models\/User.php:801","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=801","ajax":false,"filename":"User.php","line":"801"},"connection":"dailybooks_db","start_percent":63.674,"width_percent":0.266},{"sql":"select `bill_products`.`bill_id` as `bill`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(bill_products.price * bill_products.quantity) as sub_total, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as tax_values from `bill_products` left join `bills` on `bill_products`.`bill_id` = `bills`.`id` where (bills.send_date) = '2025-02-28' and `bills`.`created_by` = 6 group by `bill`","type":"query","params":[],"bindings":["2025-02-28","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":652},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":803},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.309741,"duration":0.00055,"duration_str":"550\u03bcs","memory":0,"memory_str":null,"filename":"User.php:652","source":"app\/Models\/User.php:652","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=652","ajax":false,"filename":"User.php","line":"652"},"connection":"dailybooks_db","start_percent":63.94,"width_percent":0.385},{"sql":"select sum(amount) amount from `revenues` where `created_by` = 6 and date = '2025-02-27' limit 1","type":"query","params":[],"bindings":["6","2025-02-27"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":794},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.310791,"duration":0.0014299999999999998,"duration_str":"1.43ms","memory":0,"memory_str":null,"filename":"User.php:794","source":"app\/Models\/User.php:794","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=794","ajax":false,"filename":"User.php","line":"794"},"connection":"dailybooks_db","start_percent":64.325,"width_percent":1},{"sql":"select `invoice_products`.`invoice_id` as `invoice`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(price * quantity) as sub_total, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as tax_values from `invoice_products` left join `invoices` on `invoice_products`.`invoice_id` = `invoices`.`id` where (invoices.send_date) = '2025-02-27' and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025-02-27","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":585},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":796},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.312929,"duration":0.00074,"duration_str":"740\u03bcs","memory":0,"memory_str":null,"filename":"User.php:585","source":"app\/Models\/User.php:585","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=585","ajax":false,"filename":"User.php","line":"585"},"connection":"dailybooks_db","start_percent":65.324,"width_percent":0.517},{"sql":"select sum(amount) amount from `payments` where `created_by` = 6 and date = '2025-02-27' limit 1","type":"query","params":[],"bindings":["6","2025-02-27"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":801},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.314183,"duration":0.00029,"duration_str":"290\u03bcs","memory":0,"memory_str":null,"filename":"User.php:801","source":"app\/Models\/User.php:801","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=801","ajax":false,"filename":"User.php","line":"801"},"connection":"dailybooks_db","start_percent":65.842,"width_percent":0.203},{"sql":"select `bill_products`.`bill_id` as `bill`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(bill_products.price * bill_products.quantity) as sub_total, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as tax_values from `bill_products` left join `bills` on `bill_products`.`bill_id` = `bills`.`id` where (bills.send_date) = '2025-02-27' and `bills`.`created_by` = 6 group by `bill`","type":"query","params":[],"bindings":["2025-02-27","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":652},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":803},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.314909,"duration":0.00064,"duration_str":"640\u03bcs","memory":0,"memory_str":null,"filename":"User.php:652","source":"app\/Models\/User.php:652","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=652","ajax":false,"filename":"User.php","line":"652"},"connection":"dailybooks_db","start_percent":66.044,"width_percent":0.447},{"sql":"select sum(amount) amount from `revenues` where `created_by` = 6 and date = '2025-02-26' limit 1","type":"query","params":[],"bindings":["6","2025-02-26"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":794},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.315983,"duration":0.0003,"duration_str":"300\u03bcs","memory":0,"memory_str":null,"filename":"User.php:794","source":"app\/Models\/User.php:794","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=794","ajax":false,"filename":"User.php","line":"794"},"connection":"dailybooks_db","start_percent":66.492,"width_percent":0.21},{"sql":"select `invoice_products`.`invoice_id` as `invoice`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(price * quantity) as sub_total, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as tax_values from `invoice_products` left join `invoices` on `invoice_products`.`invoice_id` = `invoices`.`id` where (invoices.send_date) = '2025-02-26' and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025-02-26","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":585},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":796},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.316727,"duration":0.00043,"duration_str":"430\u03bcs","memory":0,"memory_str":null,"filename":"User.php:585","source":"app\/Models\/User.php:585","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=585","ajax":false,"filename":"User.php","line":"585"},"connection":"dailybooks_db","start_percent":66.702,"width_percent":0.301},{"sql":"select sum(amount) amount from `payments` where `created_by` = 6 and date = '2025-02-26' limit 1","type":"query","params":[],"bindings":["6","2025-02-26"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":801},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.317561,"duration":0.00025,"duration_str":"250\u03bcs","memory":0,"memory_str":null,"filename":"User.php:801","source":"app\/Models\/User.php:801","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=801","ajax":false,"filename":"User.php","line":"801"},"connection":"dailybooks_db","start_percent":67.002,"width_percent":0.175},{"sql":"select `bill_products`.`bill_id` as `bill`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(bill_products.price * bill_products.quantity) as sub_total, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as tax_values from `bill_products` left join `bills` on `bill_products`.`bill_id` = `bills`.`id` where (bills.send_date) = '2025-02-26' and `bills`.`created_by` = 6 group by `bill`","type":"query","params":[],"bindings":["2025-02-26","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":652},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":803},{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":128},{"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":1741764845.318186,"duration":0.00035,"duration_str":"350\u03bcs","memory":0,"memory_str":null,"filename":"User.php:652","source":"app\/Models\/User.php:652","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=652","ajax":false,"filename":"User.php","line":"652"},"connection":"dailybooks_db","start_percent":67.177,"width_percent":0.245},{"sql":"select count(*) as aggregate from `taxes` where `created_by` = 6","type":"query","params":[],"bindings":["6"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":133},{"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":1741764845.318881,"duration":0.00038,"duration_str":"380\u03bcs","memory":0,"memory_str":null,"filename":"DashboardController.php:133","source":"app\/Http\/Controllers\/DashboardController.php:133","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FHttp%2FControllers%2FDashboardController.php&line=133","ajax":false,"filename":"DashboardController.php","line":"133"},"connection":"dailybooks_db","start_percent":67.422,"width_percent":0.266},{"sql":"select count(*) as aggregate from `product_service_categories` where `created_by` = 6","type":"query","params":[],"bindings":["6"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":134},{"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":1741764845.319576,"duration":0.00020999999999999998,"duration_str":"210\u03bcs","memory":0,"memory_str":null,"filename":"DashboardController.php:134","source":"app\/Http\/Controllers\/DashboardController.php:134","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FHttp%2FControllers%2FDashboardController.php&line=134","ajax":false,"filename":"DashboardController.php","line":"134"},"connection":"dailybooks_db","start_percent":67.687,"width_percent":0.147},{"sql":"select count(*) as aggregate from `product_service_units` where `created_by` = 6","type":"query","params":[],"bindings":["6"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":135},{"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":1741764845.321883,"duration":0.00231,"duration_str":"2.31ms","memory":0,"memory_str":null,"filename":"DashboardController.php:135","source":"app\/Http\/Controllers\/DashboardController.php:135","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FHttp%2FControllers%2FDashboardController.php&line=135","ajax":false,"filename":"DashboardController.php","line":"135"},"connection":"dailybooks_db","start_percent":67.834,"width_percent":1.615},{"sql":"select count(*) as aggregate from `bank_accounts` where `created_by` = 6","type":"query","params":[],"bindings":["6"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":136},{"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":1741764845.3259099,"duration":0.00307,"duration_str":"3.07ms","memory":0,"memory_str":null,"filename":"DashboardController.php:136","source":"app\/Http\/Controllers\/DashboardController.php:136","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FHttp%2FControllers%2FDashboardController.php&line=136","ajax":false,"filename":"DashboardController.php","line":"136"},"connection":"dailybooks_db","start_percent":69.449,"width_percent":2.146},{"sql":"select * from `bank_accounts` where `created_by` = 6 limit 5","type":"query","params":[],"bindings":["6"],"hints":null,"show_copy":false,"backtrace":[{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":138},{"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":1741764845.329382,"duration":0.00108,"duration_str":"1.08ms","memory":0,"memory_str":null,"filename":"DashboardController.php:138","source":"app\/Http\/Controllers\/DashboardController.php:138","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FHttp%2FControllers%2FDashboardController.php&line=138","ajax":false,"filename":"DashboardController.php","line":"138"},"connection":"dailybooks_db","start_percent":71.595,"width_percent":0.755},{"sql":"select `invoices`.*, `customers`.`name` as `customer_name` from `invoices` inner join `customers` on `invoices`.`customer_id` = `customers`.`id` where `invoices`.`created_by` = 6 order by `invoices`.`id` desc limit 5","type":"query","params":[],"bindings":["6"],"hints":null,"show_copy":false,"backtrace":[{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":144},{"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":1741764845.331048,"duration":0.00297,"duration_str":"2.97ms","memory":0,"memory_str":null,"filename":"DashboardController.php:144","source":"app\/Http\/Controllers\/DashboardController.php:144","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FHttp%2FControllers%2FDashboardController.php&line=144","ajax":false,"filename":"DashboardController.php","line":"144"},"connection":"dailybooks_db","start_percent":72.35,"width_percent":2.076},{"sql":"select `invoices`.`invoice_id` as `invoice`, sum((invoice_products.price * invoice_products.quantity) - invoice_products.discount) as price, (SELECT SUM(credit_notes.amount) FROM credit_notes WHERE credit_notes.invoice = invoices.id) as credit_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as total_tax from `invoices` left join `invoice_products` on `invoice_products`.`invoice_id` = `invoices`.`id` where `issue_date` >= '2025-03-03' and `issue_date` <= '2025-03-12' and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025-03-03","2025-03-12","6"],"hints":null,"show_copy":false,"backtrace":[{"index":15,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":859},{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":1029},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":146},{"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}],"start":1741764845.334956,"duration":0.00226,"duration_str":"2.26ms","memory":0,"memory_str":null,"filename":"User.php:859","source":"app\/Models\/User.php:859","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=859","ajax":false,"filename":"User.php","line":"859"},"connection":"dailybooks_db","start_percent":74.427,"width_percent":1.58},{"sql":"select `invoices`.`invoice_id` as `invoice`, sum((invoice_payments.amount)) as pay_price from `invoices` left join `invoice_payments` on `invoice_payments`.`invoice_id` = `invoices`.`id` where `issue_date` >= '2025-03-03' and `issue_date` <= '2025-03-12' and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025-03-03","2025-03-12","6"],"hints":null,"show_copy":false,"backtrace":[{"index":15,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":870},{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":1029},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":146},{"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}],"start":1741764845.34352,"duration":0.00272,"duration_str":"2.72ms","memory":0,"memory_str":null,"filename":"User.php:870","source":"app\/Models\/User.php:870","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=870","ajax":false,"filename":"User.php","line":"870"},"connection":"dailybooks_db","start_percent":76.007,"width_percent":1.902},{"sql":"select `invoices`.`invoice_id` as `invoice`, sum((invoice_products.price * invoice_products.quantity) - invoice_products.discount) as price, (SELECT SUM(credit_notes.amount) FROM credit_notes WHERE credit_notes.invoice = invoices.id) as credit_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as total_tax from `invoices` left join `invoice_products` on `invoice_products`.`invoice_id` = `invoices`.`id` where `issue_date` >= '2025-02-12' and `issue_date` <= '2025-03-12' and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025-02-12","2025-03-12","6"],"hints":null,"show_copy":false,"backtrace":[{"index":15,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":859},{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":1042},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":147},{"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}],"start":1741764845.346842,"duration":0.00075,"duration_str":"750\u03bcs","memory":0,"memory_str":null,"filename":"User.php:859","source":"app\/Models\/User.php:859","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=859","ajax":false,"filename":"User.php","line":"859"},"connection":"dailybooks_db","start_percent":77.908,"width_percent":0.524},{"sql":"select `invoices`.`invoice_id` as `invoice`, sum((invoice_payments.amount)) as pay_price from `invoices` left join `invoice_payments` on `invoice_payments`.`invoice_id` = `invoices`.`id` where `issue_date` >= '2025-02-12' and `issue_date` <= '2025-03-12' and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["2025-02-12","2025-03-12","6"],"hints":null,"show_copy":false,"backtrace":[{"index":15,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":870},{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":1042},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":147},{"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}],"start":1741764845.3481479,"duration":0.0004,"duration_str":"400\u03bcs","memory":0,"memory_str":null,"filename":"User.php:870","source":"app\/Models\/User.php:870","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=870","ajax":false,"filename":"User.php","line":"870"},"connection":"dailybooks_db","start_percent":78.433,"width_percent":0.28},{"sql":"select `bills`.*, `venders`.`name` as `vender_name` from `bills` inner join `venders` on `bills`.`vender_id` = `venders`.`id` where `bills`.`created_by` = 6 order by `bills`.`id` desc limit 5","type":"query","params":[],"bindings":["6"],"hints":null,"show_copy":false,"backtrace":[{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":153},{"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":1741764845.348984,"duration":0.00217,"duration_str":"2.17ms","memory":0,"memory_str":null,"filename":"DashboardController.php:153","source":"app\/Http\/Controllers\/DashboardController.php:153","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FHttp%2FControllers%2FDashboardController.php&line=153","ajax":false,"filename":"DashboardController.php","line":"153"},"connection":"dailybooks_db","start_percent":78.712,"width_percent":1.517},{"sql":"select `bills`.`bill_id` as `bill`, sum((bill_products.price * bill_products.quantity) - bill_products.discount) as price, (SELECT SUM(debit_notes.amount) FROM debit_notes\nWHERE debit_notes.bill = bills.id) as debit_price, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as total_tax from `bills` left join `bill_products` on `bill_products`.`bill_id` = `bills`.`id` where `bill_date` >= '2025-03-03' and `bill_date` <= '2025-03-12' and `bills`.`created_by` = 6 and `bills`.`type` = 'Bill' group by `bill`","type":"query","params":[],"bindings":["2025-03-03","2025-03-12","6","Bill"],"hints":null,"show_copy":false,"backtrace":[{"index":15,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":918},{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":1076},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":155},{"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}],"start":1741764845.351713,"duration":0.00217,"duration_str":"2.17ms","memory":0,"memory_str":null,"filename":"User.php:918","source":"app\/Models\/User.php:918","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=918","ajax":false,"filename":"User.php","line":"918"},"connection":"dailybooks_db","start_percent":80.229,"width_percent":1.517},{"sql":"select `bills`.`bill_id` as `bill`, sum((bill_payments.amount)) as pay_price from `bills` left join `bill_payments` on `bill_payments`.`bill_id` = `bills`.`id` where `bill_date` >= '2025-03-03' and `bill_date` <= '2025-03-12' and `bills`.`created_by` = 6 and `bills`.`type` = 'Bill' group by `bill`","type":"query","params":[],"bindings":["2025-03-03","2025-03-12","6","Bill"],"hints":null,"show_copy":false,"backtrace":[{"index":15,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":930},{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":1076},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":155},{"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}],"start":1741764845.3544278,"duration":0.00183,"duration_str":"1.83ms","memory":0,"memory_str":null,"filename":"User.php:930","source":"app\/Models\/User.php:930","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=930","ajax":false,"filename":"User.php","line":"930"},"connection":"dailybooks_db","start_percent":81.746,"width_percent":1.279},{"sql":"select `bills`.`bill_id` as `bill`, sum((bill_products.price * bill_products.quantity) - bill_products.discount) as price, (SELECT SUM(debit_notes.amount) FROM debit_notes\nWHERE debit_notes.bill = bills.id) as debit_price, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as total_tax from `bills` left join `bill_products` on `bill_products`.`bill_id` = `bills`.`id` where `bill_date` >= '2025-03-03' and `bill_date` <= '2025-03-12' and `bills`.`created_by` = 6 and `bills`.`type` = 'Expense' group by `bill`","type":"query","params":[],"bindings":["2025-03-03","2025-03-12","6","Expense"],"hints":null,"show_copy":false,"backtrace":[{"index":15,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":980},{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":1077},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":155},{"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}],"start":1741764845.3566298,"duration":0.00041999999999999996,"duration_str":"420\u03bcs","memory":0,"memory_str":null,"filename":"User.php:980","source":"app\/Models\/User.php:980","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=980","ajax":false,"filename":"User.php","line":"980"},"connection":"dailybooks_db","start_percent":83.026,"width_percent":0.294},{"sql":"select `bills`.`bill_id` as `bill`, sum((bill_payments.amount)) as pay_price from `bills` left join `bill_payments` on `bill_payments`.`bill_id` = `bills`.`id` where `bill_date` >= '2025-03-03' and `bill_date` <= '2025-03-12' and `bills`.`created_by` = 6 and `bills`.`type` = 'Expense' group by `bill`","type":"query","params":[],"bindings":["2025-03-03","2025-03-12","6","Expense"],"hints":null,"show_copy":false,"backtrace":[{"index":15,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":992},{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":1077},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":155},{"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}],"start":1741764845.35744,"duration":0.00039,"duration_str":"390\u03bcs","memory":0,"memory_str":null,"filename":"User.php:992","source":"app\/Models\/User.php:992","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=992","ajax":false,"filename":"User.php","line":"992"},"connection":"dailybooks_db","start_percent":83.319,"width_percent":0.273},{"sql":"select `bills`.`bill_id` as `bill`, sum((bill_products.price * bill_products.quantity) - bill_products.discount) as price, (SELECT SUM(debit_notes.amount) FROM debit_notes\nWHERE debit_notes.bill = bills.id) as debit_price, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as total_tax from `bills` left join `bill_products` on `bill_products`.`bill_id` = `bills`.`id` where `bill_date` >= '2025-02-12' and `bill_date` <= '2025-03-12' and `bills`.`created_by` = 6 and `bills`.`type` = 'Bill' group by `bill`","type":"query","params":[],"bindings":["2025-02-12","2025-03-12","6","Bill"],"hints":null,"show_copy":false,"backtrace":[{"index":15,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":918},{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":1089},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":156},{"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}],"start":1741764845.35827,"duration":0.00041,"duration_str":"410\u03bcs","memory":0,"memory_str":null,"filename":"User.php:918","source":"app\/Models\/User.php:918","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=918","ajax":false,"filename":"User.php","line":"918"},"connection":"dailybooks_db","start_percent":83.592,"width_percent":0.287},{"sql":"select `bills`.`bill_id` as `bill`, sum((bill_payments.amount)) as pay_price from `bills` left join `bill_payments` on `bill_payments`.`bill_id` = `bills`.`id` where `bill_date` >= '2025-02-12' and `bill_date` <= '2025-03-12' and `bills`.`created_by` = 6 and `bills`.`type` = 'Bill' group by `bill`","type":"query","params":[],"bindings":["2025-02-12","2025-03-12","6","Bill"],"hints":null,"show_copy":false,"backtrace":[{"index":15,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":930},{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":1089},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":156},{"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}],"start":1741764845.359113,"duration":0.00035999999999999997,"duration_str":"360\u03bcs","memory":0,"memory_str":null,"filename":"User.php:930","source":"app\/Models\/User.php:930","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=930","ajax":false,"filename":"User.php","line":"930"},"connection":"dailybooks_db","start_percent":83.879,"width_percent":0.252},{"sql":"select `bills`.`bill_id` as `bill`, sum((bill_products.price * bill_products.quantity) - bill_products.discount) as price, (SELECT SUM(debit_notes.amount) FROM debit_notes\nWHERE debit_notes.bill = bills.id) as debit_price, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as total_tax from `bills` left join `bill_products` on `bill_products`.`bill_id` = `bills`.`id` where `bill_date` >= '2025-02-12' and `bill_date` <= '2025-03-12' and `bills`.`created_by` = 6 and `bills`.`type` = 'Expense' group by `bill`","type":"query","params":[],"bindings":["2025-02-12","2025-03-12","6","Expense"],"hints":null,"show_copy":false,"backtrace":[{"index":15,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":980},{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":1090},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":156},{"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}],"start":1741764845.359874,"duration":0.00045,"duration_str":"450\u03bcs","memory":0,"memory_str":null,"filename":"User.php:980","source":"app\/Models\/User.php:980","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=980","ajax":false,"filename":"User.php","line":"980"},"connection":"dailybooks_db","start_percent":84.13,"width_percent":0.315},{"sql":"select `bills`.`bill_id` as `bill`, sum((bill_payments.amount)) as pay_price from `bills` left join `bill_payments` on `bill_payments`.`bill_id` = `bills`.`id` where `bill_date` >= '2025-02-12' and `bill_date` <= '2025-03-12' and `bills`.`created_by` = 6 and `bills`.`type` = 'Expense' group by `bill`","type":"query","params":[],"bindings":["2025-02-12","2025-03-12","6","Expense"],"hints":null,"show_copy":false,"backtrace":[{"index":15,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":992},{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":1090},{"index":17,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":156},{"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}],"start":1741764845.360655,"duration":0.00047,"duration_str":"470\u03bcs","memory":0,"memory_str":null,"filename":"User.php:992","source":"app\/Models\/User.php:992","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=992","ajax":false,"filename":"User.php","line":"992"},"connection":"dailybooks_db","start_percent":84.445,"width_percent":0.329},{"sql":"select * from `goals` where `created_by` = 6 and `is_display` = 1","type":"query","params":[],"bindings":["6","1"],"hints":null,"show_copy":false,"backtrace":[{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":157},{"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":1741764845.363217,"duration":0.0022,"duration_str":"2.2ms","memory":0,"memory_str":null,"filename":"DashboardController.php:157","source":"app\/Http\/Controllers\/DashboardController.php:157","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FHttp%2FControllers%2FDashboardController.php&line=157","ajax":false,"filename":"DashboardController.php","line":"157"},"connection":"dailybooks_db","start_percent":84.773,"width_percent":1.538},{"sql":"select * from `users` where `users`.`id` = 6 limit 1","type":"query","params":[],"bindings":["6"],"hints":null,"show_copy":false,"backtrace":[{"index":20,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":160},{"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":1741764845.365854,"duration":0.00049,"duration_str":"490\u03bcs","memory":0,"memory_str":null,"filename":"DashboardController.php:160","source":"app\/Http\/Controllers\/DashboardController.php:160","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FHttp%2FControllers%2FDashboardController.php&line=160","ajax":false,"filename":"DashboardController.php","line":"160"},"connection":"dailybooks_db","start_percent":86.312,"width_percent":0.343},{"sql":"select * from `plans` where `plans`.`id` = 1 limit 1","type":"query","params":[],"bindings":["1"],"hints":null,"show_copy":false,"backtrace":[{"index":20,"namespace":null,"name":"app\/Models\/Plan.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/Plan.php","line":65},{"index":21,"namespace":null,"name":"app\/Http\/Controllers\/DashboardController.php","file":"\/var\/www\/dailybooks.com\/app\/Http\/Controllers\/DashboardController.php","line":161},{"index":22,"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":23,"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":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":262}],"start":1741764845.3668191,"duration":0.00027,"duration_str":"270\u03bcs","memory":0,"memory_str":null,"filename":"Plan.php:65","source":"app\/Models\/Plan.php:65","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FPlan.php&line=65","ajax":false,"filename":"Plan.php","line":"65"},"connection":"dailybooks_db","start_percent":86.654,"width_percent":0.189},{"sql":"select count(*) as aggregate from `customers` where `created_by` = 6","type":"query","params":[],"bindings":["6"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":392},{"index":17,"namespace":"view","name":"dashboard.account-dashboard","file":"\/var\/www\/dailybooks.com\/resources\/views\/dashboard\/account-dashboard.blade.php","line":258},{"index":19,"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":20,"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},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/CompilerEngine.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/CompilerEngine.php","line":73}],"start":1741764845.372783,"duration":0.00121,"duration_str":"1.21ms","memory":0,"memory_str":null,"filename":"User.php:392","source":"app\/Models\/User.php:392","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=392","ajax":false,"filename":"User.php","line":"392"},"connection":"dailybooks_db","start_percent":86.843,"width_percent":0.846},{"sql":"select count(*) as aggregate from `venders` where `created_by` = 6","type":"query","params":[],"bindings":["6"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":397},{"index":17,"namespace":"view","name":"dashboard.account-dashboard","file":"\/var\/www\/dailybooks.com\/resources\/views\/dashboard\/account-dashboard.blade.php","line":273},{"index":19,"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":20,"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},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/CompilerEngine.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/CompilerEngine.php","line":73}],"start":1741764845.376387,"duration":0.00146,"duration_str":"1.46ms","memory":0,"memory_str":null,"filename":"User.php:397","source":"app\/Models\/User.php:397","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=397","ajax":false,"filename":"User.php","line":"397"},"connection":"dailybooks_db","start_percent":87.689,"width_percent":1.021},{"sql":"select count(*) as aggregate from `invoices` where `created_by` = 6","type":"query","params":[],"bindings":["6"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":402},{"index":17,"namespace":"view","name":"dashboard.account-dashboard","file":"\/var\/www\/dailybooks.com\/resources\/views\/dashboard\/account-dashboard.blade.php","line":287},{"index":19,"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":20,"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},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/CompilerEngine.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/CompilerEngine.php","line":73}],"start":1741764845.378213,"duration":0.0004,"duration_str":"400\u03bcs","memory":0,"memory_str":null,"filename":"User.php:402","source":"app\/Models\/User.php:402","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=402","ajax":false,"filename":"User.php","line":"402"},"connection":"dailybooks_db","start_percent":88.709,"width_percent":0.28},{"sql":"select count(*) as aggregate from `bills` where `created_by` = 6","type":"query","params":[],"bindings":["6"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":407},{"index":17,"namespace":"view","name":"dashboard.account-dashboard","file":"\/var\/www\/dailybooks.com\/resources\/views\/dashboard\/account-dashboard.blade.php","line":299},{"index":19,"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":20,"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},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/CompilerEngine.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/CompilerEngine.php","line":73}],"start":1741764845.378957,"duration":0.00019,"duration_str":"190\u03bcs","memory":0,"memory_str":null,"filename":"User.php:407","source":"app\/Models\/User.php:407","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=407","ajax":false,"filename":"User.php","line":"407"},"connection":"dailybooks_db","start_percent":88.989,"width_percent":0.133},{"sql":"select sum(`amount`) as aggregate from `revenues` where `created_by` = 6 and Date(date) = CURDATE() and `created_by` = 6","type":"query","params":[],"bindings":["6","6"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":412},{"index":17,"namespace":"view","name":"dashboard.account-dashboard","file":"\/var\/www\/dailybooks.com\/resources\/views\/dashboard\/account-dashboard.blade.php","line":354},{"index":19,"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":20,"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},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/CompilerEngine.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/CompilerEngine.php","line":73}],"start":1741764845.380363,"duration":0.00058,"duration_str":"580\u03bcs","memory":0,"memory_str":null,"filename":"User.php:412","source":"app\/Models\/User.php:412","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=412","ajax":false,"filename":"User.php","line":"412"},"connection":"dailybooks_db","start_percent":89.122,"width_percent":0.405},{"sql":"select `invoice_products`.`invoice_id` as `invoice`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(price * quantity) as sub_total, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as tax_values from `invoice_products` left join `invoices` on `invoice_products`.`invoice_id` = `invoices`.`id` where (invoices.send_date) = '25-03-12' and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["25-03-12","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":585},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":413},{"index":15,"namespace":"view","name":"dashboard.account-dashboard","file":"\/var\/www\/dailybooks.com\/resources\/views\/dashboard\/account-dashboard.blade.php","line":354},{"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":1741764845.381339,"duration":0.00062,"duration_str":"620\u03bcs","memory":0,"memory_str":null,"filename":"User.php:585","source":"app\/Models\/User.php:585","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=585","ajax":false,"filename":"User.php","line":"585"},"connection":"dailybooks_db","start_percent":89.527,"width_percent":0.433},{"sql":"select sum(`amount`) as aggregate from `payments` where `created_by` = 6 and `created_by` = 6 and Date(date) = CURDATE()","type":"query","params":[],"bindings":["6","6"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":428},{"index":17,"namespace":"view","name":"dashboard.account-dashboard","file":"\/var\/www\/dailybooks.com\/resources\/views\/dashboard\/account-dashboard.blade.php","line":365},{"index":19,"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":20,"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},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/CompilerEngine.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/CompilerEngine.php","line":73}],"start":1741764845.3825989,"duration":0.0005600000000000001,"duration_str":"560\u03bcs","memory":0,"memory_str":null,"filename":"User.php:428","source":"app\/Models\/User.php:428","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=428","ajax":false,"filename":"User.php","line":"428"},"connection":"dailybooks_db","start_percent":89.961,"width_percent":0.391},{"sql":"select `bill_products`.`bill_id` as `bill`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(bill_products.price * bill_products.quantity) as sub_total, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as tax_values from `bill_products` left join `bills` on `bill_products`.`bill_id` = `bills`.`id` where (bills.send_date) = '25-03-12' and `bills`.`created_by` = 6 group by `bill`","type":"query","params":[],"bindings":["25-03-12","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":652},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":430},{"index":15,"namespace":"view","name":"dashboard.account-dashboard","file":"\/var\/www\/dailybooks.com\/resources\/views\/dashboard\/account-dashboard.blade.php","line":365},{"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":1741764845.3835762,"duration":0.00067,"duration_str":"670\u03bcs","memory":0,"memory_str":null,"filename":"User.php:652","source":"app\/Models\/User.php:652","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=652","ajax":false,"filename":"User.php","line":"652"},"connection":"dailybooks_db","start_percent":90.352,"width_percent":0.468},{"sql":"select sum(`amount`) as aggregate from `revenues` where `created_by` = 6 and MONTH(date) = '03'","type":"query","params":[],"bindings":["6","03"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":448},{"index":17,"namespace":"view","name":"dashboard.account-dashboard","file":"\/var\/www\/dailybooks.com\/resources\/views\/dashboard\/account-dashboard.blade.php","line":376},{"index":19,"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":20,"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},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/CompilerEngine.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/CompilerEngine.php","line":73}],"start":1741764845.3855782,"duration":0.00031,"duration_str":"310\u03bcs","memory":0,"memory_str":null,"filename":"User.php:448","source":"app\/Models\/User.php:448","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=448","ajax":false,"filename":"User.php","line":"448"},"connection":"dailybooks_db","start_percent":90.821,"width_percent":0.217},{"sql":"select `invoice_products`.`invoice_id` as `invoice`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(price * quantity) as sub_total, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM invoice_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, invoice_products.tax) > 0\nWHERE invoice_products.invoice_id = invoices.id) as tax_values from `invoice_products` left join `invoices` on `invoice_products`.`invoice_id` = `invoices`.`id` where MONTH(invoices.send_date) = '03' and `invoices`.`created_by` = 6 group by `invoice`","type":"query","params":[],"bindings":["03","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":600},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":449},{"index":15,"namespace":"view","name":"dashboard.account-dashboard","file":"\/var\/www\/dailybooks.com\/resources\/views\/dashboard\/account-dashboard.blade.php","line":376},{"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":1741764845.386281,"duration":0.00049,"duration_str":"490\u03bcs","memory":0,"memory_str":null,"filename":"User.php:600","source":"app\/Models\/User.php:600","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=600","ajax":false,"filename":"User.php","line":"600"},"connection":"dailybooks_db","start_percent":91.037,"width_percent":0.343},{"sql":"select sum(`amount`) as aggregate from `payments` where `created_by` = 6 and MONTH(date) = '03'","type":"query","params":[],"bindings":["6","03"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":486},{"index":17,"namespace":"view","name":"dashboard.account-dashboard","file":"\/var\/www\/dailybooks.com\/resources\/views\/dashboard\/account-dashboard.blade.php","line":387},{"index":19,"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":20,"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},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/CompilerEngine.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/CompilerEngine.php","line":73}],"start":1741764845.387359,"duration":0.00025,"duration_str":"250\u03bcs","memory":0,"memory_str":null,"filename":"User.php:486","source":"app\/Models\/User.php:486","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=486","ajax":false,"filename":"User.php","line":"486"},"connection":"dailybooks_db","start_percent":91.38,"width_percent":0.175},{"sql":"select `bill_products`.`bill_id` as `bill`, SUM(quantity) as total_quantity, SUM(discount) as total_discount, SUM(bill_products.price * bill_products.quantity) as sub_total, (SELECT SUM(bill_accounts.price) FROM bill_accounts\nWHERE bill_accounts.ref_id = bills.id) as acc_price, (SELECT SUM((price * quantity - discount) * (taxes.rate \/ 100)) FROM bill_products\nLEFT JOIN taxes ON FIND_IN_SET(taxes.id, bill_products.tax) > 0\nWHERE bill_products.bill_id = bills.id) as tax_values from `bill_products` left join `bills` on `bill_products`.`bill_id` = `bills`.`id` where MONTH(bills.send_date) = '03' and `bills`.`created_by` = 6 group by `bill`","type":"query","params":[],"bindings":["03","6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":669},{"index":14,"namespace":null,"name":"app\/Models\/User.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/User.php","line":487},{"index":15,"namespace":"view","name":"dashboard.account-dashboard","file":"\/var\/www\/dailybooks.com\/resources\/views\/dashboard\/account-dashboard.blade.php","line":387},{"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":1741764845.38806,"duration":0.00115,"duration_str":"1.15ms","memory":0,"memory_str":null,"filename":"User.php:669","source":"app\/Models\/User.php:669","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=669","ajax":false,"filename":"User.php","line":"669"},"connection":"dailybooks_db","start_percent":91.555,"width_percent":0.804},{"sql":"select * from `invoice_products` where `invoice_products`.`invoice_id` = 3 and `invoice_products`.`invoice_id` is not null","type":"query","params":[],"bindings":["3"],"hints":null,"show_copy":false,"backtrace":[{"index":20,"namespace":null,"name":"app\/Models\/Invoice.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/Invoice.php","line":73},{"index":21,"namespace":null,"name":"app\/Models\/Invoice.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/Invoice.php","line":67},{"index":22,"namespace":"view","name":"dashboard.account-dashboard","file":"\/var\/www\/dailybooks.com\/resources\/views\/dashboard\/account-dashboard.blade.php","line":557},{"index":24,"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":25,"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":1741764845.391545,"duration":0.00107,"duration_str":"1.07ms","memory":0,"memory_str":null,"filename":"Invoice.php:73","source":"app\/Models\/Invoice.php:73","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FInvoice.php&line=73","ajax":false,"filename":"Invoice.php","line":"73"},"connection":"dailybooks_db","start_percent":92.359,"width_percent":0.748},{"sql":"select * from `invoice_products` where `invoice_products`.`invoice_id` = 2 and `invoice_products`.`invoice_id` is not null","type":"query","params":[],"bindings":["2"],"hints":null,"show_copy":false,"backtrace":[{"index":20,"namespace":null,"name":"app\/Models\/Invoice.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/Invoice.php","line":73},{"index":21,"namespace":null,"name":"app\/Models\/Invoice.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/Invoice.php","line":67},{"index":22,"namespace":"view","name":"dashboard.account-dashboard","file":"\/var\/www\/dailybooks.com\/resources\/views\/dashboard\/account-dashboard.blade.php","line":557},{"index":24,"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":25,"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":1741764845.393836,"duration":0.00067,"duration_str":"670\u03bcs","memory":0,"memory_str":null,"filename":"Invoice.php:73","source":"app\/Models\/Invoice.php:73","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FInvoice.php&line=73","ajax":false,"filename":"Invoice.php","line":"73"},"connection":"dailybooks_db","start_percent":93.107,"width_percent":0.468},{"sql":"select * from `invoice_products` where `invoice_products`.`invoice_id` = 1 and `invoice_products`.`invoice_id` is not null","type":"query","params":[],"bindings":["1"],"hints":null,"show_copy":false,"backtrace":[{"index":20,"namespace":null,"name":"app\/Models\/Invoice.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/Invoice.php","line":73},{"index":21,"namespace":null,"name":"app\/Models\/Invoice.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/Invoice.php","line":67},{"index":22,"namespace":"view","name":"dashboard.account-dashboard","file":"\/var\/www\/dailybooks.com\/resources\/views\/dashboard\/account-dashboard.blade.php","line":557},{"index":24,"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":25,"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":1741764845.3952992,"duration":0.00044,"duration_str":"440\u03bcs","memory":0,"memory_str":null,"filename":"Invoice.php:73","source":"app\/Models\/Invoice.php:73","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FInvoice.php&line=73","ajax":false,"filename":"Invoice.php","line":"73"},"connection":"dailybooks_db","start_percent":93.575,"width_percent":0.308},{"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":"layouts.admin","file":"\/var\/www\/dailybooks.com\/resources\/views\/layouts\/admin.blade.php","line":5},{"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":1741764845.399338,"duration":0.00068,"duration_str":"680\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":93.883,"width_percent":0.475},{"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":"layouts.admin","file":"\/var\/www\/dailybooks.com\/resources\/views\/layouts\/admin.blade.php","line":28},{"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":1741764845.400842,"duration":0.0007099999999999999,"duration_str":"710\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.358,"width_percent":0.496},{"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":"partials.admin.menu","file":"\/var\/www\/dailybooks.com\/resources\/views\/partials\/admin\/menu.blade.php","line":4},{"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":1741764845.4023988,"duration":0.00078,"duration_str":"780\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.855,"width_percent":0.545},{"sql":"select * from `email_templates` limit 1","type":"query","params":[],"bindings":[],"hints":null,"show_copy":false,"backtrace":[{"index":19,"namespace":null,"name":"app\/Models\/EmailTemplate.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/EmailTemplate.php","line":27},{"index":20,"namespace":"view","name":"partials.admin.menu","file":"\/var\/www\/dailybooks.com\/resources\/views\/partials\/admin\/menu.blade.php","line":10},{"index":22,"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":23,"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},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/CompilerEngine.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/CompilerEngine.php","line":73}],"start":1741764845.404192,"duration":0.0004,"duration_str":"400\u03bcs","memory":0,"memory_str":null,"filename":"EmailTemplate.php:27","source":"app\/Models\/EmailTemplate.php:27","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FEmailTemplate.php&line=27","ajax":false,"filename":"EmailTemplate.php","line":"27"},"connection":"dailybooks_db","start_percent":95.4,"width_percent":0.28},{"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":"partials.admin.header","file":"\/var\/www\/dailybooks.com\/resources\/views\/partials\/admin\/header.blade.php","line":3},{"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":1741764845.4472249,"duration":0.0005899999999999999,"duration_str":"590\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":95.68,"width_percent":0.412},{"sql":"select table_name as `name`, (data_length + index_length) as `size`, table_comment as `comment`, engine as `engine`, table_collation as `collation` from information_schema.tables where table_schema = 'dailybooks_db' and table_type in ('BASE TABLE', 'SYSTEM VERSIONED') order by table_name","type":"query","params":[],"bindings":[],"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":526},{"index":14,"namespace":"view","name":"partials.admin.header","file":"\/var\/www\/dailybooks.com\/resources\/views\/partials\/admin\/header.blade.php","line":4},{"index":16,"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":17,"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},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/CompilerEngine.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/CompilerEngine.php","line":73}],"start":1741764845.4482932,"duration":0.00432,"duration_str":"4.32ms","memory":0,"memory_str":null,"filename":"Utility.php:526","source":"app\/Models\/Utility.php:526","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUtility.php&line=526","ajax":false,"filename":"Utility.php","line":"526"},"connection":"dailybooks_db","start_percent":96.092,"width_percent":3.02},{"sql":"select `full_name`, `code` from `languages`","type":"query","params":[],"bindings":[],"hints":null,"show_copy":false,"backtrace":[{"index":17,"namespace":null,"name":"app\/Models\/Utility.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/Utility.php","line":532},{"index":18,"namespace":"view","name":"partials.admin.header","file":"\/var\/www\/dailybooks.com\/resources\/views\/partials\/admin\/header.blade.php","line":4},{"index":20,"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":21,"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},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/CompilerEngine.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/CompilerEngine.php","line":73}],"start":1741764845.4534562,"duration":0.0003,"duration_str":"300\u03bcs","memory":0,"memory_str":null,"filename":"Utility.php:532","source":"app\/Models\/Utility.php:532","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUtility.php&line=532","ajax":false,"filename":"Utility.php","line":"532"},"connection":"dailybooks_db","start_percent":99.112,"width_percent":0.21},{"sql":"select count(*) as aggregate from `ch_messages` where `to_id` = 6 and `seen` = 0","type":"query","params":[],"bindings":["6","0"],"hints":null,"show_copy":false,"backtrace":[{"index":16,"namespace":"view","name":"partials.admin.header","file":"\/var\/www\/dailybooks.com\/resources\/views\/partials\/admin\/header.blade.php","line":18},{"index":18,"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":19,"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},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/CompilerEngine.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/View\/Engines\/CompilerEngine.php","line":73},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/View.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/View\/View.php","line":208}],"start":1741764845.454638,"duration":0.0004,"duration_str":"400\u03bcs","memory":0,"memory_str":null,"filename":"partials.admin.header:18","source":"view::partials.admin.header:18","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fresources%2Fviews%2Fpartials%2Fadmin%2Fheader.blade.php&line=18","ajax":false,"filename":"header.blade.php","line":"18"},"connection":"dailybooks_db","start_percent":99.322,"width_percent":0.28},{"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":5923},{"index":15,"namespace":"view","name":"partials.admin.footer","file":"\/var\/www\/dailybooks.com\/resources\/views\/partials\/admin\/footer.blade.php","line":4},{"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":1741764845.456238,"duration":0.00057,"duration_str":"570\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":99.602,"width_percent":0.398}]},"models":{"data":{"App\\Models\\Revenue":{"value":27,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FRevenue.php&line=1","ajax":false,"filename":"Revenue.php","line":"?"}},"App\\Models\\Payment":{"value":27,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FPayment.php&line=1","ajax":false,"filename":"Payment.php","line":"?"}},"App\\Models\\Invoice":{"value":18,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FInvoice.php&line=1","ajax":false,"filename":"Invoice.php","line":"?"}},"App\\Models\\InvoiceProduct":{"value":6,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FInvoiceProduct.php&line=1","ajax":false,"filename":"InvoiceProduct.php","line":"?"}},"App\\Models\\User":{"value":2,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FUser.php&line=1","ajax":false,"filename":"User.php","line":"?"}},"App\\Models\\ProductServiceCategory":{"value":2,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FProductServiceCategory.php&line=1","ajax":false,"filename":"ProductServiceCategory.php","line":"?"}},"App\\Models\\Tax":{"value":2,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FTax.php&line=1","ajax":false,"filename":"Tax.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\\BankAccount":{"value":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FBankAccount.php&line=1","ajax":false,"filename":"BankAccount.php","line":"?"}},"App\\Models\\Plan":{"value":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fdailybooks.com%2Fapp%2FModels%2FPlan.php&line=1","ajax":false,"filename":"Plan.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":"?"}}},"count":88,"is_counter":true},"symfonymailer_mails":{"count":0,"mails":[]},"gate":{"count":97,"messages":[{"message":"[ability => show account dashboard, result => true, user => 6, arguments => []]","message_html":"
show account dashboard<\/span> [\n  \"ability<\/span>\" => \"show account dashboard<\/span>\"\n  \"result<\/span>\" => true<\/span>\n  \"user<\/span>\" => 6<\/span>\n  \"arguments<\/span>\" => \"[]<\/span>\"\n<\/samp>]\n<\/pre>