diff --git a/app/Config/Routes.php b/app/Config/Routes.php index 2f6048d..2a491a7 100644 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -62,4 +62,9 @@ $routes->get('vehicle_index/', 'Vehicle::vehicle_index'); $routes->post("add_vehicle", "Vehicle::add_vehicle"); $routes->get("new_vehicle/(:any)", "Vehicle::new_vehicle/$1"); $routes->get("delete_vehicle/(:any)", "Vehicle::delete_vehicle/$1"); -//end Vehicle \ No newline at end of file +//end Vehicle + + + +//dashboard +$routes->get('dashboard', 'Users::dashboard'); \ No newline at end of file diff --git a/app/Controllers/Client.php b/app/Controllers/Client.php index c8116f1..b4ce784 100644 --- a/app/Controllers/Client.php +++ b/app/Controllers/Client.php @@ -4,16 +4,25 @@ namespace App\Controllers; use App\Models\ClientModel; use App\Models\RoleModel; +use App\Models\UsersModel; class Client extends BaseController { + + public $session; + public function __construct() + { + + $this->session = session(); + $this->UsersModel = new UsersModel(); + } public function client_index() { $ClientModel = new ClientModel(); - $client=$ClientModel->findAll(); + $client = $ClientModel->where('branch_id',$this->session->get('logged_user_branch_id'))->findAll(); $data['client']=$client; return view('client_list',$data); @@ -57,7 +66,8 @@ class Client extends BaseController 'state' => $this->request->getPost('state'), 'postal_code' => $this->request->getPost('postalcode'), 'country' => $this->request->getPost('country'), - 'isactive' => 1 // Assuming this is a default value or handled separately + 'isactive' => 1 , + 'branch_id' => $this->session->get('logged_user_branch_id') ]; // print_r($data);die; diff --git a/app/Controllers/Login.php b/app/Controllers/Login.php index 3c75c7c..212b229 100644 --- a/app/Controllers/Login.php +++ b/app/Controllers/Login.php @@ -13,7 +13,7 @@ class Login extends BaseController $this->session = session(); $this->UsersModel = new UsersModel(); -} + } public function index() { return view('login_form'); @@ -37,6 +37,7 @@ class Login extends BaseController // echo $user['password'];die; if ($user && password_verify($password, $user['password'])) { + $Data = $this->UsersModel->select('users.* , roles.roles') ->join('roles', 'users.role = roles.role_id', 'left') ->where('users.email',$email) @@ -49,7 +50,7 @@ class Login extends BaseController $this->session->set('logged_user_name',$Data[0]['name']); - return redirect()->to('business_index'); + return redirect()->to('dashboard'); } else { // echo "Stored Password: " . $user['password'] . "
"; // echo "Input Password: " . $password . "
"; diff --git a/app/Controllers/Users.php b/app/Controllers/Users.php index 95e9229..c007829 100644 --- a/app/Controllers/Users.php +++ b/app/Controllers/Users.php @@ -11,11 +11,19 @@ use App\Models\BranchModel; class Users extends BaseController { + + public function dashboard() + { + return view('dashboard'); + + } + + ## For User Listing public function index() { $UsersModel = new UsersModel(); - $users=$UsersModel->findAll(); + $users = $UsersModel->findAll(); $data['users']=$users; $roleModel = new RoleModel(); diff --git a/app/Models/ClientModel.php b/app/Models/ClientModel.php index d6e23c8..2e0dd03 100644 --- a/app/Models/ClientModel.php +++ b/app/Models/ClientModel.php @@ -5,7 +5,7 @@ class ClientModel extends Model { protected $table = 'client'; protected $primaryKey = 'client_id'; - protected $allowedFields = ['client_id','client_name','email','mobile_no','address','city','state','postal_code','country','description','isactive']; + protected $allowedFields = ['client_id','client_name','email','mobile_no','address','city','state','postal_code','country','description','isactive','branch_id']; } \ No newline at end of file diff --git a/app/Views/client_form.php b/app/Views/client_form.php index 312f8d2..6689cd3 100644 --- a/app/Views/client_form.php +++ b/app/Views/client_form.php @@ -21,43 +21,46 @@
" method="post">
-
+
-
+
-
+
-
- - -
+
+

Address Information :

-
- - +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
-
- - -
-
- - -
-
- - -
-
diff --git a/app/Views/client_list.php b/app/Views/client_list.php index 45fd010..e34e5d2 100644 --- a/app/Views/client_list.php +++ b/app/Views/client_list.php @@ -33,10 +33,11 @@ Client Name Mobile Email + Address City State - Postal Code - Country + Country + Pin Code Actions @@ -50,9 +51,9 @@ - - - + + + diff --git a/app/Views/dashboard.php b/app/Views/dashboard.php new file mode 100644 index 0000000..3355ad6 --- /dev/null +++ b/app/Views/dashboard.php @@ -0,0 +1,19 @@ + +
+
+
+

+
+ +
+
+
+
+ + diff --git a/app/Views/layout/footer.php b/app/Views/layout/footer.php index d26dc49..6dda8d7 100644 --- a/app/Views/layout/footer.php +++ b/app/Views/layout/footer.php @@ -2,7 +2,7 @@ -
+
diff --git a/app/Views/product_list.php b/app/Views/product_list.php index 4c568ca..89552e1 100644 --- a/app/Views/product_list.php +++ b/app/Views/product_list.php @@ -53,7 +53,7 @@ - + diff --git a/writable/debugbar/debugbar_1712310115.387073.json b/writable/debugbar/debugbar_1712310115.387073.json deleted file mode 100644 index 5d30d1d..0000000 --- a/writable/debugbar/debugbar_1712310115.387073.json +++ /dev/null @@ -1 +0,0 @@ -{"url":"http:\/\/localhost\/the_mechanic\/public\/index.php\/add_product","method":"POST","isAJAX":false,"startTime":1712310114.989758,"totalTime":368.70000000000005,"totalMemory":"5.491","segmentDuration":55,"segmentCount":7,"CI_VERSION":"4.4.6","collectors":[{"title":"Timers","titleSafe":"timers","titleDetails":"","display":[],"badgeValue":null,"isEmpty":false,"hasTabContent":false,"hasLabel":false,"icon":"","hasTimelineData":true,"timelineData":[{"name":"Bootstrap","component":"Timer","start":1712310115.020709,"duration":0.05834507942199707},{"name":"Routing","component":"Timer","start":1712310115.079058,"duration":7.104873657226562e-5},{"name":"Before Filters","component":"Timer","start":1712310115.082516,"duration":3.695487976074219e-5},{"name":"Controller","component":"Timer","start":1712310115.082557,"duration":0.2758350372314453},{"name":"Controller Constructor","component":"Timer","start":1712310115.082559,"duration":0.0043179988861083984},{"name":"After Filters","component":"Timer","start":1712310115.358496,"duration":0.0018601417541503906}]},{"title":"Database","titleSafe":"database","titleDetails":"(1 total Query, 1 unique across 1 Connection)","display":{"queries":[{"hover":"","class":"","duration":"39.17 ms","sql":"UPDATE<\/strong> `products` SET `product_name` = 'Air Filter', `product_category` = 'hardware', `mfr_part_no` = '22452', `serial_no` = '1224222', `unit_price` = '380', `commision_rate` = '23', `sgst` = '2', `cgst` = '4', `purchase_cost` = '300', `qty` = '24', `qty_in_demand` = '6', `description` = ' ', `isactive` = 1\nWHERE<\/strong> `products`.`product_id` IN<\/strong> ('2')","trace":[{"file":"SYSTEMPATH\\Database\\BaseBuilder.php:2474","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\Database\\BaseConnection->query()","index":"\u00a0\u00a01\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\Model.php:393","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\Database\\BaseBuilder->update()","index":"\u00a0\u00a02\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\BaseModel.php:987","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\Model->doUpdate()","index":"\u00a0\u00a03\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\Model.php:807","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\BaseModel->update()","index":"\u00a0\u00a04\u00a0\u00a0\u00a0\u00a0"},{"file":"APPPATH\\Controllers\\Products.php:78","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\Model->update()","index":"\u00a0\u00a05\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:941","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0App\\Controllers\\Products->add_product()","index":"\u00a0\u00a06\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:502","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->runController()","index":"\u00a0\u00a07\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:361","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->handleRequest()","index":"\u00a0\u00a08\u00a0\u00a0\u00a0\u00a0"},{"file":"FCPATH\\index.php:79","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->run()","index":"\u00a0\u00a09\u00a0\u00a0\u00a0\u00a0"}],"trace-file":"APPPATH\\Controllers\\Products.php:78","qid":"c57872682f82ea64cee85a4273bf4821"}]},"badgeValue":1,"isEmpty":false,"hasTabContent":true,"hasLabel":false,"icon":"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADMSURBVEhLY6A3YExLSwsA4nIycQDIDIhRWEBqamo\/UNF\/SjDQjF6ocZgAKPkRiFeEhoYyQ4WIBiA9QAuWAPEHqBAmgLqgHcolGQD1V4DMgHIxwbCxYD+QBqcKINseKo6eWrBioPrtQBq\/BcgY5ht0cUIYbBg2AJKkRxCNWkDQgtFUNJwtABr+F6igE8olGQD114HMgHIxAVDyAhA\/AlpSA8RYUwoeXAPVex5qHCbIyMgwBCkAuQJIY00huDBUz\/mUlBQDqHGjgBjAwAAACexpph6oHSQAAAAASUVORK5CYII=","hasTimelineData":true,"timelineData":[{"name":"Connecting to Database: \"default\"","component":"Database","start":1712310115.130218,"duration":"0.184745"},{"name":"Query","component":"Database","start":1712310115.316198,"duration":"0.039174","query":"UPDATE<\/strong> `products` SET `product_name` = 'Air Filter', `product_category` = 'hardware', `mfr_part_no` = '22452', `serial_no` = '1224222', `unit_price` = '380', `commision_rate` = '23', `sgst` = '2', `cgst` = '4', `purchase_cost` = '300', `qty` = '24', `qty_in_demand` = '6', `description` = ' ', `isactive` = 1\nWHERE<\/strong> `products`.`product_id` IN<\/strong> ('2')"}]},{"title":"Logs","titleSafe":"logs","titleDetails":"","display":{"logs":[]},"badgeValue":null,"isEmpty":true,"hasTabContent":true,"hasLabel":false,"icon":"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACYSURBVEhLYxgFJIHU1FSjtLS0i0D8AYj7gEKMEBkqAaAFF4D4ERCvAFrwH4gDoFIMKSkpFkB+OTEYqgUTACXfA\/GqjIwMQyD9H2hRHlQKJFcBEiMGQ7VgAqCBvUgK32dmZspCpagGGNPT0\/1BLqeF4bQHQJePpiIwhmrBBEADR1MRfgB0+WgqAmOoFkwANHA0FY0CUgEDAwCQ0PUpNB3kqwAAAABJRU5ErkJggg==","hasTimelineData":false,"timelineData":[]},{"title":"Views","titleSafe":"views","titleDetails":"","display":[],"badgeValue":0,"isEmpty":false,"hasTabContent":false,"hasLabel":true,"icon":"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADeSURBVEhL7ZSxDcIwEEWNYA0YgGmgyAaJLTcUaaBzQQEVjMEabBQxAdw53zTHiThEovGTfnE\/9rsoRUxhKLOmaa6Uh7X2+UvguLCzVxN1XW9x4EYHzik033Hp3X0LO+DaQG8MDQcuq6qao4qkHuMgQggLvkPLjqh00ZgFDBacMJYFkuwFlH1mshdkZ5JPJERA9JpI6xNCBESvibQ+IURA9JpI6xNCBESvibQ+IURA9DTsuHTOrVFFxixgB\/eUFlU8uKJ0eDBFOu\/9EvoeKnlJS2\/08Tc8NOwQ8sIfMeYFjqKDjdU2sp4AAAAASUVORK5CYII=","hasTimelineData":true,"timelineData":[]},{"title":"Files","titleSafe":"files","titleDetails":"( 137 )","display":{"coreFiles":[{"path":"SYSTEMPATH\\API\\ResponseTrait.php","name":"ResponseTrait.php"},{"path":"SYSTEMPATH\\Autoloader\\Autoloader.php","name":"Autoloader.php"},{"path":"SYSTEMPATH\\Autoloader\\FileLocator.php","name":"FileLocator.php"},{"path":"SYSTEMPATH\\BaseModel.php","name":"BaseModel.php"},{"path":"SYSTEMPATH\\Cache\\CacheFactory.php","name":"CacheFactory.php"},{"path":"SYSTEMPATH\\Cache\\CacheInterface.php","name":"CacheInterface.php"},{"path":"SYSTEMPATH\\Cache\\Handlers\\BaseHandler.php","name":"BaseHandler.php"},{"path":"SYSTEMPATH\\Cache\\Handlers\\FileHandler.php","name":"FileHandler.php"},{"path":"SYSTEMPATH\\Cache\\ResponseCache.php","name":"ResponseCache.php"},{"path":"SYSTEMPATH\\CodeIgniter.php","name":"CodeIgniter.php"},{"path":"SYSTEMPATH\\Common.php","name":"Common.php"},{"path":"SYSTEMPATH\\Config\\AutoloadConfig.php","name":"AutoloadConfig.php"},{"path":"SYSTEMPATH\\Config\\BaseConfig.php","name":"BaseConfig.php"},{"path":"SYSTEMPATH\\Config\\BaseService.php","name":"BaseService.php"},{"path":"SYSTEMPATH\\Config\\DotEnv.php","name":"DotEnv.php"},{"path":"SYSTEMPATH\\Config\\Factories.php","name":"Factories.php"},{"path":"SYSTEMPATH\\Config\\Factory.php","name":"Factory.php"},{"path":"SYSTEMPATH\\Config\\Routing.php","name":"Routing.php"},{"path":"SYSTEMPATH\\Config\\Services.php","name":"Services.php"},{"path":"SYSTEMPATH\\Config\\View.php","name":"View.php"},{"path":"SYSTEMPATH\\Controller.php","name":"Controller.php"},{"path":"SYSTEMPATH\\Cookie\\CloneableCookieInterface.php","name":"CloneableCookieInterface.php"},{"path":"SYSTEMPATH\\Cookie\\Cookie.php","name":"Cookie.php"},{"path":"SYSTEMPATH\\Cookie\\CookieInterface.php","name":"CookieInterface.php"},{"path":"SYSTEMPATH\\Cookie\\CookieStore.php","name":"CookieStore.php"},{"path":"SYSTEMPATH\\Database\\BaseBuilder.php","name":"BaseBuilder.php"},{"path":"SYSTEMPATH\\Database\\BaseConnection.php","name":"BaseConnection.php"},{"path":"SYSTEMPATH\\Database\\Config.php","name":"Config.php"},{"path":"SYSTEMPATH\\Database\\ConnectionInterface.php","name":"ConnectionInterface.php"},{"path":"SYSTEMPATH\\Database\\Database.php","name":"Database.php"},{"path":"SYSTEMPATH\\Database\\MySQLi\\Builder.php","name":"Builder.php"},{"path":"SYSTEMPATH\\Database\\MySQLi\\Connection.php","name":"Connection.php"},{"path":"SYSTEMPATH\\Database\\Query.php","name":"Query.php"},{"path":"SYSTEMPATH\\Database\\QueryInterface.php","name":"QueryInterface.php"},{"path":"SYSTEMPATH\\Debug\\Exceptions.php","name":"Exceptions.php"},{"path":"SYSTEMPATH\\Debug\\Timer.php","name":"Timer.php"},{"path":"SYSTEMPATH\\Debug\\Toolbar.php","name":"Toolbar.php"},{"path":"SYSTEMPATH\\Debug\\Toolbar\\Collectors\\BaseCollector.php","name":"BaseCollector.php"},{"path":"SYSTEMPATH\\Debug\\Toolbar\\Collectors\\Database.php","name":"Database.php"},{"path":"SYSTEMPATH\\Debug\\Toolbar\\Collectors\\Events.php","name":"Events.php"},{"path":"SYSTEMPATH\\Debug\\Toolbar\\Collectors\\Files.php","name":"Files.php"},{"path":"SYSTEMPATH\\Debug\\Toolbar\\Collectors\\Logs.php","name":"Logs.php"},{"path":"SYSTEMPATH\\Debug\\Toolbar\\Collectors\\Routes.php","name":"Routes.php"},{"path":"SYSTEMPATH\\Debug\\Toolbar\\Collectors\\Timers.php","name":"Timers.php"},{"path":"SYSTEMPATH\\Debug\\Toolbar\\Collectors\\Views.php","name":"Views.php"},{"path":"SYSTEMPATH\\Events\\Events.php","name":"Events.php"},{"path":"SYSTEMPATH\\Filters\\DebugToolbar.php","name":"DebugToolbar.php"},{"path":"SYSTEMPATH\\Filters\\FilterInterface.php","name":"FilterInterface.php"},{"path":"SYSTEMPATH\\Filters\\Filters.php","name":"Filters.php"},{"path":"SYSTEMPATH\\HTTP\\ContentSecurityPolicy.php","name":"ContentSecurityPolicy.php"},{"path":"SYSTEMPATH\\HTTP\\Header.php","name":"Header.php"},{"path":"SYSTEMPATH\\HTTP\\IncomingRequest.php","name":"IncomingRequest.php"},{"path":"SYSTEMPATH\\HTTP\\Message.php","name":"Message.php"},{"path":"SYSTEMPATH\\HTTP\\MessageInterface.php","name":"MessageInterface.php"},{"path":"SYSTEMPATH\\HTTP\\MessageTrait.php","name":"MessageTrait.php"},{"path":"SYSTEMPATH\\HTTP\\OutgoingRequest.php","name":"OutgoingRequest.php"},{"path":"SYSTEMPATH\\HTTP\\OutgoingRequestInterface.php","name":"OutgoingRequestInterface.php"},{"path":"SYSTEMPATH\\HTTP\\RedirectResponse.php","name":"RedirectResponse.php"},{"path":"SYSTEMPATH\\HTTP\\Request.php","name":"Request.php"},{"path":"SYSTEMPATH\\HTTP\\RequestInterface.php","name":"RequestInterface.php"},{"path":"SYSTEMPATH\\HTTP\\RequestTrait.php","name":"RequestTrait.php"},{"path":"SYSTEMPATH\\HTTP\\Response.php","name":"Response.php"},{"path":"SYSTEMPATH\\HTTP\\ResponseInterface.php","name":"ResponseInterface.php"},{"path":"SYSTEMPATH\\HTTP\\ResponseTrait.php","name":"ResponseTrait.php"},{"path":"SYSTEMPATH\\HTTP\\SiteURI.php","name":"SiteURI.php"},{"path":"SYSTEMPATH\\HTTP\\SiteURIFactory.php","name":"SiteURIFactory.php"},{"path":"SYSTEMPATH\\HTTP\\URI.php","name":"URI.php"},{"path":"SYSTEMPATH\\HTTP\\UserAgent.php","name":"UserAgent.php"},{"path":"SYSTEMPATH\\Helpers\\array_helper.php","name":"array_helper.php"},{"path":"SYSTEMPATH\\Helpers\\kint_helper.php","name":"kint_helper.php"},{"path":"SYSTEMPATH\\Helpers\\url_helper.php","name":"url_helper.php"},{"path":"SYSTEMPATH\\I18n\\Time.php","name":"Time.php"},{"path":"SYSTEMPATH\\I18n\\TimeTrait.php","name":"TimeTrait.php"},{"path":"SYSTEMPATH\\Log\\Logger.php","name":"Logger.php"},{"path":"SYSTEMPATH\\Model.php","name":"Model.php"},{"path":"SYSTEMPATH\\Modules\\Modules.php","name":"Modules.php"},{"path":"SYSTEMPATH\\Router\\RouteCollection.php","name":"RouteCollection.php"},{"path":"SYSTEMPATH\\Router\\RouteCollectionInterface.php","name":"RouteCollectionInterface.php"},{"path":"SYSTEMPATH\\Router\\Router.php","name":"Router.php"},{"path":"SYSTEMPATH\\Router\\RouterInterface.php","name":"RouterInterface.php"},{"path":"SYSTEMPATH\\Superglobals.php","name":"Superglobals.php"},{"path":"SYSTEMPATH\\ThirdParty\\Escaper\\Escaper.php","name":"Escaper.php"},{"path":"SYSTEMPATH\\ThirdParty\\Kint\\FacadeInterface.php","name":"FacadeInterface.php"},{"path":"SYSTEMPATH\\ThirdParty\\Kint\\Kint.php","name":"Kint.php"},{"path":"SYSTEMPATH\\ThirdParty\\Kint\\Renderer\\AbstractRenderer.php","name":"AbstractRenderer.php"},{"path":"SYSTEMPATH\\ThirdParty\\Kint\\Renderer\\CliRenderer.php","name":"CliRenderer.php"},{"path":"SYSTEMPATH\\ThirdParty\\Kint\\Renderer\\RendererInterface.php","name":"RendererInterface.php"},{"path":"SYSTEMPATH\\ThirdParty\\Kint\\Renderer\\RichRenderer.php","name":"RichRenderer.php"},{"path":"SYSTEMPATH\\ThirdParty\\Kint\\Renderer\\TextRenderer.php","name":"TextRenderer.php"},{"path":"SYSTEMPATH\\ThirdParty\\Kint\\Utils.php","name":"Utils.php"},{"path":"SYSTEMPATH\\ThirdParty\\Kint\\init.php","name":"init.php"},{"path":"SYSTEMPATH\\ThirdParty\\Kint\\init_helpers.php","name":"init_helpers.php"},{"path":"SYSTEMPATH\\ThirdParty\\PSR\\Log\\LogLevel.php","name":"LogLevel.php"},{"path":"SYSTEMPATH\\ThirdParty\\PSR\\Log\\LoggerInterface.php","name":"LoggerInterface.php"},{"path":"SYSTEMPATH\\Traits\\ConditionalTrait.php","name":"ConditionalTrait.php"},{"path":"SYSTEMPATH\\Validation\\CreditCardRules.php","name":"CreditCardRules.php"},{"path":"SYSTEMPATH\\Validation\\FileRules.php","name":"FileRules.php"},{"path":"SYSTEMPATH\\Validation\\FormatRules.php","name":"FormatRules.php"},{"path":"SYSTEMPATH\\Validation\\Rules.php","name":"Rules.php"},{"path":"SYSTEMPATH\\Validation\\StrictRules\\CreditCardRules.php","name":"CreditCardRules.php"},{"path":"SYSTEMPATH\\Validation\\StrictRules\\FileRules.php","name":"FileRules.php"},{"path":"SYSTEMPATH\\Validation\\StrictRules\\FormatRules.php","name":"FormatRules.php"},{"path":"SYSTEMPATH\\Validation\\StrictRules\\Rules.php","name":"Rules.php"},{"path":"SYSTEMPATH\\Validation\\Validation.php","name":"Validation.php"},{"path":"SYSTEMPATH\\Validation\\ValidationInterface.php","name":"ValidationInterface.php"},{"path":"SYSTEMPATH\\View\\RendererInterface.php","name":"RendererInterface.php"},{"path":"SYSTEMPATH\\View\\View.php","name":"View.php"},{"path":"SYSTEMPATH\\View\\ViewDecoratorTrait.php","name":"ViewDecoratorTrait.php"},{"path":"SYSTEMPATH\\bootstrap.php","name":"bootstrap.php"}],"userFiles":[{"path":"APPPATH\\Common.php","name":"Common.php"},{"path":"APPPATH\\Config\\App.php","name":"App.php"},{"path":"APPPATH\\Config\\Autoload.php","name":"Autoload.php"},{"path":"APPPATH\\Config\\Boot\\development.php","name":"development.php"},{"path":"APPPATH\\Config\\Cache.php","name":"Cache.php"},{"path":"APPPATH\\Config\\Constants.php","name":"Constants.php"},{"path":"APPPATH\\Config\\ContentSecurityPolicy.php","name":"ContentSecurityPolicy.php"},{"path":"APPPATH\\Config\\Cookie.php","name":"Cookie.php"},{"path":"APPPATH\\Config\\Database.php","name":"Database.php"},{"path":"APPPATH\\Config\\Events.php","name":"Events.php"},{"path":"APPPATH\\Config\\Exceptions.php","name":"Exceptions.php"},{"path":"APPPATH\\Config\\Feature.php","name":"Feature.php"},{"path":"APPPATH\\Config\\Filters.php","name":"Filters.php"},{"path":"APPPATH\\Config\\Kint.php","name":"Kint.php"},{"path":"APPPATH\\Config\\Logger.php","name":"Logger.php"},{"path":"APPPATH\\Config\\Modules.php","name":"Modules.php"},{"path":"APPPATH\\Config\\Paths.php","name":"Paths.php"},{"path":"APPPATH\\Config\\Routes.php","name":"Routes.php"},{"path":"APPPATH\\Config\\Routing.php","name":"Routing.php"},{"path":"APPPATH\\Config\\Services.php","name":"Services.php"},{"path":"APPPATH\\Config\\Toolbar.php","name":"Toolbar.php"},{"path":"APPPATH\\Config\\UserAgents.php","name":"UserAgents.php"},{"path":"APPPATH\\Config\\Validation.php","name":"Validation.php"},{"path":"APPPATH\\Config\\View.php","name":"View.php"},{"path":"APPPATH\\Controllers\\BaseController.php","name":"BaseController.php"},{"path":"APPPATH\\Controllers\\Products.php","name":"Products.php"},{"path":"APPPATH\\Models\\ProductModel.php","name":"ProductModel.php"},{"path":"FCPATH\\index.php","name":"index.php"}]},"badgeValue":137,"isEmpty":false,"hasTabContent":true,"hasLabel":false,"icon":"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGBSURBVEhL7ZQ9S8NQGIVTBQUncfMfCO4uLgoKbuKQOWg+OkXERRE1IAXrIHbVDrqIDuLiJgj+gro7S3dnpfq88b1FMTE3VZx64HBzzvvZWxKnj15QCcPwCD5HUfSWR+JtzgmtsUcQBEva5IIm9SwSu+95CAWbUuy67qBa32ByZEDpIaZYZSZMjjQuPcQUq8yEyYEb8FSerYeQVGbAFzJkX1PyQWLhgCz0BxTCekC1Wp0hsa6yokzhed4oje6Iz6rlJEkyIKfUEFtITVtQdAibn5rMyaYsMS+a5wTv8qeXMhcU16QZbKgl3hbs+L4\/pnpdc87MElZgq10p5DxGdq8I7xrvUWUKvG3NbSK7ubngYzdJwSsF7TiOh9VOgfcEz1UayNe3JUPM1RWC5GXYgTfc75B4NBmXJnAtTfpABX0iPvEd9ezALwkplCFXcr9styiNOKc1RRZpaPM9tcqBwlWzGY1qPL9wjqRBgF5BH6j8HWh2S7MHlX8PrmbK+k\/8PzjOOzx1D3i1pKTTAAAAAElFTkSuQmCC","hasTimelineData":false,"timelineData":[]},{"title":"Routes","titleSafe":"routes","titleDetails":"","display":{"matchedRoute":[{"directory":"","controller":"\\App\\Controllers\\Products","method":"add_product","paramCount":0,"truePCount":0,"params":[]}],"routes":[{"method":"GET","route":"\/","handler":"\\App\\Controllers\\Login::index"},{"method":"GET","route":"log_out","handler":"\\App\\Controllers\\Login::index"},{"method":"GET","route":"index","handler":"\\App\\Controllers\\Users::index"},{"method":"GET","route":"new_user\/(.*)","handler":"\\App\\Controllers\\Users::new_user\/$1"},{"method":"GET","route":"delete_user\/(.*)","handler":"\\App\\Controllers\\Users::delete_user\/$1"},{"method":"GET","route":"business_index","handler":"\\App\\Controllers\\Business::business_index"},{"method":"GET","route":"new_business\/(.*)","handler":"\\App\\Controllers\\Business::new_business\/$1"},{"method":"GET","route":"delete_business\/(.*)","handler":"\\App\\Controllers\\Business::delete_business\/$1"},{"method":"GET","route":"product_index","handler":"\\App\\Controllers\\Products::product_index"},{"method":"GET","route":"new_product\/(.*)","handler":"\\App\\Controllers\\Products::new_product\/$1"},{"method":"GET","route":"delete_product\/(.*)","handler":"\\App\\Controllers\\Products::delete_product\/$1"},{"method":"GET","route":"sales_order_index","handler":"\\App\\Controllers\\Sales::sales_order_index"},{"method":"GET","route":"new_sale\/(.*)","handler":"\\App\\Controllers\\Sales::new_sale\/$1"},{"method":"GET","route":"delete_sale\/(.*)","handler":"\\App\\Controllers\\Sales::delete_sale\/$1"},{"method":"GET","route":"client_index","handler":"\\App\\Controllers\\Client::client_index"},{"method":"GET","route":"new_client\/(.*)","handler":"\\App\\Controllers\\Client::new_client\/$1"},{"method":"GET","route":"delete_client\/(.*)","handler":"\\App\\Controllers\\Client::delete_client\/$1"},{"method":"GET","route":"vehicle_index","handler":"\\App\\Controllers\\Vehicle::vehicle_index"},{"method":"GET","route":"new_vehicle\/(.*)","handler":"\\App\\Controllers\\Vehicle::new_vehicle\/$1"},{"method":"GET","route":"delete_vehicle\/(.*)","handler":"\\App\\Controllers\\Vehicle::delete_vehicle\/$1"},{"method":"POST","route":"authenticate","handler":"\\App\\Controllers\\Login::authenticate"},{"method":"POST","route":"add_user","handler":"\\App\\Controllers\\Users::add_user"},{"method":"POST","route":"get_branch","handler":"\\App\\Controllers\\Users::get_branch"},{"method":"POST","route":"add_business","handler":"\\App\\Controllers\\Business::add_business"},{"method":"POST","route":"add_product","handler":"\\App\\Controllers\\Products::add_product"},{"method":"POST","route":"add_sales","handler":"\\App\\Controllers\\Sales::add_sales"},{"method":"POST","route":"delete_sales_product","handler":"\\App\\Controllers\\Sales::delete_sales_product"},{"method":"POST","route":"add_client","handler":"\\App\\Controllers\\Client::add_client"},{"method":"POST","route":"add_vehicle","handler":"\\App\\Controllers\\Vehicle::add_vehicle"}]},"badgeValue":9,"isEmpty":false,"hasTabContent":true,"hasLabel":false,"icon":"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFDSURBVEhL7ZRNSsNQFIUjVXSiOFEcuQIHDpzpxC0IGYeE\/BEInbWlCHEDLsSiuANdhKDjgm6ggtSJ+l25ldrmmTwIgtgDh\/t37r1J+16cX0dRFMtpmu5pWAkrvYjjOB7AETzStBFW+inxu3KUJMmhludQpoflS1zXban4LYqiO224h6VLTHr8Z+z8EpIHFF9gG78nDVmW7UgTHKjsCyY98QP+pcq+g8Ku2s8G8X3f3\/I8b038WZTp+bO38zxfFd+I6YY6sNUvFlSDk9CRhiAI1jX1I9Cfw7GG1UB8LAuwbU0ZwQnbRDeEN5qqBxZMLtE1ti9LtbREnMIuOXnyIf5rGIb7Wq8HmlZgwYBH7ORTcKH5E4mpjeGt9fBZcHE2GCQ3Vt7oTNPNg+FXLHnSsHkw\/FR+Gg2bB8Ptzrst\/v6C\/wrH+QB+duli6MYJdQAAAABJRU5ErkJggg==","hasTimelineData":false,"timelineData":[]},{"title":"Events","titleSafe":"events","titleDetails":"","display":{"events":{"pre_system":{"event":"pre_system","duration":"18.07","count":1},"dbquery":{"event":"dbquery","duration":"0.08","count":1}}},"badgeValue":2,"isEmpty":false,"hasTabContent":true,"hasLabel":false,"icon":"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEASURBVEhL7ZXNDcIwDIVTsRBH1uDQDdquUA6IM1xgCA6MwJUN2hk6AQzAz0vl0ETUxC5VT3zSU5w81\/mRMGZysixbFEVR0jSKNt8geQU9aRpFmp\/keX6AbjZ5oB74vsaN5lSzA4tLSjpBFxsjeSuRy4d2mDdQTWU7YLbXTNN05mKyovj5KL6B7q3hoy3KwdZxBlT+Ipz+jPHrBqOIynZgcZonoukb\/0ckiTHqNvDXtXEAaygRbaB9FvUTjRUHsIYS0QaSp+Dw6wT4hiTmYHOcYZsdLQ2CbXa4ftuuYR4x9vYZgdb4vsFYUdmABMYeukK9\/SUme3KMFQ77+Yfzh8eYF8+orDuDWU5LAAAAAElFTkSuQmCC","hasTimelineData":true,"timelineData":[{"name":"Event: pre_system","component":"Events","start":1712310115.054316,"duration":0.018074989318847656},{"name":"Event: dbquery","component":"Events","start":1712310115.355389,"duration":8.177757263183594e-5}]}],"vars":{"varData":{"View Data":[]},"post":{"productname":"Air Filter","productcategory":"hardware","mfr_part_no":"22452","serial_no":"1224222","vendor":"GM supplier","product_id":"2","unit_price":"380","commision_rate":"23","purchase_cost":"300","sgst_value":"2","cgst_value":"4","qty_in_stock":"24","qty_in_demand":"6","description":" "},"headers":{"Content-Type":"application\/x-www-form-urlencoded","Host":"localhost","Connection":"keep-alive","Cache-Control":"max-age=0","Sec-Ch-Ua":""Google Chrome";v="123", "Not:A-Brand";v="8", "Chromium";v="123"","Sec-Ch-Ua-Mobile":"?0","Sec-Ch-Ua-Platform":""Windows"","Upgrade-Insecure-Requests":"1","Origin":"http:\/\/localhost","User-Agent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/123.0.0.0 Safari\/537.36","Accept":"text\/html,application\/xhtml+xml,application\/xml;q=0.9,image\/avif,image\/webp,image\/apng,*\/*;q=0.8,application\/signed-exchange;v=b3;q=0.7","Sec-Fetch-Site":"same-origin","Sec-Fetch-Mode":"navigate","Sec-Fetch-User":"?1","Sec-Fetch-Dest":"document","Referer":"http:\/\/localhost\/the_mechanic\/public\/index.php\/new_product\/2","Accept-Encoding":"gzip, deflate, br, zstd","Accept-Language":"en-US,en;q=0.9","Cookie":"_ga=GA1.1.232678036.1682670069; G_ENABLED_IDPS=google; _ga_1F0DTZFTQ3=GS1.1.1685190260.11.0.1685190260.0.0.0; _ga_WSBSP1DHHM=GS1.1.1685190689.24.1.1685190709.0.0.0; ci_session=u34udkaq41iognskel723blhet0a7l17"},"cookies":{"_ga":"GA1.1.232678036.1682670069","G_ENABLED_IDPS":"google","_ga_1F0DTZFTQ3":"GS1.1.1685190260.11.0.1685190260.0.0.0","_ga_WSBSP1DHHM":"GS1.1.1685190689.24.1.1685190709.0.0.0","ci_session":"u34udkaq41iognskel723blhet0a7l17"},"request":"HTTP\/1.1","response":{"statusCode":303,"reason":"See Other","contentType":"text\/html; charset=UTF-8","headers":{"Cache-Control":"no-store, max-age=0, no-cache","Content-Type":"text\/html; charset=UTF-8","Location":"http:\/\/localhost\/the_mechanic\/public\/index.php\/product_index"}}},"config":{"ciVersion":"4.4.6","phpVersion":"8.1.17","phpSAPI":"apache2handler","environment":"development","baseURL":"http:\/\/localhost\/the_mechanic\/public","timezone":"UTC","locale":"en","cspEnabled":false}} \ No newline at end of file diff --git a/writable/debugbar/debugbar_1712310116.299467.json b/writable/debugbar/debugbar_1712310116.299467.json deleted file mode 100644 index bc49823..0000000 --- a/writable/debugbar/debugbar_1712310116.299467.json +++ /dev/null @@ -1 +0,0 @@ -{"url":"http:\/\/localhost\/the_mechanic\/public\/index.php\/product_index","method":"GET","isAJAX":false,"startTime":1712310115.446354,"totalTime":807.6,"totalMemory":"5.478","segmentDuration":120,"segmentCount":7,"CI_VERSION":"4.4.6","collectors":[{"title":"Timers","titleSafe":"timers","titleDetails":"","display":[],"badgeValue":null,"isEmpty":false,"hasTabContent":false,"hasLabel":false,"icon":"","hasTimelineData":true,"timelineData":[{"name":"Bootstrap","component":"Timer","start":1712310115.467739,"duration":0.03231692314147949},{"name":"Routing","component":"Timer","start":1712310115.500059,"duration":7.915496826171875e-5},{"name":"Before Filters","component":"Timer","start":1712310115.502677,"duration":2.6941299438476562e-5},{"name":"Controller","component":"Timer","start":1712310115.502706,"duration":0.7511608600616455},{"name":"Controller Constructor","component":"Timer","start":1712310115.502707,"duration":0.0028100013732910156},{"name":"After Filters","component":"Timer","start":1712310116.253934,"duration":0.0016121864318847656}]},{"title":"Database","titleSafe":"database","titleDetails":"(1 total Query, 1 unique across 1 Connection)","display":{"queries":[{"hover":"","class":"","duration":"42.63 ms","sql":"SELECT<\/strong> *\nFROM<\/strong> `products`","trace":[{"file":"SYSTEMPATH\\Database\\BaseBuilder.php:1616","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\Database\\BaseConnection->query()","index":"\u00a0\u00a01\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\Model.php:242","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\Database\\BaseBuilder->get()","index":"\u00a0\u00a02\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\BaseModel.php:638","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\Model->doFindAll()","index":"\u00a0\u00a03\u00a0\u00a0\u00a0\u00a0"},{"file":"APPPATH\\Controllers\\Products.php:16","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\BaseModel->findAll()","index":"\u00a0\u00a04\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:941","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0App\\Controllers\\Products->product_index()","index":"\u00a0\u00a05\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:502","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->runController()","index":"\u00a0\u00a06\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:361","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->handleRequest()","index":"\u00a0\u00a07\u00a0\u00a0\u00a0\u00a0"},{"file":"FCPATH\\index.php:79","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->run()","index":"\u00a0\u00a08\u00a0\u00a0\u00a0\u00a0"}],"trace-file":"APPPATH\\Controllers\\Products.php:16","qid":"b56fe0c0484e5c93cca6d61cbacc7ea8"}]},"badgeValue":1,"isEmpty":false,"hasTabContent":true,"hasLabel":false,"icon":"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADMSURBVEhLY6A3YExLSwsA4nIycQDIDIhRWEBqamo\/UNF\/SjDQjF6ocZgAKPkRiFeEhoYyQ4WIBiA9QAuWAPEHqBAmgLqgHcolGQD1V4DMgHIxwbCxYD+QBqcKINseKo6eWrBioPrtQBq\/BcgY5ht0cUIYbBg2AJKkRxCNWkDQgtFUNJwtABr+F6igE8olGQD114HMgHIxAVDyAhA\/AlpSA8RYUwoeXAPVex5qHCbIyMgwBCkAuQJIY00huDBUz\/mUlBQDqHGjgBjAwAAACexpph6oHSQAAAAASUVORK5CYII=","hasTimelineData":true,"timelineData":[{"name":"Connecting to Database: \"default\"","component":"Database","start":1712310115.533591,"duration":"0.627977"},{"name":"Query","component":"Database","start":1712310116.164436,"duration":"0.042631","query":"SELECT<\/strong> *\nFROM<\/strong> `products`"}]},{"title":"Logs","titleSafe":"logs","titleDetails":"","display":{"logs":[{"level":"info","msg":"Session: Class initialized using 'CodeIgniter\\Session\\Handlers\\FileHandler' driver."}]},"badgeValue":null,"isEmpty":false,"hasTabContent":true,"hasLabel":false,"icon":"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACYSURBVEhLYxgFJIHU1FSjtLS0i0D8AYj7gEKMEBkqAaAFF4D4ERCvAFrwH4gDoFIMKSkpFkB+OTEYqgUTACXfA\/GqjIwMQyD9H2hRHlQKJFcBEiMGQ7VgAqCBvUgK32dmZspCpagGGNPT0\/1BLqeF4bQHQJePpiIwhmrBBEADR1MRfgB0+WgqAmOoFkwANHA0FY0CUgEDAwCQ0PUpNB3kqwAAAABJRU5ErkJggg==","hasTimelineData":false,"timelineData":[]},{"title":"Views","titleSafe":"views","titleDetails":"","display":[],"badgeValue":1,"isEmpty":false,"hasTabContent":false,"hasLabel":true,"icon":"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADeSURBVEhL7ZSxDcIwEEWNYA0YgGmgyAaJLTcUaaBzQQEVjMEabBQxAdw53zTHiThEovGTfnE\/9rsoRUxhKLOmaa6Uh7X2+UvguLCzVxN1XW9x4EYHzik033Hp3X0LO+DaQG8MDQcuq6qao4qkHuMgQggLvkPLjqh00ZgFDBacMJYFkuwFlH1mshdkZ5JPJERA9JpI6xNCBESvibQ+IURA9JpI6xNCBESvibQ+IURA9DTsuHTOrVFFxixgB\/eUFlU8uKJ0eDBFOu\/9EvoeKnlJS2\/08Tc8NOwQ8sIfMeYFjqKDjdU2sp4AAAAASUVORK5CYII=","hasTimelineData":true,"timelineData":[{"name":"View: product_list.php","component":"Views","start":1712310116.213907,"duration":0.03946089744567871}]},{"title":"Files","titleSafe":"files","titleDetails":"( 151 )","display":{"coreFiles":[{"path":"SYSTEMPATH\\API\\ResponseTrait.php","name":"ResponseTrait.php"},{"path":"SYSTEMPATH\\Autoloader\\Autoloader.php","name":"Autoloader.php"},{"path":"SYSTEMPATH\\Autoloader\\FileLocator.php","name":"FileLocator.php"},{"path":"SYSTEMPATH\\BaseModel.php","name":"BaseModel.php"},{"path":"SYSTEMPATH\\Cache\\CacheFactory.php","name":"CacheFactory.php"},{"path":"SYSTEMPATH\\Cache\\CacheInterface.php","name":"CacheInterface.php"},{"path":"SYSTEMPATH\\Cache\\Handlers\\BaseHandler.php","name":"BaseHandler.php"},{"path":"SYSTEMPATH\\Cache\\Handlers\\FileHandler.php","name":"FileHandler.php"},{"path":"SYSTEMPATH\\Cache\\ResponseCache.php","name":"ResponseCache.php"},{"path":"SYSTEMPATH\\CodeIgniter.php","name":"CodeIgniter.php"},{"path":"SYSTEMPATH\\Common.php","name":"Common.php"},{"path":"SYSTEMPATH\\Config\\AutoloadConfig.php","name":"AutoloadConfig.php"},{"path":"SYSTEMPATH\\Config\\BaseConfig.php","name":"BaseConfig.php"},{"path":"SYSTEMPATH\\Config\\BaseService.php","name":"BaseService.php"},{"path":"SYSTEMPATH\\Config\\DotEnv.php","name":"DotEnv.php"},{"path":"SYSTEMPATH\\Config\\Factories.php","name":"Factories.php"},{"path":"SYSTEMPATH\\Config\\Factory.php","name":"Factory.php"},{"path":"SYSTEMPATH\\Config\\Routing.php","name":"Routing.php"},{"path":"SYSTEMPATH\\Config\\Services.php","name":"Services.php"},{"path":"SYSTEMPATH\\Config\\View.php","name":"View.php"},{"path":"SYSTEMPATH\\Controller.php","name":"Controller.php"},{"path":"SYSTEMPATH\\Cookie\\CloneableCookieInterface.php","name":"CloneableCookieInterface.php"},{"path":"SYSTEMPATH\\Cookie\\Cookie.php","name":"Cookie.php"},{"path":"SYSTEMPATH\\Cookie\\CookieInterface.php","name":"CookieInterface.php"},{"path":"SYSTEMPATH\\Cookie\\CookieStore.php","name":"CookieStore.php"},{"path":"SYSTEMPATH\\Database\\BaseBuilder.php","name":"BaseBuilder.php"},{"path":"SYSTEMPATH\\Database\\BaseConnection.php","name":"BaseConnection.php"},{"path":"SYSTEMPATH\\Database\\BaseResult.php","name":"BaseResult.php"},{"path":"SYSTEMPATH\\Database\\Config.php","name":"Config.php"},{"path":"SYSTEMPATH\\Database\\ConnectionInterface.php","name":"ConnectionInterface.php"},{"path":"SYSTEMPATH\\Database\\Database.php","name":"Database.php"},{"path":"SYSTEMPATH\\Database\\MySQLi\\Builder.php","name":"Builder.php"},{"path":"SYSTEMPATH\\Database\\MySQLi\\Connection.php","name":"Connection.php"},{"path":"SYSTEMPATH\\Database\\MySQLi\\Result.php","name":"Result.php"},{"path":"SYSTEMPATH\\Database\\Query.php","name":"Query.php"},{"path":"SYSTEMPATH\\Database\\QueryInterface.php","name":"QueryInterface.php"},{"path":"SYSTEMPATH\\Database\\ResultInterface.php","name":"ResultInterface.php"},{"path":"SYSTEMPATH\\Debug\\Exceptions.php","name":"Exceptions.php"},{"path":"SYSTEMPATH\\Debug\\Timer.php","name":"Timer.php"},{"path":"SYSTEMPATH\\Debug\\Toolbar.php","name":"Toolbar.php"},{"path":"SYSTEMPATH\\Debug\\Toolbar\\Collectors\\BaseCollector.php","name":"BaseCollector.php"},{"path":"SYSTEMPATH\\Debug\\Toolbar\\Collectors\\Database.php","name":"Database.php"},{"path":"SYSTEMPATH\\Debug\\Toolbar\\Collectors\\Events.php","name":"Events.php"},{"path":"SYSTEMPATH\\Debug\\Toolbar\\Collectors\\Files.php","name":"Files.php"},{"path":"SYSTEMPATH\\Debug\\Toolbar\\Collectors\\Logs.php","name":"Logs.php"},{"path":"SYSTEMPATH\\Debug\\Toolbar\\Collectors\\Routes.php","name":"Routes.php"},{"path":"SYSTEMPATH\\Debug\\Toolbar\\Collectors\\Timers.php","name":"Timers.php"},{"path":"SYSTEMPATH\\Debug\\Toolbar\\Collectors\\Views.php","name":"Views.php"},{"path":"SYSTEMPATH\\Events\\Events.php","name":"Events.php"},{"path":"SYSTEMPATH\\Filters\\DebugToolbar.php","name":"DebugToolbar.php"},{"path":"SYSTEMPATH\\Filters\\FilterInterface.php","name":"FilterInterface.php"},{"path":"SYSTEMPATH\\Filters\\Filters.php","name":"Filters.php"},{"path":"SYSTEMPATH\\HTTP\\ContentSecurityPolicy.php","name":"ContentSecurityPolicy.php"},{"path":"SYSTEMPATH\\HTTP\\Header.php","name":"Header.php"},{"path":"SYSTEMPATH\\HTTP\\IncomingRequest.php","name":"IncomingRequest.php"},{"path":"SYSTEMPATH\\HTTP\\Message.php","name":"Message.php"},{"path":"SYSTEMPATH\\HTTP\\MessageInterface.php","name":"MessageInterface.php"},{"path":"SYSTEMPATH\\HTTP\\MessageTrait.php","name":"MessageTrait.php"},{"path":"SYSTEMPATH\\HTTP\\OutgoingRequest.php","name":"OutgoingRequest.php"},{"path":"SYSTEMPATH\\HTTP\\OutgoingRequestInterface.php","name":"OutgoingRequestInterface.php"},{"path":"SYSTEMPATH\\HTTP\\Request.php","name":"Request.php"},{"path":"SYSTEMPATH\\HTTP\\RequestInterface.php","name":"RequestInterface.php"},{"path":"SYSTEMPATH\\HTTP\\RequestTrait.php","name":"RequestTrait.php"},{"path":"SYSTEMPATH\\HTTP\\Response.php","name":"Response.php"},{"path":"SYSTEMPATH\\HTTP\\ResponseInterface.php","name":"ResponseInterface.php"},{"path":"SYSTEMPATH\\HTTP\\ResponseTrait.php","name":"ResponseTrait.php"},{"path":"SYSTEMPATH\\HTTP\\SiteURI.php","name":"SiteURI.php"},{"path":"SYSTEMPATH\\HTTP\\SiteURIFactory.php","name":"SiteURIFactory.php"},{"path":"SYSTEMPATH\\HTTP\\URI.php","name":"URI.php"},{"path":"SYSTEMPATH\\HTTP\\UserAgent.php","name":"UserAgent.php"},{"path":"SYSTEMPATH\\Helpers\\array_helper.php","name":"array_helper.php"},{"path":"SYSTEMPATH\\Helpers\\kint_helper.php","name":"kint_helper.php"},{"path":"SYSTEMPATH\\Helpers\\url_helper.php","name":"url_helper.php"},{"path":"SYSTEMPATH\\I18n\\Time.php","name":"Time.php"},{"path":"SYSTEMPATH\\I18n\\TimeTrait.php","name":"TimeTrait.php"},{"path":"SYSTEMPATH\\Log\\Handlers\\BaseHandler.php","name":"BaseHandler.php"},{"path":"SYSTEMPATH\\Log\\Handlers\\FileHandler.php","name":"FileHandler.php"},{"path":"SYSTEMPATH\\Log\\Handlers\\HandlerInterface.php","name":"HandlerInterface.php"},{"path":"SYSTEMPATH\\Log\\Logger.php","name":"Logger.php"},{"path":"SYSTEMPATH\\Model.php","name":"Model.php"},{"path":"SYSTEMPATH\\Modules\\Modules.php","name":"Modules.php"},{"path":"SYSTEMPATH\\Router\\RouteCollection.php","name":"RouteCollection.php"},{"path":"SYSTEMPATH\\Router\\RouteCollectionInterface.php","name":"RouteCollectionInterface.php"},{"path":"SYSTEMPATH\\Router\\Router.php","name":"Router.php"},{"path":"SYSTEMPATH\\Router\\RouterInterface.php","name":"RouterInterface.php"},{"path":"SYSTEMPATH\\Session\\Handlers\\BaseHandler.php","name":"BaseHandler.php"},{"path":"SYSTEMPATH\\Session\\Handlers\\FileHandler.php","name":"FileHandler.php"},{"path":"SYSTEMPATH\\Session\\Session.php","name":"Session.php"},{"path":"SYSTEMPATH\\Session\\SessionInterface.php","name":"SessionInterface.php"},{"path":"SYSTEMPATH\\Superglobals.php","name":"Superglobals.php"},{"path":"SYSTEMPATH\\ThirdParty\\Escaper\\Escaper.php","name":"Escaper.php"},{"path":"SYSTEMPATH\\ThirdParty\\Kint\\FacadeInterface.php","name":"FacadeInterface.php"},{"path":"SYSTEMPATH\\ThirdParty\\Kint\\Kint.php","name":"Kint.php"},{"path":"SYSTEMPATH\\ThirdParty\\Kint\\Renderer\\AbstractRenderer.php","name":"AbstractRenderer.php"},{"path":"SYSTEMPATH\\ThirdParty\\Kint\\Renderer\\CliRenderer.php","name":"CliRenderer.php"},{"path":"SYSTEMPATH\\ThirdParty\\Kint\\Renderer\\RendererInterface.php","name":"RendererInterface.php"},{"path":"SYSTEMPATH\\ThirdParty\\Kint\\Renderer\\RichRenderer.php","name":"RichRenderer.php"},{"path":"SYSTEMPATH\\ThirdParty\\Kint\\Renderer\\TextRenderer.php","name":"TextRenderer.php"},{"path":"SYSTEMPATH\\ThirdParty\\Kint\\Utils.php","name":"Utils.php"},{"path":"SYSTEMPATH\\ThirdParty\\Kint\\init.php","name":"init.php"},{"path":"SYSTEMPATH\\ThirdParty\\Kint\\init_helpers.php","name":"init_helpers.php"},{"path":"SYSTEMPATH\\ThirdParty\\PSR\\Log\\LogLevel.php","name":"LogLevel.php"},{"path":"SYSTEMPATH\\ThirdParty\\PSR\\Log\\LoggerAwareTrait.php","name":"LoggerAwareTrait.php"},{"path":"SYSTEMPATH\\ThirdParty\\PSR\\Log\\LoggerInterface.php","name":"LoggerInterface.php"},{"path":"SYSTEMPATH\\Traits\\ConditionalTrait.php","name":"ConditionalTrait.php"},{"path":"SYSTEMPATH\\Validation\\CreditCardRules.php","name":"CreditCardRules.php"},{"path":"SYSTEMPATH\\Validation\\FileRules.php","name":"FileRules.php"},{"path":"SYSTEMPATH\\Validation\\FormatRules.php","name":"FormatRules.php"},{"path":"SYSTEMPATH\\Validation\\Rules.php","name":"Rules.php"},{"path":"SYSTEMPATH\\Validation\\StrictRules\\CreditCardRules.php","name":"CreditCardRules.php"},{"path":"SYSTEMPATH\\Validation\\StrictRules\\FileRules.php","name":"FileRules.php"},{"path":"SYSTEMPATH\\Validation\\StrictRules\\FormatRules.php","name":"FormatRules.php"},{"path":"SYSTEMPATH\\Validation\\StrictRules\\Rules.php","name":"Rules.php"},{"path":"SYSTEMPATH\\Validation\\Validation.php","name":"Validation.php"},{"path":"SYSTEMPATH\\Validation\\ValidationInterface.php","name":"ValidationInterface.php"},{"path":"SYSTEMPATH\\View\\RendererInterface.php","name":"RendererInterface.php"},{"path":"SYSTEMPATH\\View\\View.php","name":"View.php"},{"path":"SYSTEMPATH\\View\\ViewDecoratorTrait.php","name":"ViewDecoratorTrait.php"},{"path":"SYSTEMPATH\\bootstrap.php","name":"bootstrap.php"}],"userFiles":[{"path":"APPPATH\\Common.php","name":"Common.php"},{"path":"APPPATH\\Config\\App.php","name":"App.php"},{"path":"APPPATH\\Config\\Autoload.php","name":"Autoload.php"},{"path":"APPPATH\\Config\\Boot\\development.php","name":"development.php"},{"path":"APPPATH\\Config\\Cache.php","name":"Cache.php"},{"path":"APPPATH\\Config\\Constants.php","name":"Constants.php"},{"path":"APPPATH\\Config\\ContentSecurityPolicy.php","name":"ContentSecurityPolicy.php"},{"path":"APPPATH\\Config\\Cookie.php","name":"Cookie.php"},{"path":"APPPATH\\Config\\Database.php","name":"Database.php"},{"path":"APPPATH\\Config\\Events.php","name":"Events.php"},{"path":"APPPATH\\Config\\Exceptions.php","name":"Exceptions.php"},{"path":"APPPATH\\Config\\Feature.php","name":"Feature.php"},{"path":"APPPATH\\Config\\Filters.php","name":"Filters.php"},{"path":"APPPATH\\Config\\Kint.php","name":"Kint.php"},{"path":"APPPATH\\Config\\Logger.php","name":"Logger.php"},{"path":"APPPATH\\Config\\Modules.php","name":"Modules.php"},{"path":"APPPATH\\Config\\Paths.php","name":"Paths.php"},{"path":"APPPATH\\Config\\Routes.php","name":"Routes.php"},{"path":"APPPATH\\Config\\Routing.php","name":"Routing.php"},{"path":"APPPATH\\Config\\Services.php","name":"Services.php"},{"path":"APPPATH\\Config\\Session.php","name":"Session.php"},{"path":"APPPATH\\Config\\Toolbar.php","name":"Toolbar.php"},{"path":"APPPATH\\Config\\UserAgents.php","name":"UserAgents.php"},{"path":"APPPATH\\Config\\Validation.php","name":"Validation.php"},{"path":"APPPATH\\Config\\View.php","name":"View.php"},{"path":"APPPATH\\Controllers\\BaseController.php","name":"BaseController.php"},{"path":"APPPATH\\Controllers\\Products.php","name":"Products.php"},{"path":"APPPATH\\Models\\ProductModel.php","name":"ProductModel.php"},{"path":"APPPATH\\Views\\layout\\footer.php","name":"footer.php"},{"path":"APPPATH\\Views\\layout\\header.php","name":"header.php"},{"path":"APPPATH\\Views\\product_list.php","name":"product_list.php"},{"path":"FCPATH\\index.php","name":"index.php"}]},"badgeValue":151,"isEmpty":false,"hasTabContent":true,"hasLabel":false,"icon":"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGBSURBVEhL7ZQ9S8NQGIVTBQUncfMfCO4uLgoKbuKQOWg+OkXERRE1IAXrIHbVDrqIDuLiJgj+gro7S3dnpfq88b1FMTE3VZx64HBzzvvZWxKnj15QCcPwCD5HUfSWR+JtzgmtsUcQBEva5IIm9SwSu+95CAWbUuy67qBa32ByZEDpIaZYZSZMjjQuPcQUq8yEyYEb8FSerYeQVGbAFzJkX1PyQWLhgCz0BxTCekC1Wp0hsa6yokzhed4oje6Iz6rlJEkyIKfUEFtITVtQdAibn5rMyaYsMS+a5wTv8qeXMhcU16QZbKgl3hbs+L4\/pnpdc87MElZgq10p5DxGdq8I7xrvUWUKvG3NbSK7ubngYzdJwSsF7TiOh9VOgfcEz1UayNe3JUPM1RWC5GXYgTfc75B4NBmXJnAtTfpABX0iPvEd9ezALwkplCFXcr9styiNOKc1RRZpaPM9tcqBwlWzGY1qPL9wjqRBgF5BH6j8HWh2S7MHlX8PrmbK+k\/8PzjOOzx1D3i1pKTTAAAAAElFTkSuQmCC","hasTimelineData":false,"timelineData":[]},{"title":"Routes","titleSafe":"routes","titleDetails":"","display":{"matchedRoute":[{"directory":"","controller":"\\App\\Controllers\\Products","method":"product_index","paramCount":0,"truePCount":0,"params":[]}],"routes":[{"method":"GET","route":"\/","handler":"\\App\\Controllers\\Login::index"},{"method":"GET","route":"log_out","handler":"\\App\\Controllers\\Login::index"},{"method":"GET","route":"index","handler":"\\App\\Controllers\\Users::index"},{"method":"GET","route":"new_user\/(.*)","handler":"\\App\\Controllers\\Users::new_user\/$1"},{"method":"GET","route":"delete_user\/(.*)","handler":"\\App\\Controllers\\Users::delete_user\/$1"},{"method":"GET","route":"business_index","handler":"\\App\\Controllers\\Business::business_index"},{"method":"GET","route":"new_business\/(.*)","handler":"\\App\\Controllers\\Business::new_business\/$1"},{"method":"GET","route":"delete_business\/(.*)","handler":"\\App\\Controllers\\Business::delete_business\/$1"},{"method":"GET","route":"product_index","handler":"\\App\\Controllers\\Products::product_index"},{"method":"GET","route":"new_product\/(.*)","handler":"\\App\\Controllers\\Products::new_product\/$1"},{"method":"GET","route":"delete_product\/(.*)","handler":"\\App\\Controllers\\Products::delete_product\/$1"},{"method":"GET","route":"sales_order_index","handler":"\\App\\Controllers\\Sales::sales_order_index"},{"method":"GET","route":"new_sale\/(.*)","handler":"\\App\\Controllers\\Sales::new_sale\/$1"},{"method":"GET","route":"delete_sale\/(.*)","handler":"\\App\\Controllers\\Sales::delete_sale\/$1"},{"method":"GET","route":"client_index","handler":"\\App\\Controllers\\Client::client_index"},{"method":"GET","route":"new_client\/(.*)","handler":"\\App\\Controllers\\Client::new_client\/$1"},{"method":"GET","route":"delete_client\/(.*)","handler":"\\App\\Controllers\\Client::delete_client\/$1"},{"method":"GET","route":"vehicle_index","handler":"\\App\\Controllers\\Vehicle::vehicle_index"},{"method":"GET","route":"new_vehicle\/(.*)","handler":"\\App\\Controllers\\Vehicle::new_vehicle\/$1"},{"method":"GET","route":"delete_vehicle\/(.*)","handler":"\\App\\Controllers\\Vehicle::delete_vehicle\/$1"},{"method":"POST","route":"authenticate","handler":"\\App\\Controllers\\Login::authenticate"},{"method":"POST","route":"add_user","handler":"\\App\\Controllers\\Users::add_user"},{"method":"POST","route":"get_branch","handler":"\\App\\Controllers\\Users::get_branch"},{"method":"POST","route":"add_business","handler":"\\App\\Controllers\\Business::add_business"},{"method":"POST","route":"add_product","handler":"\\App\\Controllers\\Products::add_product"},{"method":"POST","route":"add_sales","handler":"\\App\\Controllers\\Sales::add_sales"},{"method":"POST","route":"delete_sales_product","handler":"\\App\\Controllers\\Sales::delete_sales_product"},{"method":"POST","route":"add_client","handler":"\\App\\Controllers\\Client::add_client"},{"method":"POST","route":"add_vehicle","handler":"\\App\\Controllers\\Vehicle::add_vehicle"}]},"badgeValue":21,"isEmpty":false,"hasTabContent":true,"hasLabel":false,"icon":"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFDSURBVEhL7ZRNSsNQFIUjVXSiOFEcuQIHDpzpxC0IGYeE\/BEInbWlCHEDLsSiuANdhKDjgm6ggtSJ+l25ldrmmTwIgtgDh\/t37r1J+16cX0dRFMtpmu5pWAkrvYjjOB7AETzStBFW+inxu3KUJMmhludQpoflS1zXban4LYqiO224h6VLTHr8Z+z8EpIHFF9gG78nDVmW7UgTHKjsCyY98QP+pcq+g8Ku2s8G8X3f3\/I8b038WZTp+bO38zxfFd+I6YY6sNUvFlSDk9CRhiAI1jX1I9Cfw7GG1UB8LAuwbU0ZwQnbRDeEN5qqBxZMLtE1ti9LtbREnMIuOXnyIf5rGIb7Wq8HmlZgwYBH7ORTcKH5E4mpjeGt9fBZcHE2GCQ3Vt7oTNPNg+FXLHnSsHkw\/FR+Gg2bB8Ptzrst\/v6C\/wrH+QB+duli6MYJdQAAAABJRU5ErkJggg==","hasTimelineData":false,"timelineData":[]},{"title":"Events","titleSafe":"events","titleDetails":"","display":{"events":{"pre_system":{"event":"pre_system","duration":"11.50","count":1},"dbquery":{"event":"dbquery","duration":"0.22","count":1}}},"badgeValue":2,"isEmpty":false,"hasTabContent":true,"hasLabel":false,"icon":"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEASURBVEhL7ZXNDcIwDIVTsRBH1uDQDdquUA6IM1xgCA6MwJUN2hk6AQzAz0vl0ETUxC5VT3zSU5w81\/mRMGZysixbFEVR0jSKNt8geQU9aRpFmp\/keX6AbjZ5oB74vsaN5lSzA4tLSjpBFxsjeSuRy4d2mDdQTWU7YLbXTNN05mKyovj5KL6B7q3hoy3KwdZxBlT+Ipz+jPHrBqOIynZgcZonoukb\/0ckiTHqNvDXtXEAaygRbaB9FvUTjRUHsIYS0QaSp+Dw6wT4hiTmYHOcYZsdLQ2CbXa4ftuuYR4x9vYZgdb4vsFYUdmABMYeukK9\/SUme3KMFQ77+Yfzh8eYF8+orDuDWU5LAAAAAElFTkSuQmCC","hasTimelineData":true,"timelineData":[{"name":"Event: pre_system","component":"Events","start":1712310115.48651,"duration":0.011503934860229492},{"name":"Event: dbquery","component":"Events","start":1712310116.207087,"duration":0.0002200603485107422}]}],"vars":{"varData":{"View Data":{"products":"
⧉<\/span>⌕<\/span>