{"__meta":{"id":"01K3R6T90K21T67TEKP7GE0QGD","datetime":"2025-08-28 11:25:41","utime":1756380341.26798,"method":"POST","uri":"\/livewire\/update","ip":"197.245.246.72"},"messages":{"count":0,"messages":[]},"time":{"count":4,"start":1756380340.30431,"end":1756380341.268003,"duration":0.9636929035186768,"duration_str":"964ms","measures":[{"label":"Booting","start":1756380340.30431,"relative_start":0,"end":1756380340.350778,"relative_end":1756380340.350778,"duration":0.04646801948547363,"duration_str":"46.47ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Application","start":1756380340.350801,"relative_start":0.04649090766906738,"end":1756380341.268008,"relative_end":5.0067901611328125e-6,"duration":0.9172070026397705,"duration_str":"917ms","memory":0,"memory_str":"0B","params":[],"collector":"time","group":null},{"label":"Routing","start":1756380340.395267,"relative_start":0.0909569263458252,"end":1756380340.395638,"relative_end":1756380340.395638,"duration":0.00037097930908203125,"duration_str":"371\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null},{"label":"Preparing Response","start":1756380341.267233,"relative_start":0.9629228115081787,"end":1756380341.267593,"relative_end":1756380341.267593,"duration":0.0003600120544433594,"duration_str":"360\u03bcs","memory":0,"memory_str":"0B","params":[],"collector":null,"group":null}]},"memory":{"peak_usage":27011120,"peak_usage_str":"26MB"},"exceptions":{"count":0,"exceptions":[]},"laravel":{"version":"12.x","tooltip":{"Laravel Version":"12.21.0","PHP Version":"8.3.23","Environment":"local","Debug Mode":"Enabled","URL":"licentia.valourite.co.za","Timezone":"UTC","Locale":"en"}},"views":{"count":0,"nb_templates":0,"templates":[]},"queries":{"count":22,"nb_statements":19,"nb_visible_statements":22,"nb_excluded_statements":0,"nb_failed_statements":0,"accumulated_duration":0.03932,"accumulated_duration_str":"39.32ms","memory_usage":0,"memory_usage_str":null,"statements":[{"sql":"Connection Established","type":"transaction","params":[],"bindings":[],"hints":null,"show_copy":false,"backtrace":[{"index":13,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/EloquentUserProvider.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/EloquentUserProvider.php","line":192},{"index":14,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/EloquentUserProvider.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/EloquentUserProvider.php","line":56},{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/SessionGuard.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/SessionGuard.php","line":179},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/GuardHelpers.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/GuardHelpers.php","line":56},{"index":17,"namespace":"middleware","name":"auth","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/filament\/src\/Http\/Middleware\/Authenticate.php","line":19}],"start":1756380340.401061,"duration":0,"duration_str":"","memory":0,"memory_str":null,"filename":"EloquentUserProvider.php:192","source":{"index":13,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/EloquentUserProvider.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/EloquentUserProvider.php","line":192},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2Fvendor%2Flaravel%2Fframework%2Fsrc%2FIlluminate%2FAuth%2FEloquentUserProvider.php&line=192","ajax":false,"filename":"EloquentUserProvider.php","line":"192"},"connection":"licentia","explain":null,"start_percent":0,"width_percent":0},{"sql":"select * from `users` where `username` = 'admin' limit 1","type":"query","params":[],"bindings":["admin"],"hints":null,"show_copy":true,"backtrace":[{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/EloquentUserProvider.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/EloquentUserProvider.php","line":58},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/SessionGuard.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/SessionGuard.php","line":179},{"index":18,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/GuardHelpers.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/GuardHelpers.php","line":56},{"index":19,"namespace":"middleware","name":"auth","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/filament\/src\/Http\/Middleware\/Authenticate.php","line":19},{"index":20,"namespace":"middleware","name":"auth","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/Middleware\/Authenticate.php","line":61}],"start":1756380340.401551,"duration":0.00273,"duration_str":"2.73ms","memory":0,"memory_str":null,"filename":"EloquentUserProvider.php:58","source":{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Auth\/EloquentUserProvider.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/EloquentUserProvider.php","line":58},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2Fvendor%2Flaravel%2Fframework%2Fsrc%2FIlluminate%2FAuth%2FEloquentUserProvider.php&line=58","ajax":false,"filename":"EloquentUserProvider.php","line":"58"},"connection":"licentia","explain":null,"start_percent":0,"width_percent":6.943},{"sql":"select * from `businesses` where `businesses`.`business_id` = '10' and `businesses`.`deleted_at` is null limit 1","type":"query","params":[],"bindings":["10"],"hints":null,"show_copy":true,"backtrace":[{"index":16,"namespace":null,"name":"vendor\/filament\/forms\/src\/Components\/Select.php","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/forms\/src\/Components\/Select.php","line":1003},{"index":17,"namespace":null,"name":"vendor\/filament\/support\/src\/Concerns\/EvaluatesClosures.php","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/support\/src\/Concerns\/EvaluatesClosures.php","line":36},{"index":18,"namespace":null,"name":"vendor\/filament\/forms\/src\/Components\/Select.php","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/forms\/src\/Components\/Select.php","line":1290},{"index":19,"namespace":null,"name":"vendor\/filament\/forms\/src\/Components\/Select.php","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/forms\/src\/Components\/Select.php","line":970},{"index":20,"namespace":null,"name":"vendor\/filament\/support\/src\/Concerns\/EvaluatesClosures.php","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/support\/src\/Concerns\/EvaluatesClosures.php","line":36}],"start":1756380340.421305,"duration":0.00165,"duration_str":"1.65ms","memory":0,"memory_str":null,"filename":"Select.php:1003","source":{"index":16,"namespace":null,"name":"vendor\/filament\/forms\/src\/Components\/Select.php","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/forms\/src\/Components\/Select.php","line":1003},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2Fvendor%2Ffilament%2Fforms%2Fsrc%2FComponents%2FSelect.php&line=1003","ajax":false,"filename":"Select.php","line":"1003"},"connection":"licentia","explain":null,"start_percent":6.943,"width_percent":4.196},{"sql":"select * from `cache` where `key` in ('licentia_cache_discoverable_active_items')","type":"query","params":[],"bindings":["licentia_cache_discoverable_active_items"],"hints":null,"show_copy":true,"backtrace":[{"index":13,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Cache\/DatabaseStore.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Cache\/DatabaseStore.php","line":130},{"index":14,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Cache\/DatabaseStore.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Cache\/DatabaseStore.php","line":105},{"index":15,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Cache\/Repository.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Cache\/Repository.php","line":119},{"index":16,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Cache\/Repository.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Cache\/Repository.php","line":422},{"index":17,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Cache\/CacheManager.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Cache\/CacheManager.php","line":474}],"start":1756380340.433731,"duration":0.0016,"duration_str":"1.6ms","memory":0,"memory_str":null,"filename":"DatabaseStore.php:130","source":{"index":13,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Cache\/DatabaseStore.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Cache\/DatabaseStore.php","line":130},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2Fvendor%2Flaravel%2Fframework%2Fsrc%2FIlluminate%2FCache%2FDatabaseStore.php&line=130","ajax":false,"filename":"DatabaseStore.php","line":"130"},"connection":"licentia","explain":null,"start_percent":11.139,"width_percent":4.069},{"sql":"select * from `invoice_terms` where `invoice_terms`.`invoice_terms_id` = '2' limit 1","type":"query","params":[],"bindings":["2"],"hints":null,"show_copy":true,"backtrace":[{"index":16,"namespace":null,"name":"vendor\/filament\/forms\/src\/Components\/Select.php","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/forms\/src\/Components\/Select.php","line":1003},{"index":17,"namespace":null,"name":"vendor\/filament\/support\/src\/Concerns\/EvaluatesClosures.php","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/support\/src\/Concerns\/EvaluatesClosures.php","line":36},{"index":18,"namespace":null,"name":"vendor\/filament\/forms\/src\/Components\/Select.php","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/forms\/src\/Components\/Select.php","line":1290},{"index":19,"namespace":null,"name":"vendor\/filament\/forms\/src\/Components\/Select.php","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/forms\/src\/Components\/Select.php","line":970},{"index":20,"namespace":null,"name":"vendor\/filament\/support\/src\/Concerns\/EvaluatesClosures.php","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/support\/src\/Concerns\/EvaluatesClosures.php","line":36}],"start":1756380340.513844,"duration":0.00133,"duration_str":"1.33ms","memory":0,"memory_str":null,"filename":"Select.php:1003","source":{"index":16,"namespace":null,"name":"vendor\/filament\/forms\/src\/Components\/Select.php","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/forms\/src\/Components\/Select.php","line":1003},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2Fvendor%2Ffilament%2Fforms%2Fsrc%2FComponents%2FSelect.php&line=1003","ajax":false,"filename":"Select.php","line":"1003"},"connection":"licentia","explain":null,"start_percent":15.209,"width_percent":3.383},{"sql":"Begin Transaction","type":"transaction","params":[],"bindings":[],"hints":null,"show_copy":false,"backtrace":[{"index":9,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":38},{"index":10,"namespace":null,"name":"Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","line":34},{"index":11,"namespace":null,"name":"vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","line":102},{"index":12,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","line":36},{"index":13,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php","line":43}],"start":1756380341.092639,"duration":0,"duration_str":"","memory":0,"memory_str":null,"filename":"InvoiceService.php:38","source":{"index":9,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":38},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2FModules%2FInvoice%2FServices%2FInvoiceService.php&line=38","ajax":false,"filename":"InvoiceService.php","line":"38"},"connection":"licentia","explain":null,"start_percent":18.591,"width_percent":0},{"sql":"select * from `franchises` where `franchises`.`franchise_id` = 64 limit 1","type":"query","params":[],"bindings":[64],"hints":null,"show_copy":true,"backtrace":[{"index":20,"namespace":null,"name":"Modules\/Invoice\/Observers\/InvoiceObserver.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Observers\/InvoiceObserver.php","line":41},{"index":34,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":48},{"index":35,"namespace":null,"name":"Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","line":34},{"index":36,"namespace":null,"name":"vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","line":102},{"index":37,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","line":36}],"start":1756380341.0953631,"duration":0.0019,"duration_str":"1.9ms","memory":0,"memory_str":null,"filename":"InvoiceObserver.php:41","source":{"index":20,"namespace":null,"name":"Modules\/Invoice\/Observers\/InvoiceObserver.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Observers\/InvoiceObserver.php","line":41},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2FModules%2FInvoice%2FObservers%2FInvoiceObserver.php&line=41","ajax":false,"filename":"InvoiceObserver.php","line":"41"},"connection":"licentia","explain":null,"start_percent":18.591,"width_percent":4.832},{"sql":"select * from `provinces` where `provinces`.`province_id` in (1)","type":"query","params":[],"bindings":[],"hints":null,"show_copy":true,"backtrace":[{"index":28,"namespace":null,"name":"Modules\/Invoice\/Observers\/InvoiceObserver.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Observers\/InvoiceObserver.php","line":46},{"index":42,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":48},{"index":43,"namespace":null,"name":"Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","line":34},{"index":44,"namespace":null,"name":"vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","line":102},{"index":45,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","line":36}],"start":1756380341.099179,"duration":0.00107,"duration_str":"1.07ms","memory":0,"memory_str":null,"filename":"InvoiceObserver.php:46","source":{"index":28,"namespace":null,"name":"Modules\/Invoice\/Observers\/InvoiceObserver.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Observers\/InvoiceObserver.php","line":46},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2FModules%2FInvoice%2FObservers%2FInvoiceObserver.php&line=46","ajax":false,"filename":"InvoiceObserver.php","line":"46"},"connection":"licentia","explain":null,"start_percent":23.423,"width_percent":2.721},{"sql":"update `franchises` set `next_id` = `next_id` + 1 where `franchise_id` = 64","type":"query","params":[],"bindings":[64],"hints":null,"show_copy":true,"backtrace":[{"index":17,"namespace":null,"name":"Modules\/Invoice\/Observers\/InvoiceObserver.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Observers\/InvoiceObserver.php","line":62},{"index":31,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":48},{"index":32,"namespace":null,"name":"Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","line":34},{"index":33,"namespace":null,"name":"vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","line":102},{"index":34,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","line":36}],"start":1756380341.101558,"duration":0.00679,"duration_str":"6.79ms","memory":0,"memory_str":null,"filename":"InvoiceObserver.php:62","source":{"index":17,"namespace":null,"name":"Modules\/Invoice\/Observers\/InvoiceObserver.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Observers\/InvoiceObserver.php","line":62},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2FModules%2FInvoice%2FObservers%2FInvoiceObserver.php&line=62","ajax":false,"filename":"InvoiceObserver.php","line":"62"},"connection":"licentia","explain":null,"start_percent":26.144,"width_percent":17.269},{"sql":"insert into `invoices` (`user_id`, `business_id`, `franchise_id`, `quote_id`, `terms_id`, `invoice_number`, `status`, `password`, `url_key`, `is_read_only`, `is_altered`, `discount_total`, `subtotal`, `tax_total`, `balance`, `paid`, `date_due`, `updated_at`, `created_at`) values (21, '10', 64, null, '2', 'MPU-RF6GXC00001', 'Draft', null, 'JTS0LT8ylx20pAEV2xP0', 0, 0, 0, 0, 0, 0, 0, null, '2025-08-28 11:25:41', '2025-08-28 11:25:41')","type":"query","params":[],"bindings":[21,"10",64,null,"2","MPU-RF6GXC00001","Draft",null,"JTS0LT8ylx20pAEV2xP0",0,0,0,0,0,0,0,null,"2025-08-28 11:25:41","2025-08-28 11:25:41"],"hints":null,"show_copy":true,"backtrace":[{"index":21,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":48},{"index":22,"namespace":null,"name":"Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","line":34},{"index":23,"namespace":null,"name":"vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","line":102},{"index":24,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","line":36},{"index":25,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php","line":43}],"start":1756380341.109745,"duration":0.00141,"duration_str":"1.41ms","memory":0,"memory_str":null,"filename":"InvoiceService.php:48","source":{"index":21,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":48},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2FModules%2FInvoice%2FServices%2FInvoiceService.php&line=48","ajax":false,"filename":"InvoiceService.php","line":"48"},"connection":"licentia","explain":null,"start_percent":43.413,"width_percent":3.586},{"sql":"insert into `notes` (`note_title`, `note_text`, `user_id`, `notable_id`, `notable_type`) values ('Important client', 'This client is very important ', 21, 1, 'Modules\\\\Invoice\\\\Models\\\\Invoice')","type":"query","params":[],"bindings":["Important client","This client is very important ",21,1,"Modules\\Invoice\\Models\\Invoice"],"hints":null,"show_copy":true,"backtrace":[{"index":18,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":70},{"index":19,"namespace":null,"name":"Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","line":34},{"index":20,"namespace":null,"name":"vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","line":102},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","line":36},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php","line":43}],"start":1756380341.1163971,"duration":0.00309,"duration_str":"3.09ms","memory":0,"memory_str":null,"filename":"InvoiceService.php:70","source":{"index":18,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":70},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2FModules%2FInvoice%2FServices%2FInvoiceService.php&line=70","ajax":false,"filename":"InvoiceService.php","line":"70"},"connection":"licentia","explain":null,"start_percent":46.999,"width_percent":7.859},{"sql":"insert into `invoice_items` (`invoice_id`, `item_id`, `item_name`, `item_description`, `item_type`, `item_price`, `item_price_mode`, `item_subtotal`, `item_tax_total`, `item_discount`, `item_total`) values (1, 17, 'Section 35 - Type A - On Consumption', 'The retail sale of liquor for consumption on the premises.', 'LICENSE', null, 'Sum Expenses', 30927.18, 3780, 1000, 33707.18)","type":"query","params":[],"bindings":[1,17,"Section 35 - Type A - On Consumption","The retail sale of liquor for consumption on the premises.","LICENSE",null,"Sum Expenses",30927.18,3780,1000,33707.18],"hints":null,"show_copy":true,"backtrace":[{"index":18,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":82},{"index":19,"namespace":null,"name":"Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","line":34},{"index":20,"namespace":null,"name":"vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","line":102},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","line":36},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php","line":43}],"start":1756380341.1212668,"duration":0.00323,"duration_str":"3.23ms","memory":0,"memory_str":null,"filename":"InvoiceService.php:82","source":{"index":18,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":82},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2FModules%2FInvoice%2FServices%2FInvoiceService.php&line=82","ajax":false,"filename":"InvoiceService.php","line":"82"},"connection":"licentia","explain":null,"start_percent":54.858,"width_percent":8.215},{"sql":"insert into `invoice_item_relations` (`child_item_id`, `item_relation_id`, `item_name`, `item_description`, `price_override`, `item_price`, `item_type`, `group`, `contributes_to_price`, `mandatory`, `can_alter_price`, `invoice_item_id`) values (6, 13, 'MER - New Investigation Fee', 'The fee for a new investigation under the MER regulations', 2000, null, 'EXPENSE', 'Government', 1, 1, 0, 1)","type":"query","params":[],"bindings":[6,13,"MER - New Investigation Fee","The fee for a new investigation under the MER regulations",2000,null,"EXPENSE","Government",1,1,0,1],"hints":null,"show_copy":true,"backtrace":[{"index":18,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":104},{"index":19,"namespace":null,"name":"Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","line":34},{"index":20,"namespace":null,"name":"vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","line":102},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","line":36},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php","line":43}],"start":1756380341.125993,"duration":0.0029500000000000004,"duration_str":"2.95ms","memory":0,"memory_str":null,"filename":"InvoiceService.php:104","source":{"index":18,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":104},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2FModules%2FInvoice%2FServices%2FInvoiceService.php&line=104","ajax":false,"filename":"InvoiceService.php","line":"104"},"connection":"licentia","explain":null,"start_percent":63.072,"width_percent":7.503},{"sql":"insert into `invoice_item_relations` (`child_item_id`, `item_relation_id`, `item_name`, `item_description`, `price_override`, `item_price`, `item_type`, `group`, `contributes_to_price`, `mandatory`, `can_alter_price`, `invoice_item_id`) values (7, 14, 'MER - Application Fee', 'The application fee for MER licenses', 700, null, 'EXPENSE', 'Government', 1, 1, 0, 1)","type":"query","params":[],"bindings":[7,14,"MER - Application Fee","The application fee for MER licenses",700,null,"EXPENSE","Government",1,1,0,1],"hints":null,"show_copy":true,"backtrace":[{"index":18,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":104},{"index":19,"namespace":null,"name":"Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","line":34},{"index":20,"namespace":null,"name":"vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","line":102},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","line":36},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php","line":43}],"start":1756380341.13039,"duration":0.0014399999999999999,"duration_str":"1.44ms","memory":0,"memory_str":null,"filename":"InvoiceService.php:104","source":{"index":18,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":104},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2FModules%2FInvoice%2FServices%2FInvoiceService.php&line=104","ajax":false,"filename":"InvoiceService.php","line":"104"},"connection":"licentia","explain":null,"start_percent":70.575,"width_percent":3.662},{"sql":"insert into `invoice_item_relations` (`child_item_id`, `item_relation_id`, `item_name`, `item_description`, `price_override`, `item_price`, `item_type`, `group`, `contributes_to_price`, `mandatory`, `can_alter_price`, `invoice_item_id`) values (8, 15, 'MER - Activation Fee', 'The activation fee for MER licenses', 1500, null, 'EXPENSE', 'Government', 1, 1, 0, 1)","type":"query","params":[],"bindings":[8,15,"MER - Activation Fee","The activation fee for MER licenses",1500,null,"EXPENSE","Government",1,1,0,1],"hints":null,"show_copy":true,"backtrace":[{"index":18,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":104},{"index":19,"namespace":null,"name":"Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","line":34},{"index":20,"namespace":null,"name":"vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","line":102},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","line":36},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php","line":43}],"start":1756380341.1329088,"duration":0.00093,"duration_str":"930\u03bcs","memory":0,"memory_str":null,"filename":"InvoiceService.php:104","source":{"index":18,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":104},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2FModules%2FInvoice%2FServices%2FInvoiceService.php&line=104","ajax":false,"filename":"InvoiceService.php","line":"104"},"connection":"licentia","explain":null,"start_percent":74.237,"width_percent":2.365},{"sql":"insert into `invoice_item_relations` (`child_item_id`, `item_relation_id`, `item_name`, `item_description`, `price_override`, `item_price`, `item_type`, `group`, `contributes_to_price`, `mandatory`, `can_alter_price`, `invoice_item_id`) values (16, 16, 'Government Gazette', 'The government gazette fee', 151.2, null, 'EXPENSE', 'Printing Works', 0, 0, 0, 1)","type":"query","params":[],"bindings":[16,16,"Government Gazette","The government gazette fee",151.2,null,"EXPENSE","Printing Works",0,0,0,1],"hints":null,"show_copy":true,"backtrace":[{"index":18,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":104},{"index":19,"namespace":null,"name":"Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","line":34},{"index":20,"namespace":null,"name":"vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","line":102},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","line":36},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php","line":43}],"start":1756380341.135063,"duration":0.00095,"duration_str":"950\u03bcs","memory":0,"memory_str":null,"filename":"InvoiceService.php:104","source":{"index":18,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":104},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2FModules%2FInvoice%2FServices%2FInvoiceService.php&line=104","ajax":false,"filename":"InvoiceService.php","line":"104"},"connection":"licentia","explain":null,"start_percent":76.602,"width_percent":2.416},{"sql":"insert into `invoice_item_relations` (`child_item_id`, `item_relation_id`, `item_name`, `item_description`, `price_override`, `item_price`, `item_type`, `group`, `contributes_to_price`, `mandatory`, `can_alter_price`, `invoice_item_id`) values (15, 17, 'Local Municipality\/Metropolitan', 'The local municipality\/Metropolitan fee', 125.99, null, 'EXPENSE', 'Government', 0, 1, 1, 1)","type":"query","params":[],"bindings":[15,17,"Local Municipality\/Metropolitan","The local municipality\/Metropolitan fee",125.99,null,"EXPENSE","Government",0,1,1,1],"hints":null,"show_copy":true,"backtrace":[{"index":18,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":104},{"index":19,"namespace":null,"name":"Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","line":34},{"index":20,"namespace":null,"name":"vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","line":102},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","line":36},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php","line":43}],"start":1756380341.137237,"duration":0.00101,"duration_str":"1.01ms","memory":0,"memory_str":null,"filename":"InvoiceService.php:104","source":{"index":18,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":104},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2FModules%2FInvoice%2FServices%2FInvoiceService.php&line=104","ajax":false,"filename":"InvoiceService.php","line":"104"},"connection":"licentia","explain":null,"start_percent":79.018,"width_percent":2.569},{"sql":"insert into `invoice_item_relations` (`child_item_id`, `item_relation_id`, `item_name`, `item_description`, `price_override`, `item_price`, `item_type`, `group`, `contributes_to_price`, `mandatory`, `can_alter_price`, `invoice_item_id`) values (14, 18, 'Local Newspaper', 'The local newspaper fee', 249.99, null, 'EXPENSE', 'Printing Works', 0, 1, 1, 1)","type":"query","params":[],"bindings":[14,18,"Local Newspaper","The local newspaper fee",249.99,null,"EXPENSE","Printing Works",0,1,1,1],"hints":null,"show_copy":true,"backtrace":[{"index":18,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":104},{"index":19,"namespace":null,"name":"Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","line":34},{"index":20,"namespace":null,"name":"vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","line":102},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","line":36},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php","line":43}],"start":1756380341.139507,"duration":0.00117,"duration_str":"1.17ms","memory":0,"memory_str":null,"filename":"InvoiceService.php:104","source":{"index":18,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":104},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2FModules%2FInvoice%2FServices%2FInvoiceService.php&line=104","ajax":false,"filename":"InvoiceService.php","line":"104"},"connection":"licentia","explain":null,"start_percent":81.587,"width_percent":2.976},{"sql":"insert into `invoice_item_relations` (`child_item_id`, `item_relation_id`, `item_name`, `item_description`, `price_override`, `item_price`, `item_type`, `group`, `contributes_to_price`, `mandatory`, `can_alter_price`, `invoice_item_id`) values (1, 19, 'Professional Fee', 'Professional Fee for services rendered', 25000, null, 'FEE', 'Fees', 0, 1, 1, 1)","type":"query","params":[],"bindings":[1,19,"Professional Fee","Professional Fee for services rendered",25000,null,"FEE","Fees",0,1,1,1],"hints":null,"show_copy":true,"backtrace":[{"index":18,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":104},{"index":19,"namespace":null,"name":"Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","line":34},{"index":20,"namespace":null,"name":"vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","line":102},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","line":36},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php","line":43}],"start":1756380341.1418931,"duration":0.00173,"duration_str":"1.73ms","memory":0,"memory_str":null,"filename":"InvoiceService.php:104","source":{"index":18,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":104},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2FModules%2FInvoice%2FServices%2FInvoiceService.php&line=104","ajax":false,"filename":"InvoiceService.php","line":"104"},"connection":"licentia","explain":null,"start_percent":84.563,"width_percent":4.4},{"sql":"insert into `invoice_item_relations` (`child_item_id`, `item_relation_id`, `item_name`, `item_description`, `price_override`, `item_price`, `item_type`, `group`, `contributes_to_price`, `mandatory`, `can_alter_price`, `invoice_item_id`) values (2, 20, 'Miscellaneous Fee', 'Miscellaneous Fee for services rendered', 1200, null, 'FEE', 'Fees', 0, 1, 1, 1)","type":"query","params":[],"bindings":[2,20,"Miscellaneous Fee","Miscellaneous Fee for services rendered",1200,null,"FEE","Fees",0,1,1,1],"hints":null,"show_copy":true,"backtrace":[{"index":18,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":104},{"index":19,"namespace":null,"name":"Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","line":34},{"index":20,"namespace":null,"name":"vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","line":102},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","line":36},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php","line":43}],"start":1756380341.144881,"duration":0.00249,"duration_str":"2.49ms","memory":0,"memory_str":null,"filename":"InvoiceService.php:104","source":{"index":18,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":104},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2FModules%2FInvoice%2FServices%2FInvoiceService.php&line=104","ajax":false,"filename":"InvoiceService.php","line":"104"},"connection":"licentia","explain":null,"start_percent":88.962,"width_percent":6.333},{"sql":"update `invoices` set `discount_total` = 1000, `subtotal` = 30927.18, `tax_total` = 3780, `balance` = 33707.18, `invoices`.`updated_at` = '2025-08-28 11:25:41' where `invoice_id` = 1","type":"query","params":[],"bindings":[1000,30927.18,3780,33707.18,"2025-08-28 11:25:41",1],"hints":null,"show_copy":true,"backtrace":[{"index":18,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":121},{"index":19,"namespace":null,"name":"Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","line":34},{"index":20,"namespace":null,"name":"vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","line":102},{"index":21,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","line":36},{"index":22,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php","line":43}],"start":1756380341.1504352,"duration":0.00185,"duration_str":"1.85ms","memory":0,"memory_str":null,"filename":"InvoiceService.php:121","source":{"index":18,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":121},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2FModules%2FInvoice%2FServices%2FInvoiceService.php&line=121","ajax":false,"filename":"InvoiceService.php","line":"121"},"connection":"licentia","explain":null,"start_percent":95.295,"width_percent":4.705},{"sql":"Commit Transaction","type":"transaction","params":[],"bindings":[],"hints":null,"show_copy":false,"backtrace":[{"index":9,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":128},{"index":10,"namespace":null,"name":"Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Filament\/Resources\/Invoices\/Pages\/CreateInvoice.php","line":34},{"index":11,"namespace":null,"name":"vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","file":"\/var\/www\/html\/Licentia\/vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php","line":102},{"index":12,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/BoundMethod.php","line":36},{"index":13,"namespace":null,"name":"vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php","file":"\/var\/www\/html\/Licentia\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Util.php","line":43}],"start":1756380341.164893,"duration":0,"duration_str":"","memory":0,"memory_str":null,"filename":"InvoiceService.php:128","source":{"index":9,"namespace":null,"name":"Modules\/Invoice\/Services\/InvoiceService.php","file":"\/var\/www\/html\/Licentia\/Modules\/Invoice\/Services\/InvoiceService.php","line":128},"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2FModules%2FInvoice%2FServices%2FInvoiceService.php&line=128","ajax":false,"filename":"InvoiceService.php","line":"128"},"connection":"licentia","explain":null,"start_percent":100,"width_percent":0}]},"models":{"data":{"Modules\\Invoice\\Models\\InvoiceItemRelation":{"created":8,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2FModules%2FInvoice%2FModels%2FInvoiceItemRelation.php&line=1","ajax":false,"filename":"InvoiceItemRelation.php","line":"?"}},"Modules\\Location\\Models\\Franchise":{"retrieved":1,"updated":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2FModules%2FLocation%2FModels%2FFranchise.php&line=1","ajax":false,"filename":"Franchise.php","line":"?"}},"Modules\\User\\Models\\User":{"retrieved":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2FModules%2FUser%2FModels%2FUser.php&line=1","ajax":false,"filename":"User.php","line":"?"}},"Modules\\Business\\Models\\Business":{"retrieved":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2FModules%2FBusiness%2FModels%2FBusiness.php&line=1","ajax":false,"filename":"Business.php","line":"?"}},"Modules\\Invoice\\Models\\InvoiceTerm":{"retrieved":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2FModules%2FInvoice%2FModels%2FInvoiceTerm.php&line=1","ajax":false,"filename":"InvoiceTerm.php","line":"?"}},"Modules\\Location\\Models\\Province":{"retrieved":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2FModules%2FLocation%2FModels%2FProvince.php&line=1","ajax":false,"filename":"Province.php","line":"?"}},"Modules\\Invoice\\Models\\Invoice":{"created":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2FModules%2FInvoice%2FModels%2FInvoice.php&line=1","ajax":false,"filename":"Invoice.php","line":"?"}},"Modules\\Core\\Models\\Note":{"created":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2FModules%2FCore%2FModels%2FNote.php&line=1","ajax":false,"filename":"Note.php","line":"?"}},"Modules\\Invoice\\Models\\InvoiceItem":{"created":1,"xdebug_link":{"url":"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2FModules%2FInvoice%2FModels%2FInvoiceItem.php&line=1","ajax":false,"filename":"InvoiceItem.php","line":"?"}}},"count":17,"key_map":{"retrieved":"Retrieved","created":"Created","updated":"Updated","deleted":"Deleted"},"is_counter":true,"badges":{"retrieved":5,"updated":1,"created":11}},"livewire":{"data":[],"count":0},"symfonymailer_mails":{"count":0,"mails":[]},"gate":{"count":0,"messages":[]},"request":{"data":{"status":"200 OK","full_url":"https:\/\/licentia.valourite.co.za\/livewire\/update","action_name":"livewire.update","controller_action":"Livewire\\Mechanisms\\HandleRequests\\HandleRequests@handleUpdate","uri":"POST livewire\/update","controller":"Modules\\Invoice\\Filament\\Resources\\Invoices\\Pages\\CreateInvoice@create<a href=\"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2Fvendor%2Ffilament%2Ffilament%2Fsrc%2FResources%2FPages%2FCreateRecord.php&line=75\" class=\"phpdebugbar-widgets-editor-link\"><\/a>","file":"<a href=\"phpstorm:\/\/open?file=%2Fvar%2Fwww%2Fhtml%2FLicentia%2Fvendor%2Ffilament%2Ffilament%2Fsrc%2FResources%2FPages%2FCreateRecord.php&line=75\" onclick=\"\" class=\"phpdebugbar-widgets-editor-link\">vendor\/filament\/filament\/src\/Resources\/Pages\/CreateRecord.php:75-149<\/a>","middleware":"web","duration":"966ms","peak_memory":"28MB","response":"application\/json","request_format":"html","request_query":"<pre class=sf-dump id=sf-dump-1673785119 data-indent-pad=\"  \">[]\n<\/pre><script>Sfdump(\"sf-dump-1673785119\", {\"maxDepth\":0})<\/script>\n","request_request":"<pre class=sf-dump id=sf-dump-377376644 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>_token<\/span>\" => \"<span class=sf-dump-str title=\"40 characters\">FicZsNRjvD48n1kijjBqtUEbrCiXUO3E7HLYc8SP<\/span>\"\n  \"<span class=sf-dump-key>components<\/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-note>array:3<\/span> [<samp data-depth=3 class=sf-dump-compact>\n      \"<span class=sf-dump-key>snapshot<\/span>\" => \"<span class=sf-dump-str title=\"8254 characters\">{&quot;data&quot;:{&quot;record&quot;:null,&quot;data&quot;:[{&quot;invoice_id&quot;:null,&quot;franchise_id&quot;:64,&quot;business_id&quot;:&quot;10&quot;,&quot;invoice_number&quot;:null,&quot;status&quot;:[&quot;Draft&quot;,{&quot;class&quot;:&quot;Modules\\\\Invoice\\\\Enums\\\\InvoiceStatus&quot;,&quot;s&quot;:&quot;enm&quot;}],&quot;password&quot;:null,&quot;date_due&quot;:null,&quot;items&quot;:[{&quot;de5fc385-6c3f-4d85-a142-3b80af5625f6&quot;:[{&quot;item_discount_max_value&quot;:5000,&quot;item_misc_max_value&quot;:6250,&quot;item_subtotal&quot;:30927.18,&quot;item_relations&quot;:[[[{&quot;invoice_item_relation_id&quot;:null,&quot;item_relation_id&quot;:13,&quot;parent_item_id&quot;:17,&quot;child_item_id&quot;:6,&quot;item_name&quot;:&quot;MER - New Investigation Fee&quot;,&quot;item_description&quot;:&quot;The fee for a new investigation under the MER regulations&quot;,&quot;price_override&quot;:2000,&quot;item_price&quot;:null,&quot;item_type&quot;:&quot;EXPENSE&quot;,&quot;group&quot;:&quot;Government&quot;,&quot;contributes_to_price&quot;:1,&quot;mandatory&quot;:1,&quot;can_alter_price&quot;:false},{&quot;s&quot;:&quot;arr&quot;}],[{&quot;invoice_item_relation_id&quot;:null,&quot;item_relation_id&quot;:14,&quot;parent_item_id&quot;:17,&quot;child_item_id&quot;:7,&quot;item_name&quot;:&quot;MER - Application Fee&quot;,&quot;item_description&quot;:&quot;The application fee for MER licenses&quot;,&quot;price_override&quot;:700,&quot;item_price&quot;:null,&quot;item_type&quot;:&quot;EXPENSE&quot;,&quot;group&quot;:&quot;Government&quot;,&quot;contributes_to_price&quot;:1,&quot;mandatory&quot;:1,&quot;can_alter_price&quot;:false},{&quot;s&quot;:&quot;arr&quot;}],[{&quot;invoice_item_relation_id&quot;:null,&quot;item_relation_id&quot;:15,&quot;parent_item_id&quot;:17,&quot;child_item_id&quot;:8,&quot;item_name&quot;:&quot;MER - Activation Fee&quot;,&quot;item_description&quot;:&quot;The activation fee for MER licenses&quot;,&quot;price_override&quot;:1500,&quot;item_price&quot;:null,&quot;item_type&quot;:&quot;EXPENSE&quot;,&quot;group&quot;:&quot;Government&quot;,&quot;contributes_to_price&quot;:1,&quot;mandatory&quot;:1,&quot;can_alter_price&quot;:false},{&quot;s&quot;:&quot;arr&quot;}],[{&quot;invoice_item_relation_id&quot;:null,&quot;item_relation_id&quot;:16,&quot;parent_item_id&quot;:17,&quot;child_item_id&quot;:16,&quot;item_name&quot;:&quot;Government Gazette&quot;,&quot;item_description&quot;:&quot;The government gazette fee&quot;,&quot;price_override&quot;:151.2,&quot;item_price&quot;:null,&quot;item_type&quot;:&quot;EXPENSE&quot;,&quot;group&quot;:&quot;Printing Works&quot;,&quot;contributes_to_price&quot;:0,&quot;mandatory&quot;:0,&quot;can_alter_price&quot;:false},{&quot;s&quot;:&quot;arr&quot;}],[{&quot;invoice_item_relation_id&quot;:null,&quot;item_relation_id&quot;:17,&quot;parent_item_id&quot;:17,&quot;child_item_id&quot;:15,&quot;item_name&quot;:&quot;Local Municipality\\\/Metropolitan&quot;,&quot;item_description&quot;:&quot;The local municipality\\\/Metropolitan fee&quot;,&quot;price_override&quot;:&quot;125.99&quot;,&quot;item_price&quot;:null,&quot;item_type&quot;:&quot;EXPENSE&quot;,&quot;group&quot;:&quot;Government&quot;,&quot;contributes_to_price&quot;:0,&quot;mandatory&quot;:1,&quot;can_alter_price&quot;:true},{&quot;s&quot;:&quot;arr&quot;}],[{&quot;invoice_item_relation_id&quot;:null,&quot;item_relation_id&quot;:18,&quot;parent_item_id&quot;:17,&quot;child_item_id&quot;:14,&quot;item_name&quot;:&quot;Local Newspaper&quot;,&quot;item_description&quot;:&quot;The local newspaper fee&quot;,&quot;price_override&quot;:&quot;249.99&quot;,&quot;item_price&quot;:null,&quot;item_type&quot;:&quot;EXPENSE&quot;,&quot;group&quot;:&quot;Printing Works&quot;,&quot;contributes_to_price&quot;:0,&quot;mandatory&quot;:1,&quot;can_alter_price&quot;:true},{&quot;s&quot;:&quot;arr&quot;}],[{&quot;invoice_item_relation_id&quot;:null,&quot;item_relation_id&quot;:19,&quot;parent_item_id&quot;:17,&quot;child_item_id&quot;:1,&quot;item_name&quot;:&quot;Professional Fee&quot;,&quot;item_description&quot;:&quot;Professional Fee for services rendered&quot;,&quot;price_override&quot;:&quot;25000&quot;,&quot;item_price&quot;:null,&quot;item_type&quot;:&quot;FEE&quot;,&quot;group&quot;:&quot;Fees&quot;,&quot;contributes_to_price&quot;:0,&quot;mandatory&quot;:1,&quot;can_alter_price&quot;:true},{&quot;s&quot;:&quot;arr&quot;}],[{&quot;invoice_item_relation_id&quot;:null,&quot;item_relation_id&quot;:20,&quot;parent_item_id&quot;:17,&quot;child_item_id&quot;:2,&quot;item_name&quot;:&quot;Miscellaneous Fee&quot;,&quot;item_description&quot;:&quot;Miscellaneous Fee for services rendered&quot;,&quot;price_override&quot;:&quot;1200&quot;,&quot;item_price&quot;:null,&quot;item_type&quot;:&quot;FEE&quot;,&quot;group&quot;:&quot;Fees&quot;,&quot;contributes_to_price&quot;:0,&quot;mandatory&quot;:1,&quot;can_alter_price&quot;:true},{&quot;s&quot;:&quot;arr&quot;}]],{&quot;s&quot;:&quot;arr&quot;}],&quot;item_price_mode&quot;:&quot;Sum Expenses&quot;,&quot;item_type&quot;:&quot;LICENSE&quot;,&quot;invoice_item_id&quot;:null,&quot;Item&quot;:[{&quot;item_id&quot;:17,&quot;category_id&quot;:3,&quot;service_id&quot;:15,&quot;item_name&quot;:&quot;Section 35 - Type A - On Consumption&quot;,&quot;item_slug&quot;:&quot;section-35-type-a-on-consumption&quot;,&quot;item_description&quot;:&quot;The retail sale of liquor for consumption on the premises.&quot;,&quot;item_type&quot;:&quot;LICENSE&quot;,&quot;item_action&quot;:&quot;CREATE_LICENCE&quot;,&quot;item_action_trigger&quot;:&quot;Invoice Created&quot;,&quot;item_price&quot;:null,&quot;item_price_mode&quot;:&quot;Sum Expenses&quot;,&quot;group&quot;:&quot;Retail Liquor&quot;,&quot;is_active&quot;:true,&quot;is_discoverable&quot;:true,&quot;deleted_at&quot;:null,&quot;created_at&quot;:null,&quot;updated_at&quot;:null,&quot;child_relations&quot;:[[[{&quot;item_relation_id&quot;:13,&quot;parent_item_id&quot;:17,&quot;child_item_id&quot;:6,&quot;price_override&quot;:2000,&quot;can_alter_price&quot;:false,&quot;contributes_to_price&quot;:1,&quot;mandatory&quot;:1,&quot;child&quot;:[{&quot;item_id&quot;:6,&quot;item_name&quot;:&quot;MER - New Investigation Fee&quot;,&quot;item_description&quot;:&quot;The fee for a new investigation under the MER regulations&quot;,&quot;item_price&quot;:null,&quot;item_price_mode&quot;:&quot;Base&quot;,&quot;item_type&quot;:&quot;EXPENSE&quot;,&quot;group&quot;:&quot;Government&quot;},{&quot;s&quot;:&quot;arr&quot;}]},{&quot;s&quot;:&quot;arr&quot;}],[{&quot;item_relation_id&quot;:14,&quot;parent_item_id&quot;:17,&quot;child_item_id&quot;:7,&quot;price_override&quot;:700,&quot;can_alter_price&quot;:false,&quot;contributes_to_price&quot;:1,&quot;mandatory&quot;:1,&quot;child&quot;:[{&quot;item_id&quot;:7,&quot;item_name&quot;:&quot;MER - Application Fee&quot;,&quot;item_description&quot;:&quot;The application fee for MER licenses&quot;,&quot;item_price&quot;:null,&quot;item_price_mode&quot;:&quot;Base&quot;,&quot;item_type&quot;:&quot;EXPENSE&quot;,&quot;group&quot;:&quot;Government&quot;},{&quot;s&quot;:&quot;arr&quot;}]},{&quot;s&quot;:&quot;arr&quot;}],[{&quot;item_relation_id&quot;:15,&quot;parent_item_id&quot;:17,&quot;child_item_id&quot;:8,&quot;price_override&quot;:1500,&quot;can_alter_price&quot;:false,&quot;contributes_to_price&quot;:1,&quot;mandatory&quot;:1,&quot;child&quot;:[{&quot;item_id&quot;:8,&quot;item_name&quot;:&quot;MER - Activation Fee&quot;,&quot;item_description&quot;:&quot;The activation fee for MER licenses&quot;,&quot;item_price&quot;:null,&quot;item_price_mode&quot;:&quot;Base&quot;,&quot;item_type&quot;:&quot;EXPENSE&quot;,&quot;group&quot;:&quot;Government&quot;},{&quot;s&quot;:&quot;arr&quot;}]},{&quot;s&quot;:&quot;arr&quot;}],[{&quot;item_relation_id&quot;:16,&quot;parent_item_id&quot;:17,&quot;child_item_id&quot;:16,&quot;price_override&quot;:151.2,&quot;can_alter_price&quot;:false,&quot;contributes_to_price&quot;:0,&quot;mandatory&quot;:0,&quot;child&quot;:[{&quot;item_id&quot;:16,&quot;item_name&quot;:&quot;Government Gazette&quot;,&quot;item_description&quot;:&quot;The government gazette fee&quot;,&quot;item_price&quot;:null,&quot;item_price_mode&quot;:&quot;Base&quot;,&quot;item_type&quot;:&quot;EXPENSE&quot;,&quot;group&quot;:&quot;Printing Works&quot;},{&quot;s&quot;:&quot;arr&quot;}]},{&quot;s&quot;:&quot;arr&quot;}],[{&quot;item_relation_id&quot;:17,&quot;parent_item_id&quot;:17,&quot;child_item_id&quot;:15,&quot;price_override&quot;:null,&quot;can_alter_price&quot;:true,&quot;contributes_to_price&quot;:0,&quot;mandatory&quot;:1,&quot;child&quot;:[{&quot;item_id&quot;:15,&quot;item_name&quot;:&quot;Local Municipality\\\/Metropolitan&quot;,&quot;item_description&quot;:&quot;The local municipality\\\/Metropolitan fee&quot;,&quot;item_price&quot;:null,&quot;item_price_mode&quot;:&quot;Base&quot;,&quot;item_type&quot;:&quot;EXPENSE&quot;,&quot;group&quot;:&quot;Government&quot;},{&quot;s&quot;:&quot;arr&quot;}]},{&quot;s&quot;:&quot;arr&quot;}],[{&quot;item_relation_id&quot;:18,&quot;parent_item_id&quot;:17,&quot;child_item_id&quot;:14,&quot;price_override&quot;:null,&quot;can_alter_price&quot;:true,&quot;contributes_to_price&quot;:0,&quot;mandatory&quot;:1,&quot;child&quot;:[{&quot;item_id&quot;:14,&quot;item_name&quot;:&quot;Local Newspaper&quot;,&quot;item_description&quot;:&quot;The local newspaper fee&quot;,&quot;item_price&quot;:null,&quot;item_price_mode&quot;:&quot;Base&quot;,&quot;item_type&quot;:&quot;EXPENSE&quot;,&quot;group&quot;:&quot;Printing Works&quot;},{&quot;s&quot;:&quot;arr&quot;}]},{&quot;s&quot;:&quot;arr&quot;}],[{&quot;item_relation_id&quot;:19,&quot;parent_item_id&quot;:17,&quot;child_item_id&quot;:1,&quot;price_override&quot;:null,&quot;can_alter_price&quot;:true,&quot;contributes_to_price&quot;:0,&quot;mandatory&quot;:1,&quot;child&quot;:[{&quot;item_id&quot;:1,&quot;item_name&quot;:&quot;Professional Fee&quot;,&quot;item_description&quot;:&quot;Professional Fee for services rendered&quot;,&quot;item_price&quot;:null,&quot;item_price_mode&quot;:&quot;Base&quot;,&quot;item_type&quot;:&quot;FEE&quot;,&quot;group&quot;:&quot;Fees&quot;},{&quot;s&quot;:&quot;arr&quot;}]},{&quot;s&quot;:&quot;arr&quot;}],[{&quot;item_relation_id&quot;:20,&quot;parent_item_id&quot;:17,&quot;child_item_id&quot;:2,&quot;price_override&quot;:null,&quot;can_alter_price&quot;:true,&quot;contributes_to_price&quot;:0,&quot;mandatory&quot;:1,&quot;child&quot;:[{&quot;item_id&quot;:2,&quot;item_name&quot;:&quot;Miscellaneous Fee&quot;,&quot;item_description&quot;:&quot;Miscellaneous Fee for services rendered&quot;,&quot;item_price&quot;:null,&quot;item_price_mode&quot;:&quot;Sum Children&quot;,&quot;item_type&quot;:&quot;FEE&quot;,&quot;group&quot;:&quot;Fees&quot;},{&quot;s&quot;:&quot;arr&quot;}]},{&quot;s&quot;:&quot;arr&quot;}]],{&quot;s&quot;:&quot;arr&quot;}]},{&quot;s&quot;:&quot;arr&quot;}],&quot;item_id&quot;:&quot;17&quot;,&quot;item_price&quot;:0,&quot;item_discount&quot;:&quot;1000&quot;,&quot;item_tax_total&quot;:3780,&quot;item_total&quot;:33707.18,&quot;item_profit&quot;:17800},{&quot;s&quot;:&quot;arr&quot;}]},{&quot;s&quot;:&quot;arr&quot;}],&quot;note_title&quot;:&quot;Important client&quot;,&quot;note_text&quot;:&quot;This client is very important &quot;,&quot;terms_id&quot;:&quot;2&quot;,&quot;terms_content&quot;:&quot;### Deposit Requirement\\n\\nA **50% deposit** is required before any services commence.\\n\\nThe remaining balance is payable upon project completion or delivery of services, whichever comes first.&quot;},{&quot;s&quot;:&quot;arr&quot;}],&quot;previousUrl&quot;:&quot;https:\\\/\\\/licentia.valourite.co.za\\\/myFranchise\\\/welcome&quot;,&quot;isCreating&quot;:false,&quot;mountedActions&quot;:[[],{&quot;s&quot;:&quot;arr&quot;}],&quot;defaultAction&quot;:null,&quot;defaultActionArguments&quot;:null,&quot;defaultActionContext&quot;:null,&quot;defaultTableAction&quot;:null,&quot;defaultTableActionRecord&quot;:null,&quot;defaultTableActionArguments&quot;:null,&quot;componentFileAttachments&quot;:[[],{&quot;s&quot;:&quot;arr&quot;}],&quot;areSchemaStateUpdateHooksDisabledForTesting&quot;:false,&quot;discoveredSchemaNames&quot;:[[&quot;form&quot;,&quot;content&quot;,&quot;headerWidgets&quot;,&quot;footerWidgets&quot;],{&quot;s&quot;:&quot;arr&quot;}],&quot;parentRecord&quot;:null,&quot;savedDataHash&quot;:null},&quot;memo&quot;:{&quot;id&quot;:&quot;AQjCDaEnY9eQ0CrylKRy&quot;,&quot;name&quot;:&quot;modules.invoice.filament.resources.invoices.pages.create-invoice&quot;,&quot;path&quot;:&quot;myFranchise\\\/invoices\\\/create&quot;,&quot;method&quot;:&quot;GET&quot;,&quot;children&quot;:{&quot;AQjCDaEnY9eQ0CrylKRy.headerWidgets.Modules\\\\Invoice\\\\Filament\\\\Resources\\\\Invoices\\\\Widgets\\\\InvoiceFormLogo-0&quot;:[&quot;div&quot;,&quot;qlsZkhP7sv2qgTfV7SUJ&quot;]},&quot;scripts&quot;:[],&quot;assets&quot;:[],&quot;errors&quot;:[],&quot;locale&quot;:&quot;en&quot;},&quot;checksum&quot;:&quot;88fd52e7acacc9bbf71fbc4f2ba5cebe367e3ae3cefd4742b490985e7d68ca9d&quot;}<\/span>\"\n      \"<span class=sf-dump-key>updates<\/span>\" => []\n      \"<span class=sf-dump-key>calls<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=4 class=sf-dump-compact>\n        <span class=sf-dump-index>0<\/span> => <span class=sf-dump-note>array:3<\/span> [<samp data-depth=5 class=sf-dump-compact>\n          \"<span class=sf-dump-key>path<\/span>\" => \"\"\n          \"<span class=sf-dump-key>method<\/span>\" => \"<span class=sf-dump-str title=\"6 characters\">create<\/span>\"\n          \"<span class=sf-dump-key>params<\/span>\" => []\n        <\/samp>]\n      <\/samp>]\n    <\/samp>]\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-377376644\", {\"maxDepth\":0})<\/script>\n","request_headers":"<pre class=sf-dump id=sf-dump-1673294973 data-indent-pad=\"  \"><span class=sf-dump-note>array:18<\/span> [<samp data-depth=1 class=sf-dump-expanded>\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=\"24 characters\">licentia.valourite.co.za<\/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>content-length<\/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\">9385<\/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>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\/139.0.0.0 Safari\/537.36<\/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;Not;A=Brand&quot;;v=&quot;99&quot;, &quot;Google Chrome&quot;;v=&quot;139&quot;, &quot;Chromium&quot;;v=&quot;139&quot;<\/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>x-livewire<\/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> => \"\"\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>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>origin<\/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=\"32 characters\">https:\/\/licentia.valourite.co.za<\/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>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-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>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=\"60 characters\">https:\/\/licentia.valourite.co.za\/myFranchise\/invoices\/create<\/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>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=\"35 characters\">en-GB,en-US;q=0.9,en;q=0.8,af;q=0.7<\/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=\"714 characters\">XSRF-TOKEN=eyJpdiI6Ilpwb3htZW1xdHhKeVVsRXZ6Ky95S1E9PSIsInZhbHVlIjoiaGdONC9aUlhzVjgyNXNKaVlJcWRmejR0bEVwTzlYOENWR0ZDSlUzSDZpbWZhL0xueWlhb2U0OGRhUmFvUlRPTGdsRUZTK2c4MWJBNHlZSFlJenIvS0ZCUHpSU1hJR0FBYzZ4Tk5rSUc4cm5tWWRiQ3JsczNNandDZlFkUTFKNWsiLCJtYWMiOiI2NWRjM2I5NDljOGI2YjIyNzFjNWNlOTE3M2M4MmJkMjIwNWFmNjhhODA2N2I5M2ZmMTNlYzQzOWVkZmEzZmM2IiwidGFnIjoiIn0%3D; licentia_session=eyJpdiI6IlVNWWdhbk10eDRiMlJzYXdNN0gyWHc9PSIsInZhbHVlIjoidVM5OEljZ0V2N0crS3dRQ2gwSGNqZnBDT2dBNnhBOTQ4S0w1Z28wd0NnaXpLVzVrV2xRR1kzZW40RzJsMWx1R0VoUHg2TEJoV2NSRElnbHdVSEpsRHdOczNYMGJ5TytieXdubVpNcnZ6MjcwRTkzdlZzcUFxeUEzQjhIMTB5czUiLCJtYWMiOiI3ZGQxYmIyOGIzYTkxZTA4OGZhNmIxZjNiNDZhZTcxNzRlMGU1ZTFlMjM2MDEzNDNhZTY1OGVlM2JjMzgyZTNkIiwidGFnIjoiIn0%3D<\/span>\"\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1673294973\", {\"maxDepth\":0})<\/script>\n","request_cookies":"<pre class=sf-dump id=sf-dump-1200623508 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\">FicZsNRjvD48n1kijjBqtUEbrCiXUO3E7HLYc8SP<\/span>\"\n  \"<span class=sf-dump-key>licentia_session<\/span>\" => \"<span class=sf-dump-str title=\"40 characters\">k3uF5oBUnx4e57uVK292CJCyj3dLDRnpfBFVEbEF<\/span>\"\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-1200623508\", {\"maxDepth\":0})<\/script>\n","response_headers":"<pre class=sf-dump id=sf-dump-564837662 data-indent-pad=\"  \"><span class=sf-dump-note>array:3<\/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\">Thu, 28 Aug 2025 11:25:41 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<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-564837662\", {\"maxDepth\":0})<\/script>\n","session_attributes":"<pre class=sf-dump id=sf-dump-2109101227 data-indent-pad=\"  \"><span class=sf-dump-note>array:10<\/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\">FicZsNRjvD48n1kijjBqtUEbrCiXUO3E7HLYc8SP<\/span>\"\n  \"<span class=sf-dump-key>PHPDEBUGBAR_STACK_DATA<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    \"<span class=sf-dump-key>01K3R6QE78E1RVVYHYHGFCHDVM<\/span>\" => <span class=sf-dump-const>null<\/span>\n  <\/samp>]\n  \"<span class=sf-dump-key>_previous<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    \"<span class=sf-dump-key>url<\/span>\" => \"<span class=sf-dump-str title=\"60 characters\">https:\/\/licentia.valourite.co.za\/myFranchise\/invoices\/create<\/span>\"\n  <\/samp>]\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>url<\/span>\" => []\n  \"<span class=sf-dump-key>login_web_59ba36addc2b2f9401580f014c7f58ea4e30989d<\/span>\" => \"<span class=sf-dump-str title=\"5 characters\">admin<\/span>\"\n  \"<span class=sf-dump-key>franchise_id<\/span>\" => <span class=sf-dump-num>64<\/span>\n  \"<span class=sf-dump-key>province_id<\/span>\" => <span class=sf-dump-num>1<\/span>\n  \"<span class=sf-dump-key>password_hash_web<\/span>\" => \"<span class=sf-dump-str title=\"60 characters\">$2y$12$jbZgx.lHVcX1jgYxjESSuuK90Xlvo2Z22nhN93AvvsGvVfxj7aaOi<\/span>\"\n  \"<span class=sf-dump-key>filament<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=2 class=sf-dump-compact>\n    \"<span class=sf-dump-key>notifications<\/span>\" => <span class=sf-dump-note>array:1<\/span> [<samp data-depth=3 class=sf-dump-compact>\n      <span class=sf-dump-index>0<\/span> => <span class=sf-dump-note>array:11<\/span> [<samp data-depth=4 class=sf-dump-compact>\n        \"<span class=sf-dump-key>id<\/span>\" => \"<span class=sf-dump-str title=\"36 characters\">9fbdeaa2-1375-42db-98a0-38c820473606<\/span>\"\n        \"<span class=sf-dump-key>actions<\/span>\" => []\n        \"<span class=sf-dump-key>body<\/span>\" => <span class=sf-dump-const>null<\/span>\n        \"<span class=sf-dump-key>color<\/span>\" => <span class=sf-dump-const>null<\/span>\n        \"<span class=sf-dump-key>duration<\/span>\" => <span class=sf-dump-num>6000<\/span>\n        \"<span class=sf-dump-key>icon<\/span>\" => \"<span class=sf-dump-str title=\"23 characters\">heroicon-o-check-circle<\/span>\"\n        \"<span class=sf-dump-key>iconColor<\/span>\" => \"<span class=sf-dump-str title=\"7 characters\">success<\/span>\"\n        \"<span class=sf-dump-key>status<\/span>\" => \"<span class=sf-dump-str title=\"7 characters\">success<\/span>\"\n        \"<span class=sf-dump-key>title<\/span>\" => \"<span class=sf-dump-str title=\"7 characters\">Created<\/span>\"\n        \"<span class=sf-dump-key>view<\/span>\" => <span class=sf-dump-const>null<\/span>\n        \"<span class=sf-dump-key>viewData<\/span>\" => []\n      <\/samp>]\n    <\/samp>]\n  <\/samp>]\n<\/samp>]\n<\/pre><script>Sfdump(\"sf-dump-2109101227\", {\"maxDepth\":0})<\/script>\n"},"tooltip":{"status":"200 OK","full_url":"https:\/\/licentia.valourite.co.za\/livewire\/update","action_name":"livewire.update","controller_action":"Livewire\\Mechanisms\\HandleRequests\\HandleRequests@handleUpdate"},"badge":null}}