JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr{"__meta":{"id":"Xa86d7622a54ae17a084c9c99302b5d47","datetime":"2025-03-12 06:49:15","utime":1741762155.04832,"method":"GET","uri":"\/account-dashboard","ip":"152.58.232.155"},"php":{"version":"8.3.6","interface":"apache2handler"},"messages":{"count":4,"messages":[{"message":"[06:49:14] 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":1741762154.798386,"xdebug_link":null,"collector":"log"},{"message":"[06:49:14] 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":1741762154.798505,"xdebug_link":null,"collector":"log"},{"message":"[06:49:14] 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":1741762154.974652,"xdebug_link":null,"collector":"log"},{"message":"[06:49:14] 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":1741762154.975445,"xdebug_link":null,"collector":"log"}]},"time":{"start":1741762154.677131,"end":1741762155.04835,"duration":0.3712191581726074,"duration_str":"371ms","measures":[{"label":"Booting","start":1741762154.677131,"relative_start":0,"end":1741762154.749869,"relative_end":1741762154.749869,"duration":0.0727381706237793,"duration_str":"72.74ms","memory":0,"memory_str":"0B","params":[],"collector":"time"},{"label":"Application","start":1741762154.749884,"relative_start":0.0727529525756836,"end":1741762155.048353,"relative_end":2.86102294921875e-6,"duration":0.29846906661987305,"duration_str":"298ms","memory":0,"memory_str":"0B","params":[],"collector":"time"}]},"memory":{"peak_usage":8585776,"peak_usage_str":"8MB"},"exceptions":{"count":0,"exceptions":[]},"views":{"nb_templates":7,"templates":[{"name":"1x dashboard.account-dashboard","param_count":null,"params":[],"start":1741762154.959877,"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":1741762154.977986,"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":1741762154.979662,"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":1741762155.030641,"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":1741762155.044716,"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":1741762155.045679,"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":1741762155.045913,"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.13352000000000006,"accumulated_duration_str":"134ms","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":1741762154.752637,"duration":0.00405,"duration_str":"4.05ms","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":3.033},{"sql":"select * from `settings` where `created_by` = 6","type":"query","params":[],"bindings":["6"],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"app\/Models\/Utility.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/Utility.php","line":59},{"index":14,"namespace":null,"name":"app\/Models\/Utility.php","file":"\/var\/www\/dailybooks.com\/app\/Models\/Utility.php","line":300},{"index":15,"namespace":"middleware","name":"XSS","file":"\/var\/www\/dailybooks.com\/app\/Http\/Middleware\/XSS.php","line":28},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":183},{"index":17,"namespace":"middleware","name":"verified","file":"\/var\/www\/dailybooks.com\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/Middleware\/EnsureEmailIsVerified.php","line":41}],"start":1741762154.757719,"duration":0.00035999999999999997,"duration_str":"360\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":3.033,"width_percent":0.27},{"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":1741762154.7677102,"duration":0.00273,"duration_str":"2.73ms","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.303,"width_percent":2.045},{"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":1741762154.7713752,"duration":0.00221,"duration_str":"2.21ms","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":5.348,"width_percent":1.655},{"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":1741762154.7763739,"duration":0.00321,"duration_str":"3.21ms","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":7.003,"width_percent":2.404},{"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":1741762154.781317,"duration":0.00501,"duration_str":"5.01ms","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":9.407,"width_percent":3.752},{"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":1741762154.787092,"duration":0.00149,"duration_str":"1.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":13.159,"width_percent":1.116},{"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":1741762154.789742,"duration":0.00123,"duration_str":"1.23ms","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":14.275,"width_percent":0.921},{"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":1741762154.791498,"duration":0.00176,"duration_str":"1.76ms","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":15.196,"width_percent":1.318},{"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":1741762154.793956,"duration":0.0015,"duration_str":"1.5ms","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":16.514,"width_percent":1.123},{"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":1741762154.7964091,"duration":0.00151,"duration_str":"1.51ms","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":17.638,"width_percent":1.131},{"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":1741762154.79867,"duration":0.0003,"duration_str":"300\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":18.769,"width_percent":0.225},{"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":1741762154.799556,"duration":0.0004,"duration_str":"400\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.993,"width_percent":0.3},{"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":1741762154.801472,"duration":0.00369,"duration_str":"3.69ms","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":19.293,"width_percent":2.764},{"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":1741762154.807889,"duration":0.00038,"duration_str":"380\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":22.057,"width_percent":0.285},{"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":1741762154.809886,"duration":0.00886,"duration_str":"8.86ms","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":22.341,"width_percent":6.636},{"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":1741762154.819272,"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":28.977,"width_percent":0.232},{"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":1741762154.820293,"duration":0.00404,"duration_str":"4.04ms","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":29.209,"width_percent":3.026},{"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":1741762154.8248072,"duration":0.00029,"duration_str":"290\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.235,"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) = 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":1741762154.825507,"duration":0.00079,"duration_str":"790\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":32.452,"width_percent":0.592},{"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":1741762154.826664,"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":33.044,"width_percent":0.172},{"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":1741762154.8272688,"duration":0.00039,"duration_str":"390\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":33.216,"width_percent":0.292},{"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":1741762154.8280299,"duration":0.00023999999999999998,"duration_str":"240\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":33.508,"width_percent":0.18},{"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":1741762154.828686,"duration":0.00272,"duration_str":"2.72ms","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.688,"width_percent":2.037},{"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":1741762154.831868,"duration":0.00038,"duration_str":"380\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":35.725,"width_percent":0.285},{"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":1741762154.832798,"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.01,"width_percent":0.457},{"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":1741762154.8338022,"duration":0.00045,"duration_str":"450\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.466,"width_percent":0.337},{"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":1741762154.834745,"duration":0.0005,"duration_str":"500\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":36.803,"width_percent":0.374},{"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":1741762154.835655,"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.178,"width_percent":0.247},{"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":1741762154.836416,"duration":0.00066,"duration_str":"660\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.425,"width_percent":0.494},{"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":1741762154.837458,"duration":0.00025,"duration_str":"250\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":37.919,"width_percent":0.187},{"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":1741762154.8381538,"duration":0.00041999999999999996,"duration_str":"420\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":38.107,"width_percent":0.315},{"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":1741762154.83892,"duration":0.00028000000000000003,"duration_str":"280\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":38.421,"width_percent":0.21},{"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":1741762154.839562,"duration":0.00035999999999999997,"duration_str":"360\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":38.631,"width_percent":0.27},{"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":1741762154.8402848,"duration":0.00043,"duration_str":"430\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.901,"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) = 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":1741762154.8411279,"duration":0.0004,"duration_str":"400\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":39.223,"width_percent":0.3},{"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":1741762154.841888,"duration":0.00026000000000000003,"duration_str":"260\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.522,"width_percent":0.195},{"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":1741762154.842524,"duration":0.00037,"duration_str":"370\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.717,"width_percent":0.277},{"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":1741762154.8433928,"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":39.994,"width_percent":0.3},{"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":1741762154.844316,"duration":0.00058,"duration_str":"580\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.294,"width_percent":0.434},{"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":1741762154.8453648,"duration":0.00041999999999999996,"duration_str":"420\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.728,"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) = 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":1741762154.846251,"duration":0.00049,"duration_str":"490\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.043,"width_percent":0.367},{"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":1741762154.847103,"duration":0.00035,"duration_str":"350\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.41,"width_percent":0.262},{"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":1741762154.8479161,"duration":0.00049,"duration_str":"490\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.672,"width_percent":0.367},{"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":1741762154.848765,"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":42.039,"width_percent":0.27},{"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":1741762154.8495631,"duration":0.0005,"duration_str":"500\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.308,"width_percent":0.374},{"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":1741762154.850549,"duration":0.00054,"duration_str":"540\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.683,"width_percent":0.404},{"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":1741762154.851842,"duration":0.00061,"duration_str":"610\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.087,"width_percent":0.457},{"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":1741762154.852866,"duration":0.00038,"duration_str":"380\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.544,"width_percent":0.285},{"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":1741762154.854038,"duration":0.00083,"duration_str":"830\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.829,"width_percent":0.622},{"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":1741762154.855505,"duration":0.00102,"duration_str":"1.02ms","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":44.45,"width_percent":0.764},{"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":1741762154.8570712,"duration":0.00066,"duration_str":"660\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.214,"width_percent":0.494},{"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":1741762154.858166,"duration":0.00043,"duration_str":"430\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.709,"width_percent":0.322},{"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":1741762154.859059,"duration":0.00053,"duration_str":"530\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.031,"width_percent":0.397},{"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":1741762154.859999,"duration":0.00025,"duration_str":"250\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":46.428,"width_percent":0.187},{"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":1741762154.860707,"duration":0.0005200000000000001,"duration_str":"520\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":46.615,"width_percent":0.389},{"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":1741762154.8616621,"duration":0.00028000000000000003,"duration_str":"280\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":47.004,"width_percent":0.21},{"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":1741762154.862312,"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":47.214,"width_percent":0.33},{"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":1741762154.8631551,"duration":0.00033,"duration_str":"330\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":47.543,"width_percent":0.247},{"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":1741762154.863998,"duration":0.0005,"duration_str":"500\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":47.791,"width_percent":0.374},{"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":1741762154.864893,"duration":0.0003,"duration_str":"300\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":48.165,"width_percent":0.225},{"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":1741762154.865599,"duration":0.0014299999999999998,"duration_str":"1.43ms","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":48.39,"width_percent":1.071},{"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":1741762154.867997,"duration":0.0005200000000000001,"duration_str":"520\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.461,"width_percent":0.389},{"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":1741762154.8693411,"duration":0.00135,"duration_str":"1.35ms","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.85,"width_percent":1.011},{"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":1741762154.8714821,"duration":0.00031,"duration_str":"310\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":50.861,"width_percent":0.232},{"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":1741762154.87234,"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":51.093,"width_percent":0.27},{"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":1741762154.873441,"duration":0.00026000000000000003,"duration_str":"260\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.363,"width_percent":0.195},{"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":1741762154.87409,"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":51.558,"width_percent":0.292},{"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":1741762154.87478,"duration":0.00023,"duration_str":"230\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.85,"width_percent":0.172},{"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":1741762154.875389,"duration":0.00034,"duration_str":"340\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.022,"width_percent":0.255},{"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":1741762154.876065,"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":52.277,"width_percent":0.142},{"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":1741762154.876647,"duration":0.00031,"duration_str":"310\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.419,"width_percent":0.232},{"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":1741762154.8772361,"duration":0.00027,"duration_str":"270\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.651,"width_percent":0.202},{"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":1741762154.877894,"duration":0.00041,"duration_str":"410\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.854,"width_percent":0.307},{"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":1741762154.8786778,"duration":0.00023999999999999998,"duration_str":"240\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.161,"width_percent":0.18},{"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":1741762154.8792942,"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":53.34,"width_percent":0.33},{"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":1741762154.8800628,"duration":0.00023,"duration_str":"230\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":53.67,"width_percent":0.172},{"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":1741762154.880634,"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":53.842,"width_percent":0.374},{"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":1741762154.8814502,"duration":0.00027,"duration_str":"270\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.217,"width_percent":0.202},{"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":1741762154.882104,"duration":0.00035,"duration_str":"350\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":54.419,"width_percent":0.262},{"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":1741762154.8827379,"duration":0.00020999999999999998,"duration_str":"210\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.681,"width_percent":0.157},{"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":1741762154.8833048,"duration":0.00041999999999999996,"duration_str":"420\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.838,"width_percent":0.315},{"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":1741762154.884045,"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":55.153,"width_percent":0.142},{"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":1741762154.884537,"duration":0.00031,"duration_str":"310\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":55.295,"width_percent":0.232},{"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":1741762154.885129,"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":55.527,"width_percent":0.24},{"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":1741762154.8857422,"duration":0.00028000000000000003,"duration_str":"280\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":55.767,"width_percent":0.21},{"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":1741762154.8863192,"duration":0.00027,"duration_str":"270\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":55.977,"width_percent":0.202},{"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":1741762154.886912,"duration":0.00033,"duration_str":"330\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":56.179,"width_percent":0.247},{"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":1741762154.887577,"duration":0.00019,"duration_str":"190\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.426,"width_percent":0.142},{"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":1741762154.888136,"duration":0.00038,"duration_str":"380\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":56.568,"width_percent":0.285},{"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":1741762154.888809,"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":56.853,"width_percent":0.187},{"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":1741762154.889452,"duration":0.0004,"duration_str":"400\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.04,"width_percent":0.3},{"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":1741762154.890194,"duration":0.00026000000000000003,"duration_str":"260\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":57.34,"width_percent":0.195},{"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":1741762154.8908029,"duration":0.00038,"duration_str":"380\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":57.534,"width_percent":0.285},{"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":1741762154.891644,"duration":0.00044,"duration_str":"440\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.819,"width_percent":0.33},{"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":1741762154.892774,"duration":0.00087,"duration_str":"870\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":58.149,"width_percent":0.652},{"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":1741762154.8940458,"duration":0.00023999999999999998,"duration_str":"240\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.8,"width_percent":0.18},{"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":1741762154.894684,"duration":0.00049,"duration_str":"490\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.98,"width_percent":0.367},{"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":1741762154.895557,"duration":0.00023,"duration_str":"230\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":59.347,"width_percent":0.172},{"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":1741762154.8961642,"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":59.519,"width_percent":0.33},{"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":1741762154.897094,"duration":0.00041,"duration_str":"410\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.849,"width_percent":0.307},{"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":1741762154.898185,"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":60.156,"width_percent":0.374},{"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":1741762154.8991292,"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":60.53,"width_percent":0.24},{"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":1741762154.8999171,"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.77,"width_percent":0.472},{"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":1741762154.901143,"duration":0.00028000000000000003,"duration_str":"280\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.242,"width_percent":0.21},{"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":1741762154.901843,"duration":0.00038,"duration_str":"380\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.451,"width_percent":0.285},{"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":1741762154.9026108,"duration":0.00026000000000000003,"duration_str":"260\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.736,"width_percent":0.195},{"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":1741762154.9033089,"duration":0.00041999999999999996,"duration_str":"420\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":61.931,"width_percent":0.315},{"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":1741762154.904121,"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.245,"width_percent":0.187},{"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":1741762154.9047198,"duration":0.0004,"duration_str":"400\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.433,"width_percent":0.3},{"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":1741762154.905524,"duration":0.00029,"duration_str":"290\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":62.732,"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 (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":1741762154.90617,"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":62.949,"width_percent":0.292},{"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":1741762154.906961,"duration":0.00041999999999999996,"duration_str":"420\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.241,"width_percent":0.315},{"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":1741762154.908137,"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":63.556,"width_percent":0.277},{"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":1741762154.9090521,"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.833,"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-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":1741762154.9098482,"duration":0.00098,"duration_str":"980\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":64.043,"width_percent":0.734},{"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":1741762154.9112911,"duration":0.0008,"duration_str":"800\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":64.777,"width_percent":0.599},{"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":1741762154.912556,"duration":0.00053,"duration_str":"530\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":65.376,"width_percent":0.397},{"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":1741762154.913476,"duration":0.0005200000000000001,"duration_str":"520\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":65.773,"width_percent":0.389},{"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":1741762154.9143429,"duration":0.00055,"duration_str":"550\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.162,"width_percent":0.412},{"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":1741762154.9152248,"duration":0.00026000000000000003,"duration_str":"260\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":66.574,"width_percent":0.195},{"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":1741762154.915798,"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":66.769,"width_percent":0.27},{"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":1741762154.916537,"duration":0.00031,"duration_str":"310\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.039,"width_percent":0.232},{"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":1741762154.917152,"duration":0.00023999999999999998,"duration_str":"240\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.271,"width_percent":0.18},{"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":1741762154.9177969,"duration":0.00127,"duration_str":"1.27ms","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.451,"width_percent":0.951},{"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":1741762154.9204102,"duration":0.0024300000000000003,"duration_str":"2.43ms","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":68.402,"width_percent":1.82},{"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":1741762154.923276,"duration":0.00122,"duration_str":"1.22ms","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":70.222,"width_percent":0.914},{"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":1741762154.924893,"duration":0.00157,"duration_str":"1.57ms","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":71.135,"width_percent":1.176},{"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":1741762154.927259,"duration":0.0028,"duration_str":"2.8ms","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":72.311,"width_percent":2.097},{"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":1741762154.934201,"duration":0.00131,"duration_str":"1.31ms","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":74.408,"width_percent":0.981},{"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":1741762154.936318,"duration":0.00074,"duration_str":"740\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":75.389,"width_percent":0.554},{"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":1741762154.9375951,"duration":0.00045,"duration_str":"450\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":75.944,"width_percent":0.337},{"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":1741762154.93872,"duration":0.0011799999999999998,"duration_str":"1.18ms","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":76.281,"width_percent":0.884},{"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":1741762154.940583,"duration":0.003,"duration_str":"3ms","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":77.164,"width_percent":2.247},{"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":1741762154.944591,"duration":0.0021000000000000003,"duration_str":"2.1ms","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":79.411,"width_percent":1.573},{"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":1741762154.947275,"duration":0.00043,"duration_str":"430\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":80.984,"width_percent":0.322},{"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":1741762154.948151,"duration":0.00033,"duration_str":"330\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":81.306,"width_percent":0.247},{"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":1741762154.948896,"duration":0.00041999999999999996,"duration_str":"420\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":81.553,"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` = '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":1741762154.949753,"duration":0.00032,"duration_str":"320\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":81.868,"width_percent":0.24},{"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":1741762154.950408,"duration":0.0008900000000000001,"duration_str":"890\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":82.108,"width_percent":0.667},{"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":1741762154.9516401,"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":82.774,"width_percent":0.352},{"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":1741762154.953986,"duration":0.00248,"duration_str":"2.48ms","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":83.126,"width_percent":1.857},{"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":1741762154.956835,"duration":0.00034,"duration_str":"340\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":84.984,"width_percent":0.255},{"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":1741762154.957659,"duration":0.00126,"duration_str":"1.26ms","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":85.238,"width_percent":0.944},{"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":1741762154.9619842,"duration":0.00029,"duration_str":"290\u03bcs","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.182,"width_percent":0.217},{"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":1741762154.962851,"duration":0.00068,"duration_str":"680\u03bcs","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":86.399,"width_percent":0.509},{"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":1741762154.963851,"duration":0.00038,"duration_str":"380\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":86.908,"width_percent":0.285},{"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":1741762154.9645562,"duration":0.00027,"duration_str":"270\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":87.193,"width_percent":0.202},{"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":1741762154.965734,"duration":0.00057,"duration_str":"570\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":87.395,"width_percent":0.427},{"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":1741762154.9666948,"duration":0.00061,"duration_str":"610\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":87.822,"width_percent":0.457},{"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":1741762154.9678688,"duration":0.00023999999999999998,"duration_str":"240\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":88.279,"width_percent":0.18},{"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":1741762154.968458,"duration":0.00038,"duration_str":"380\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":88.459,"width_percent":0.285},{"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":1741762154.969632,"duration":0.00023999999999999998,"duration_str":"240\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":88.743,"width_percent":0.18},{"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":1741762154.970232,"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":88.923,"width_percent":0.367},{"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":1741762154.971169,"duration":0.00023999999999999998,"duration_str":"240\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":89.29,"width_percent":0.18},{"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":1741762154.971713,"duration":0.00038,"duration_str":"380\u03bcs","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":89.47,"width_percent":0.285},{"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":1741762154.972996,"duration":0.00023999999999999998,"duration_str":"240\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":89.754,"width_percent":0.18},{"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":1741762154.974114,"duration":0.00025,"duration_str":"250\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":89.934,"width_percent":0.187},{"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":1741762154.974938,"duration":0.00022,"duration_str":"220\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":90.121,"width_percent":0.165},{"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":1741762154.97812,"duration":0.00034,"duration_str":"340\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":90.286,"width_percent":0.255},{"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":1741762154.9790041,"duration":0.00027,"duration_str":"270\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":90.541,"width_percent":0.202},{"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":1741762154.979791,"duration":0.00033,"duration_str":"330\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":90.743,"width_percent":0.247},{"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":1741762154.980509,"duration":0.00075,"duration_str":"750\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":90.99,"width_percent":0.562},{"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":1741762155.030823,"duration":0.00074,"duration_str":"740\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":91.552,"width_percent":0.554},{"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":1741762155.0319612,"duration":0.00801,"duration_str":"8.01ms","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":92.106,"width_percent":5.999},{"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":1741762155.040874,"duration":0.00051,"duration_str":"510\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":98.105,"width_percent":0.382},{"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":1741762155.0422628,"duration":0.00165,"duration_str":"1.65ms","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":98.487,"width_percent":1.236},{"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":1741762155.044864,"duration":0.00037,"duration_str":"370\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.723,"width_percent":0.277}]},"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>