{"__meta":{"id":"01KT1MN2G2BK7B99JVJDTYV8QH","datetime":"2026-06-01 18:36:00","utime":1780319160.83535289764404296875,"method":"GET","uri":"\/public\/api\/parties\/1384\/ledger?company_id=2","ip":"122.169.52.10"},"messages":{"count":0,"messages":[]},"time":{"count":5,"start":1780319160.57211589813232421875,"end":1780319160.8353669643402099609375,"duration":0.2632510662078857421875,"duration_str":"263ms","measures":[{"label":"Booting","start":1780319160.57211589813232421875,"relative_start":0,"end":1780319160.7599370479583740234375,"relative_end":1780319160.7599370479583740234375,"duration":0.1878211498260498046875,"duration_str":"188ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Application","start":1780319160.7599470615386962890625,"relative_start":0.1878311634063720703125,"end":1780319160.835369110107421875,"relative_end":2.1457672119140625e-6,"duration":0.0754220485687255859375,"duration_str":"75.42ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Routing","start":1780319160.769999980926513671875,"relative_start":0.197884082794189453125,"end":1780319160.7722949981689453125,"relative_end":1780319160.7722949981689453125,"duration":0.002295017242431640625,"duration_str":"2.3ms","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1780319160.8304500579833984375,"relative_start":0.25833415985107421875,"end":1780319160.8307170867919921875,"relative_end":1780319160.8307170867919921875,"duration":0.00026702880859375,"duration_str":"267\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1780319160.833549976348876953125,"relative_start":0.261434078216552734375,"end":1780319160.8335940837860107421875,"relative_end":1780319160.8335940837860107421875,"duration":4.41074371337890625e-5,"duration_str":"44\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null}]},"memory":{"peak_usage":28077640,"peak_usage_str":"27MB"},"exceptions":{"count":0,"exceptions":[]},"laravel":{"version":"12.x","tooltip":{"Laravel Version":"12.55.1","PHP Version":"8.4.21","Environment":"local","Debug Mode":"Enabled","URL":"localhost","Timezone":"Asia\/Kolkata","Locale":"en"}},"views":{"count":0,"nb_templates":0,"templates":[]},"queries":{"count":19,"nb_statements":18,"nb_visible_statements":19,"nb_excluded_statements":0,"nb_failed_statements":0,"accumulated_duration":0.011650000000000000632827124036339228041470050811767578125,"accumulated_duration_str":"11.65ms","memory_usage":0,"memory_usage_str":null,"statements":[{"sql":"Connection Established","type":"transaction","params":[],"bindings":[],"hints":null,"show_copy":false,"backtrace":[{"index":7,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/SessionManager.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/SessionManager.php","line":108},{"index":8,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/SessionManager.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/SessionManager.php","line":95},{"index":11,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/Middleware\/StartSession.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/Middleware\/StartSession.php","line":158},{"index":12,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/Middleware\/StartSession.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/Middleware\/StartSession.php","line":56},{"index":13,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":219}],"start":1780319160.7823550701141357421875,"duration":0,"duration_str":"","slow":false,"memory":0,"memory_str":null,"filename":"SessionManager.php:108","source":{"index":7,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/SessionManager.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/SessionManager.php","line":108},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fvendor%2Flaravel%2Fframework%2Fsrc%2FIlluminate%2FSession%2FSessionManager.php&line=108","ajax":false,"filename":"SessionManager.php","line":"108"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":0,"width_percent":0},{"sql":"select * from `sessions` where `id` = 'EuCxJhfWdc1mQH6WYBBmFqupOHVpagfTQJVwItPz' limit 1","type":"query","params":[],"bindings":["EuCxJhfWdc1mQH6WYBBmFqupOHVpagfTQJVwItPz"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/DatabaseSessionHandler.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/DatabaseSessionHandler.php","line":96},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/Store.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/Store.php","line":128},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/Store.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/Store.php","line":116},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/Store.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/Store.php","line":100},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/Middleware\/StartSession.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/Middleware\/StartSession.php","line":146}],"start":1780319160.7893350124359130859375,"duration":0.0026900000000000001167121954637195813120342791080474853515625,"duration_str":"2.69ms","slow":false,"memory":0,"memory_str":null,"filename":"DatabaseSessionHandler.php:96","source":{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/DatabaseSessionHandler.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/DatabaseSessionHandler.php","line":96},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fvendor%2Flaravel%2Fframework%2Fsrc%2FIlluminate%2FSession%2FDatabaseSessionHandler.php&line=96","ajax":false,"filename":"DatabaseSessionHandler.php","line":"96"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":0,"width_percent":23.089999999999999857891452847979962825775146484375},{"sql":"select * from `users` where `id` = 1 limit 1","type":"query","params":[],"bindings":[1],"hints":null,"show_copy":true,"backtrace":[{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/EloquentUserProvider.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/EloquentUserProvider.php","line":58},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/SessionGuard.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/SessionGuard.php","line":189},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/AuthManager.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/AuthManager.php","line":334},{"index":20,"namespace":"middleware","name":"company.context","file":"\/home\/gigmoz\/public_html\/app\/Http\/Middleware\/SetActiveCompany.php","line":14},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":219}],"start":1780319160.8016049861907958984375,"duration":0.00075000000000000001561251128379126384970732033252716064453125,"duration_str":"750\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"EloquentUserProvider.php:58","source":{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/EloquentUserProvider.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/EloquentUserProvider.php","line":58},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fvendor%2Flaravel%2Fframework%2Fsrc%2FIlluminate%2FAuth%2FEloquentUserProvider.php&line=58","ajax":false,"filename":"EloquentUserProvider.php","line":"58"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":23.089999999999999857891452847979962825775146484375,"width_percent":6.43799999999999972288833305356092751026153564453125},{"sql":"select * from `companies` order by `name` asc","type":"query","params":[],"bindings":[],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Models\/User.php","file":"\/home\/gigmoz\/public_html\/app\/Models\/User.php","line":73},{"index":16,"namespace":null,"name":"app\/Models\/User.php","file":"\/home\/gigmoz\/public_html\/app\/Models\/User.php","line":81},{"index":17,"namespace":"middleware","name":"company.context","file":"\/home\/gigmoz\/public_html\/app\/Http\/Middleware\/SetActiveCompany.php","line":46},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":219},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/View\/Middleware\/ShareErrorsFromSession.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/View\/Middleware\/ShareErrorsFromSession.php","line":48}],"start":1780319160.8043220043182373046875,"duration":0.000619999999999999999895916591441391574335284531116485595703125,"duration_str":"620\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"User.php:73","source":{"index":15,"namespace":null,"name":"app\/Models\/User.php","file":"\/home\/gigmoz\/public_html\/app\/Models\/User.php","line":73},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FModels%2FUser.php&line=73","ajax":false,"filename":"User.php","line":"73"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":29.52799999999999869260136620141565799713134765625,"width_percent":5.32200000000000006394884621840901672840118408203125},{"sql":"select * from `customers` where `id` = '1384' limit 1","type":"query","params":[],"bindings":["1384"],"hints":null,"show_copy":true,"backtrace":[{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ImplicitRouteBinding.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ImplicitRouteBinding.php","line":60},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","line":980},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Middleware\/SubstituteBindings.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Middleware\/SubstituteBindings.php","line":41},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Pipeline\/Pipeline.php","line":219},{"index":23,"namespace":"middleware","name":"company.context","file":"\/home\/gigmoz\/public_html\/app\/Http\/Middleware\/SetActiveCompany.php","line":67}],"start":1780319160.8077070713043212890625,"duration":0.0004699999999999999859313926098280944643192924559116363525390625,"duration_str":"470\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"ImplicitRouteBinding.php:60","source":{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ImplicitRouteBinding.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ImplicitRouteBinding.php","line":60},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fvendor%2Flaravel%2Fframework%2Fsrc%2FIlluminate%2FRouting%2FImplicitRouteBinding.php&line=60","ajax":false,"filename":"ImplicitRouteBinding.php","line":"60"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":34.85000000000000142108547152020037174224853515625,"width_percent":4.03399999999999980815346134477294981479644775390625},{"sql":"select * from `opening_balances` where `customer_id` = 1384 and `company_id` = '2' limit 1","type":"query","params":[],"bindings":[1384,"2"],"hints":null,"show_copy":true,"backtrace":[{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Api\/PartyLedgerController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/Api\/PartyLedgerController.php","line":39},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":46},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":211},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","line":822}],"start":1780319160.8096141815185546875,"duration":0.000630000000000000026124935548210714841843582689762115478515625,"duration_str":"630\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"PartyLedgerController.php:39","source":{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Api\/PartyLedgerController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/Api\/PartyLedgerController.php","line":39},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FApi%2FPartyLedgerController.php&line=39","ajax":false,"filename":"PartyLedgerController.php","line":"39"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":38.8840000000000003410605131648480892181396484375,"width_percent":5.40800000000000036237679523765109479427337646484375},{"sql":"select sum(`grand_total`) as aggregate from `sales` where `company_id` = '2' and `party_id` = 1384 and `invoice_date` < '2026-04-01'","type":"query","params":[],"bindings":["2",1384,"2026-04-01"],"hints":null,"show_copy":true,"backtrace":[{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Api\/PartyLedgerController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/Api\/PartyLedgerController.php","line":49},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":46},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":211},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","line":822}],"start":1780319160.811543941497802734375,"duration":0.00076000000000000004184153024056058711721561849117279052734375,"duration_str":"760\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"PartyLedgerController.php:49","source":{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Api\/PartyLedgerController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/Api\/PartyLedgerController.php","line":49},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FApi%2FPartyLedgerController.php&line=49","ajax":false,"filename":"PartyLedgerController.php","line":"49"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":44.292000000000001591615728102624416351318359375,"width_percent":6.52400000000000002131628207280300557613372802734375},{"sql":"select sum(`amount`) as aggregate from `sale_receipts` where `company_id` = '2' and `party_id` = 1384 and `received_at` < '2026-04-01'","type":"query","params":[],"bindings":["2",1384,"2026-04-01"],"hints":null,"show_copy":true,"backtrace":[{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Api\/PartyLedgerController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/Api\/PartyLedgerController.php","line":52},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":46},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":211},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","line":822}],"start":1780319160.813212871551513671875,"duration":0.0004000000000000000191686944095437183932517655193805694580078125,"duration_str":"400\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"PartyLedgerController.php:52","source":{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Api\/PartyLedgerController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/Api\/PartyLedgerController.php","line":52},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FApi%2FPartyLedgerController.php&line=52","ajax":false,"filename":"PartyLedgerController.php","line":"52"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":50.81499999999999772626324556767940521240234375,"width_percent":3.43299999999999982946974341757595539093017578125},{"sql":"select sum(`grand_total`) as aggregate from `sale_returns` where `company_id` = '2' and `party_id` = 1384 and `invoice_date` < '2026-04-01'","type":"query","params":[],"bindings":["2",1384,"2026-04-01"],"hints":null,"show_copy":true,"backtrace":[{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Api\/PartyLedgerController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/Api\/PartyLedgerController.php","line":55},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":46},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":211},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","line":822}],"start":1780319160.81447505950927734375,"duration":0.000449999999999999987683463320564669629675336182117462158203125,"duration_str":"450\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"PartyLedgerController.php:55","source":{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Api\/PartyLedgerController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/Api\/PartyLedgerController.php","line":55},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FApi%2FPartyLedgerController.php&line=55","ajax":false,"filename":"PartyLedgerController.php","line":"55"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":54.24900000000000233058017329312860965728759765625,"width_percent":3.862999999999999989341858963598497211933135986328125},{"sql":"select sum(`grand_total`) as aggregate from `purchases` where `company_id` = '2' and `party_id` = 1384 and `invoice_date` < '2026-04-01'","type":"query","params":[],"bindings":["2",1384,"2026-04-01"],"hints":null,"show_copy":true,"backtrace":[{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Api\/PartyLedgerController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/Api\/PartyLedgerController.php","line":58},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":46},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":211},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","line":822}],"start":1780319160.815742015838623046875,"duration":0.000449999999999999987683463320564669629675336182117462158203125,"duration_str":"450\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"PartyLedgerController.php:58","source":{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Api\/PartyLedgerController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/Api\/PartyLedgerController.php","line":58},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FApi%2FPartyLedgerController.php&line=58","ajax":false,"filename":"PartyLedgerController.php","line":"58"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":58.11200000000000187583282240666449069976806640625,"width_percent":3.862999999999999989341858963598497211933135986328125},{"sql":"select sum(`amount`) as aggregate from `purchase_payments` where `company_id` = '2' and `party_id` = 1384 and `paid_at` < '2026-04-01'","type":"query","params":[],"bindings":["2",1384,"2026-04-01"],"hints":null,"show_copy":true,"backtrace":[{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Api\/PartyLedgerController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/Api\/PartyLedgerController.php","line":61},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":46},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":211},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","line":822}],"start":1780319160.817017078399658203125,"duration":0.000369999999999999994691746163510970291099511086940765380859375,"duration_str":"370\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"PartyLedgerController.php:61","source":{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Api\/PartyLedgerController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/Api\/PartyLedgerController.php","line":61},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FApi%2FPartyLedgerController.php&line=61","ajax":false,"filename":"PartyLedgerController.php","line":"61"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":61.97399999999999664623828721232712268829345703125,"width_percent":3.1760000000000001563194018672220408916473388671875},{"sql":"select sum(`grand_total`) as aggregate from `purchase_returns` where `company_id` = '2' and `party_id` = 1384 and `invoice_date` < '2026-04-01'","type":"query","params":[],"bindings":["2",1384,"2026-04-01"],"hints":null,"show_copy":true,"backtrace":[{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Api\/PartyLedgerController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/Api\/PartyLedgerController.php","line":64},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":46},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":211},{"index":20,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","line":822}],"start":1780319160.818233013153076171875,"duration":0.000380000000000000020920765120280293558607809245586395263671875,"duration_str":"380\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"PartyLedgerController.php:64","source":{"index":16,"namespace":null,"name":"app\/Http\/Controllers\/Api\/PartyLedgerController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/Api\/PartyLedgerController.php","line":64},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FApi%2FPartyLedgerController.php&line=64","ajax":false,"filename":"PartyLedgerController.php","line":"64"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":65.150000000000005684341886080801486968994140625,"width_percent":3.262000000000000010658141036401502788066864013671875},{"sql":"select * from `sales` where `company_id` = '2' and `party_id` = 1384 and `invoice_date` between '2026-04-01' and '2026-06-01'","type":"query","params":[],"bindings":["2",1384,"2026-04-01","2026-06-01"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Api\/PartyLedgerController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/Api\/PartyLedgerController.php","line":70},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":46},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":211},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","line":822}],"start":1780319160.81906986236572265625,"duration":0.000609999999999999973666897634672068306826986372470855712890625,"duration_str":"610\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"PartyLedgerController.php:70","source":{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Api\/PartyLedgerController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/Api\/PartyLedgerController.php","line":70},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FApi%2FPartyLedgerController.php&line=70","ajax":false,"filename":"PartyLedgerController.php","line":"70"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":68.412000000000006139089236967265605926513671875,"width_percent":5.23599999999999976552089719916693866252899169921875},{"sql":"select * from `sale_receipts` where `company_id` = '2' and `party_id` = 1384 and `received_at` between '2026-04-01' and '2026-06-01'","type":"query","params":[],"bindings":["2",1384,"2026-04-01","2026-06-01"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Api\/PartyLedgerController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/Api\/PartyLedgerController.php","line":82},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":46},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":211},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","line":822}],"start":1780319160.82015514373779296875,"duration":0.0003200000000000000261769772524900190546759404242038726806640625,"duration_str":"320\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"PartyLedgerController.php:82","source":{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Api\/PartyLedgerController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/Api\/PartyLedgerController.php","line":82},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FApi%2FPartyLedgerController.php&line=82","ajax":false,"filename":"PartyLedgerController.php","line":"82"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":73.647999999999996134647517465054988861083984375,"width_percent":2.7469999999999998863131622783839702606201171875},{"sql":"select * from `sale_returns` where `company_id` = '2' and `party_id` = 1384 and `invoice_date` between '2026-04-01' and '2026-06-01'","type":"query","params":[],"bindings":["2",1384,"2026-04-01","2026-06-01"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Api\/PartyLedgerController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/Api\/PartyLedgerController.php","line":94},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":46},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":211},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","line":822}],"start":1780319160.820950031280517578125,"duration":0.0003299999999999999981958875849841206218115985393524169921875,"duration_str":"330\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"PartyLedgerController.php:94","source":{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Api\/PartyLedgerController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/Api\/PartyLedgerController.php","line":94},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FApi%2FPartyLedgerController.php&line=94","ajax":false,"filename":"PartyLedgerController.php","line":"94"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":76.3949999999999960209606797434389591217041015625,"width_percent":2.8330000000000001847411112976260483264923095703125},{"sql":"select * from `purchases` where `company_id` = '2' and `party_id` = 1384 and `invoice_date` between '2026-04-01' and '2026-06-01'","type":"query","params":[],"bindings":["2",1384,"2026-04-01","2026-06-01"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Api\/PartyLedgerController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/Api\/PartyLedgerController.php","line":105},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":46},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":211},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","line":822}],"start":1780319160.82178497314453125,"duration":0.000380000000000000020920765120280293558607809245586395263671875,"duration_str":"380\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"PartyLedgerController.php:105","source":{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Api\/PartyLedgerController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/Api\/PartyLedgerController.php","line":105},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FApi%2FPartyLedgerController.php&line=105","ajax":false,"filename":"PartyLedgerController.php","line":"105"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":79.227000000000003865352482534945011138916015625,"width_percent":3.262000000000000010658141036401502788066864013671875},{"sql":"select * from `purchase_payments` where `company_id` = '2' and `party_id` = 1384 and `paid_at` between '2026-04-01' and '2026-06-01'","type":"query","params":[],"bindings":["2",1384,"2026-04-01","2026-06-01"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Api\/PartyLedgerController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/Api\/PartyLedgerController.php","line":117},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":46},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":211},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","line":822}],"start":1780319160.823254108428955078125,"duration":0.0003499999999999999964438168742475454564555548131465911865234375,"duration_str":"350\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"PartyLedgerController.php:117","source":{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Api\/PartyLedgerController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/Api\/PartyLedgerController.php","line":117},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FApi%2FPartyLedgerController.php&line=117","ajax":false,"filename":"PartyLedgerController.php","line":"117"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":82.489000000000004320099833421409130096435546875,"width_percent":3.004000000000000003552713678800500929355621337890625},{"sql":"select * from `purchase_returns` where `company_id` = '2' and `party_id` = 1384 and `invoice_date` between '2026-04-01' and '2026-06-01'","type":"query","params":[],"bindings":["2",1384,"2026-04-01","2026-06-01"],"hints":null,"show_copy":true,"backtrace":[{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Api\/PartyLedgerController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/Api\/PartyLedgerController.php","line":129},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/ControllerDispatcher.php","line":46},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":265},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Route.php","line":211},{"index":19,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Router.php","line":822}],"start":1780319160.8261520862579345703125,"duration":0.0003200000000000000261769772524900190546759404242038726806640625,"duration_str":"320\u03bcs","slow":false,"memory":0,"memory_str":null,"filename":"PartyLedgerController.php:129","source":{"index":15,"namespace":null,"name":"app\/Http\/Controllers\/Api\/PartyLedgerController.php","file":"\/home\/gigmoz\/public_html\/app\/Http\/Controllers\/Api\/PartyLedgerController.php","line":129},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FApi%2FPartyLedgerController.php&line=129","ajax":false,"filename":"PartyLedgerController.php","line":"129"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":85.493999999999999772626324556767940521240234375,"width_percent":2.7469999999999998863131622783839702606201171875},{"sql":"update `sessions` set `payload` = 'YTo2OntzOjY6Il90b2tlbiI7czo0MDoiR2dHeTdWa01kYXl6UDYwb1ZMbWZwZVRtcFJXQXcxbzlxWk11QnQ0eSI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6NzA6Imh0dHBzOi8vYmlsbGluZy5naWdtb3ouY29tL3B1YmxpYy9hcGkvcGFydGllcy8xMzg0L2xlZGdlcj9jb21wYW55X2lkPTIiO3M6NToicm91dGUiO047fXM6NTA6ImxvZ2luX3dlYl81OWJhMzZhZGRjMmIyZjk0MDE1ODBmMDE0YzdmNThlYTRlMzA5ODlkIjtpOjE7czoxMDoiY29tcGFueV9pZCI7aToyO3M6ODoiY2FzaG1vZGUiO2E6NDp7czo3OiJlbmFibGVkIjtiOjE7czoxMDoiZW5hYmxlZF9hdCI7czoyNzoiMjAyNi0wNi0wMVQxMjo1Mzo0Ny4wNzgyMDNaIjtzOjI6ImJ5IjtpOjE7czo1OiJ0b2tlbiI7czoyMDoiOEZ4VmlieHh2VEs0S05KTEZ1MTgiO319', `last_activity` = 1780319160, `user_id` = 1, `ip_address` = '122.169.52.10', `user_agent` = 'Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/148.0.0.0 Safari\/537.36' where `id` = 'EuCxJhfWdc1mQH6WYBBmFqupOHVpagfTQJVwItPz'","type":"query","params":[],"bindings":["YTo2OntzOjY6Il90b2tlbiI7czo0MDoiR2dHeTdWa01kYXl6UDYwb1ZMbWZwZVRtcFJXQXcxbzlxWk11QnQ0eSI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6NzA6Imh0dHBzOi8vYmlsbGluZy5naWdtb3ouY29tL3B1YmxpYy9hcGkvcGFydGllcy8xMzg0L2xlZGdlcj9jb21wYW55X2lkPTIiO3M6NToicm91dGUiO047fXM6NTA6ImxvZ2luX3dlYl81OWJhMzZhZGRjMmIyZjk0MDE1ODBmMDE0YzdmNThlYTRlMzA5ODlkIjtpOjE7czoxMDoiY29tcGFueV9pZCI7aToyO3M6ODoiY2FzaG1vZGUiO2E6NDp7czo3OiJlbmFibGVkIjtiOjE7czoxMDoiZW5hYmxlZF9hdCI7czoyNzoiMjAyNi0wNi0wMVQxMjo1Mzo0Ny4wNzgyMDNaIjtzOjI6ImJ5IjtpOjE7czo1OiJ0b2tlbiI7czoyMDoiOEZ4VmlieHh2VEs0S05KTEZ1MTgiO319",1780319160,1,"122.169.52.10","Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/148.0.0.0 Safari\/537.36","EuCxJhfWdc1mQH6WYBBmFqupOHVpagfTQJVwItPz"],"hints":null,"show_copy":true,"backtrace":[{"index":11,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/DatabaseSessionHandler.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/DatabaseSessionHandler.php","line":172},{"index":12,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/DatabaseSessionHandler.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/DatabaseSessionHandler.php","line":139},{"index":13,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/Store.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/Store.php","line":187},{"index":14,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/Middleware\/StartSession.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/Middleware\/StartSession.php","line":248},{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/Middleware\/StartSession.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/Middleware\/StartSession.php","line":129}],"start":1780319160.83174896240234375,"duration":0.0013700000000000001239286451237830988247878849506378173828125,"duration_str":"1.37ms","slow":false,"memory":0,"memory_str":null,"filename":"DatabaseSessionHandler.php:172","source":{"index":11,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Session\/DatabaseSessionHandler.php","file":"\/home\/gigmoz\/public_html\/vendor\/laravel\/framework\/src\/Illuminate\/Session\/DatabaseSessionHandler.php","line":172},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fvendor%2Flaravel%2Fframework%2Fsrc%2FIlluminate%2FSession%2FDatabaseSessionHandler.php&line=172","ajax":false,"filename":"DatabaseSessionHandler.php","line":"172"},"connection":"gigmoz_ebrahim","explain":null,"start_percent":88.2399999999999948840923025272786617279052734375,"width_percent":11.7599999999999997868371792719699442386627197265625}]},"models":{"data":{"App\\Models\\Company":{"retrieved":3,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FModels%2FCompany.php&line=1","ajax":false,"filename":"Company.php","line":"?"}},"App\\Models\\Purchase":{"retrieved":2,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FModels%2FPurchase.php&line=1","ajax":false,"filename":"Purchase.php","line":"?"}},"App\\Models\\User":{"retrieved":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FModels%2FUser.php&line=1","ajax":false,"filename":"User.php","line":"?"}},"App\\Models\\Customer":{"retrieved":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FModels%2FCustomer.php&line=1","ajax":false,"filename":"Customer.php","line":"?"}},"App\\Models\\PurchasePayment":{"retrieved":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FModels%2FPurchasePayment.php&line=1","ajax":false,"filename":"PurchasePayment.php","line":"?"}}},"count":8,"key_map":{"retrieved":"Retrieved","created":"Created","updated":"Updated","deleted":"Deleted"},"is_counter":true,"badges":{"retrieved":8}},"symfonymailer_mails":{"count":0,"mails":[]},"gate":{"count":0,"messages":[]},"request":{"data":{"status":"200 OK","full_url":"https:\/\/billing.gigmoz.com\/public\/api\/parties\/1384\/ledger?company_id=2","action_name":null,"controller_action":"App\\Http\\Controllers\\Api\\PartyLedgerController@ledger","uri":"GET api\/parties\/{party}\/ledger","controller":{"value":"App\\Http\\Controllers\\Api\\PartyLedgerController@ledger","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FApi%2FPartyLedgerController.php&line=23","ajax":false,"filename":"PartyLedgerController.php","line":"23"}},"prefix":"api","file":{"value":"app\/Http\/Controllers\/Api\/PartyLedgerController.php:23-158","xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fhome%2Fgigmoz%2Fpublic_html%2Fapp%2FHttp%2FControllers%2FApi%2FPartyLedgerController.php&line=23","ajax":false,"filename":"PartyLedgerController.php","line":"23"}},"middleware":"api","duration":"265ms","peak_memory":"28MB","response":"application\/json","request_format":"html","request_query":"<pre class=sf-dump id=sf-dump-1130362953 data-indent-pad=\"  \"><span class=sf-dump-note>array:1<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n  \"<span class=sf-dump-key>company_id<\/span>\" => \"<span class=sf-dump-str>2<\/span>\"\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1130362953\", {\"maxDepth\":0})<\/script>\n","request_request":"<pre class=sf-dump id=sf-dump-1119407110 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-1119407110\", {\"maxDepth\":0})<\/script>\n","request_headers":"<pre class=sf-dump id=sf-dump-196189106 data-indent-pad=\"  \"><span class=sf-dump-note>array:16<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n  \"<span class=sf-dump-key>x-https<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str>1<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>cookie<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"713 characters\">XSRF-TOKEN=eyJpdiI6ImJaWTZPQjVHY0lxaXVoaUcyTXZuSlE9PSIsInZhbHVlIjoiZTRPRFlmQ0x4R0R3WDF1ak83dXhDd3lJb25Wam03WGR3UFUyM0RLVEptMnE4R3V6OURVZnN0d3J5VFRQSEt0bFlVd3JiTlJEMkV2UCs2elNtdUNNRUFqNWx0RHArVkpScWEzUFZGMkZLSnhuMjAwNXZuc0pZWXduTU11VHA0eEYiLCJtYWMiOiI3ZTdlMzY0ZDE4ZjdiNTdjMDYzNTMyMjg4YTM2OTFhOTEyNDRhZGIzNGYwZGFhYjFhNDAyMzkxMGJiZDhhYjM4IiwidGFnIjoiIn0%3D; laravel-session=eyJpdiI6Ii82RUx5SzM1S25QUXhnbFJtTTI0U3c9PSIsInZhbHVlIjoiZDNtTTUxeWJDZDlscW5Bc0pPd0dpYm5janl1L1Y0WWpWM1NBRDRObGhJY0VHZ0tnYmhjWlljZk9TN0kvcXIyaEZHTmF2bDdqZkhzLzVnNS9yWDJjUXZGWk1oQ2VQRlFPd0hmb2FZK0lLd2xXY0NUVG93UnJZeWVIZTZhWDJSS1IiLCJtYWMiOiJkZmYwMDFmZGU4NTlmNDVjMjBiMWQ5ODQ1ZGU3OWZhYjM4YmRjOWVmZmMzMGI2ZDM2Y2JjZjZjYjVjZWJlYWI1IiwidGFnIjoiIn0%3D<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>accept-language<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"14 characters\">en-US,en;q=0.9<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>accept-encoding<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"23 characters\">gzip, deflate, br, zstd<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>referer<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"76 characters\">https:\/\/billing.gigmoz.com\/public\/c\/2\/purchase-payments\/create?party_id=1384<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>sec-fetch-dest<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"5 characters\">empty<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>sec-fetch-mode<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"4 characters\">cors<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>sec-fetch-site<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"11 characters\">same-origin<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>accept<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"3 characters\">*\/*<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>sec-ch-ua-mobile<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"2 characters\">?0<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>dnt<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str>1<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>sec-ch-ua<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"65 characters\">&quot;Chromium&quot;;v=&quot;148&quot;, &quot;Google Chrome&quot;;v=&quot;148&quot;, &quot;Not\/A)Brand&quot;;v=&quot;99&quot;<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>user-agent<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"111 characters\">Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/148.0.0.0 Safari\/537.36<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>sec-ch-ua-platform<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"9 characters\">&quot;Windows&quot;<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>connection<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"10 characters\">keep-alive<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>host<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"18 characters\">billing.gigmoz.com<\/span>\"\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-196189106\", {\"maxDepth\":0})<\/script>\n","request_cookies":"<pre class=sf-dump id=sf-dump-1534071660 data-indent-pad=\"  \"><span class=sf-dump-note>array:2<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n  \"<span class=sf-dump-key>XSRF-TOKEN<\/span>\" => \"<span class=sf-dump-str title=\"40 characters\">GgGy7VkMdayzP60oVLmfpeTmpRWAw1o9qZMuBt4y<\/span>\"\n  \"<span class=sf-dump-key>laravel-session<\/span>\" => \"<span class=sf-dump-str title=\"40 characters\">EuCxJhfWdc1mQH6WYBBmFqupOHVpagfTQJVwItPz<\/span>\"\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1534071660\", {\"maxDepth\":0})<\/script>\n","response_headers":"<pre class=sf-dump id=sf-dump-1192099345 data-indent-pad=\"  \"><span class=sf-dump-note>array:5<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n  \"<span class=sf-dump-key>cache-control<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"17 characters\">no-cache, private<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>date<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"29 characters\">Mon, 01 Jun 2026 13:06:00 GMT<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>content-type<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"16 characters\">application\/json<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>set-cookie<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"451 characters\">laravel-session=eyJpdiI6IlYxcSs0anViWWJTUEI5T0xYQkdvdXc9PSIsInZhbHVlIjoicWdxUi80ZzI2RzZ3ckFUVkYwT2FUaVpxWEhRVmNaTVBoOXlUZ0dCa04yRENBcnVzWnpQNGdTMm9FNlBmeG92cEdKYkZEaUl5bm9OcjQ0UW9CbXUrQ2plY1orRVp2eXh3aG5mSkFpMFY4c3RNMXBRanh4M3Y3Z01iQ3BBUS9mbHkiLCJtYWMiOiJhODQ0MTc5NzVjYWNlZTI4YzEyMjA0ODRjOTI3ZmZkMDVlNjdmOTg4OTE5NDEyOGUyMzc3NTNhZjg3YWU0NDdiIiwidGFnIjoiIn0%3D; expires=Mon, 01 Jun 2026 15:06:00 GMT; Max-Age=7200; path=\/; secure; httponly; samesite=lax<\/span>\"\n  <\/samp>]\n  \"<span class=sf-dump-key>Set-Cookie<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    <span class=sf-dump-index>0<\/span> => \"<span class=sf-dump-str title=\"423 characters\">laravel-session=eyJpdiI6IlYxcSs0anViWWJTUEI5T0xYQkdvdXc9PSIsInZhbHVlIjoicWdxUi80ZzI2RzZ3ckFUVkYwT2FUaVpxWEhRVmNaTVBoOXlUZ0dCa04yRENBcnVzWnpQNGdTMm9FNlBmeG92cEdKYkZEaUl5bm9OcjQ0UW9CbXUrQ2plY1orRVp2eXh3aG5mSkFpMFY4c3RNMXBRanh4M3Y3Z01iQ3BBUS9mbHkiLCJtYWMiOiJhODQ0MTc5NzVjYWNlZTI4YzEyMjA0ODRjOTI3ZmZkMDVlNjdmOTg4OTE5NDEyOGUyMzc3NTNhZjg3YWU0NDdiIiwidGFnIjoiIn0%3D; expires=Mon, 01-Jun-2026 15:06:00 GMT; path=\/; secure; httponly<\/span>\"\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1192099345\", {\"maxDepth\":0})<\/script>\n","session_attributes":"<pre class=sf-dump id=sf-dump-2068915108 data-indent-pad=\"  \"><span class=sf-dump-note>array:6<\/span> [<samp data-depth=1 class=sf-dump-expanded>\n  \"<span class=sf-dump-key>_token<\/span>\" => \"<span class=sf-dump-str title=\"40 characters\">GgGy7VkMdayzP60oVLmfpeTmpRWAw1o9qZMuBt4y<\/span>\"\n  \"<span class=sf-dump-key>_flash<\/span>\" => <span class=sf-dump-note>array:2<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    \"<span class=sf-dump-key>old<\/span>\" => []\n    \"<span class=sf-dump-key>new<\/span>\" => []\n  <\/samp>]\n  \"<span class=sf-dump-key>_previous<\/span>\" => <span class=sf-dump-note>array:2<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    \"<span class=sf-dump-key>url<\/span>\" => \"<span class=sf-dump-str title=\"70 characters\">https:\/\/billing.gigmoz.com\/public\/api\/parties\/1384\/ledger?company_id=2<\/span>\"\n    \"<span class=sf-dump-key>route<\/span>\" => <span class=sf-dump-const>null<\/span>\n  <\/samp>]\n  \"<span class=sf-dump-key>login_web_59ba36addc2b2f9401580f014c7f58ea4e30989d<\/span>\" => <span class=sf-dump-num>1<\/span>\n  \"<span class=sf-dump-key>company_id<\/span>\" => <span class=sf-dump-num>2<\/span>\n  \"<span class=sf-dump-key>cashmode<\/span>\" => <span class=sf-dump-note>array:4<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    \"<span class=sf-dump-key>enabled<\/span>\" => <span class=sf-dump-const>true<\/span>\n    \"<span class=sf-dump-key>enabled_at<\/span>\" => \"<span class=sf-dump-str title=\"27 characters\">2026-06-01T12:53:47.078203Z<\/span>\"\n    \"<span class=sf-dump-key>by<\/span>\" => <span class=sf-dump-num>1<\/span>\n    \"<span class=sf-dump-key>token<\/span>\" => \"<span class=sf-dump-str title=\"20 characters\">8FxVibxxvTK4KNJLFu18<\/span>\"\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-2068915108\", {\"maxDepth\":0})<\/script>\n"},"tooltip":{"status":"200 OK","full_url":"https:\/\/billing.gigmoz.com\/public\/api\/parties\/1384\/ledger?company_id=2","controller_action":"App\\Http\\Controllers\\Api\\PartyLedgerController@ledger"},"badge":null}}