From 28fe55efa74ddd04bd5057f7465ea2e7973d9eaa Mon Sep 17 00:00:00 2001 From: bitbucket Date: Tue, 9 Apr 2024 12:00:47 +0530 Subject: [PATCH 1/3] GWM:CHANGES-in-product-module-vendor-selection --- app/Controllers/Products.php | 48 +++++++++++++++++++++++++++++++----- app/Views/product_form.php | 5 ++-- 2 files changed, 45 insertions(+), 8 deletions(-) diff --git a/app/Controllers/Products.php b/app/Controllers/Products.php index 4918b0d..f76fa8a 100644 --- a/app/Controllers/Products.php +++ b/app/Controllers/Products.php @@ -128,15 +128,51 @@ class Products extends BaseController { $model_ids = $this->request->getPost('model_ids'); - + $make_id = $this->request->getPost('make_id'); $vendorModel = new VendorModel(); - $vendors = $vendorModel->get_vendors_by_model( $model_ids); + $Vendors = $vendorModel->where('branch_id',$this->session->get('logged_user_branch_id'))->findAll(); + if($Vendors){ + + $data = []; - if ($vendors) { + foreach ($model_ids as $modelKey => $modelValue) + { + foreach ($Vendors as $vendorsKey => $vendorsValue) + { + $modelsArray = json_decode($vendorsValue['model'], true); + if (is_array($modelsArray)) + { + $findIfModelExist = array_search($modelValue, $modelsArray); + if ($findIfModelExist !== false) + { + array_push($data,$vendorsValue); + } + } + } + } + + if (count($data)) { + + $arrayOfArrays = array_map(function($obj) { + return (array) $obj; + }, $data); + + // Remove duplicates based on string representation of each object + $uniqueArray = array_map('unserialize', array_unique(array_map('serialize', $arrayOfArrays))); + + // Convert the unique array of associative arrays back to an array of objects + $uniqueObjectsArray = array_map(function($arr) { + return (object) $arr; + }, $uniqueArray); + + return $this->response->setJSON($uniqueArray); + + } else { - return $this->response->setJSON($vendors); - } else { - + return $this->response->setJSON([]); + } + }else { + return $this->response->setJSON([]); } } diff --git a/app/Views/product_form.php b/app/Views/product_form.php index 237b6aa..cc44005 100644 --- a/app/Views/product_form.php +++ b/app/Views/product_form.php @@ -222,14 +222,15 @@ $(document).ready(function() { $('#model').change(function() { var model_ids = $('#model').val(); // Get the selected model IDs -console.log(model_ids); + var make_id = $('#make').val(); + console.log(model_ids); // AJAX request to get vendors based on the selected model ID $.ajax({ url: '', // URL to your CodeIgniter controller method type: 'POST', dataType: 'json', - data: { model_ids: model_ids }, // Send the selected make ID and model IDs to the controller + data: { model_ids: model_ids , make_id : make_id }, // Send the selected make ID and model IDs to the controller success: function(response) { // Update vendor dropdown based on the response if (response) { From 8156ab34a46aaae98ffc7fc6e22fa6cf0d3bd978 Mon Sep 17 00:00:00 2001 From: bitbucket Date: Tue, 9 Apr 2024 13:46:32 +0530 Subject: [PATCH 2/3] GWM:Client-Quick-Create --- app/Config/Routes.php | 1 + app/Controllers/Client.php | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/app/Config/Routes.php b/app/Config/Routes.php index de4c7ba..1f09fcf 100644 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -58,6 +58,7 @@ $routes->get('client_index/', 'Client::client_index'); $routes->post("add_client", "Client::add_client"); $routes->get("new_client/(:any)", "Client::new_client/$1"); $routes->get("delete_client/(:any)", "Client::delete_client/$1"); +$routes->post("save_client", "Client::client_quick_create"); //end clent //Vendor// $routes->get('vendor_index/', 'Vendor::vendor_index'); diff --git a/app/Controllers/Client.php b/app/Controllers/Client.php index 7f63ade..a4388ac 100644 --- a/app/Controllers/Client.php +++ b/app/Controllers/Client.php @@ -104,5 +104,43 @@ class Client extends BaseController return redirect()->to('client_index'); } + + public function client_quick_create(){ + // Load ClientModel + $ClientModel = new ClientModel(); + + // Validate inputs + $validationRules = [ + 'client_name' => 'required|max_length[100]', + 'mobile_no' => 'required' // Assuming mobile number is 10 digits long + ]; + + if (!$this->validate($validationRules)) { + // If validation fails, return validation errors + return $this->response->setJSON(['success' => false, 'errors' => $this->validator->getErrors()]); + } + + // If validation passes, proceed to save the client + $data = [ + 'client_name' => $this->request->getPost('client_name'), + 'mobile_no' => $this->request->getPost('mobile_no'), + 'branch_id'=> $this->session->get('logged_user_branch_id'), + 'city'=>'Chennai', + 'state'=>'Tamil Nadu', + 'isactive' => 1 + ]; + + // Attempt to insert the client data + $id = $ClientModel->insert($data); + if ($id) { + $clientData = $ClientModel->where('client_id',$id)->first(); + + // If insertion succeeds, return success response + return $this->response->setJSON(['success' => true, 'message' => 'Client saved successfully.','clientData'=>$clientData]); + } else { + // If insertion fails, return error response + return $this->response->setJSON(['success' => false, 'message' => 'Failed to save client.']); + } + } } \ No newline at end of file From 11d3e2ab0b3c26d37e4047f7bb392044c698dc60 Mon Sep 17 00:00:00 2001 From: aadhavan valli Date: Tue, 9 Apr 2024 13:48:24 +0530 Subject: [PATCH 3/3] FEATURE_SERVICE:AADHAVAN --- app/Config/Routes.php | 12 +- app/Controllers/Service.php | 242 ++++++++++++++++++ app/Controllers/Vendor.php | 2 +- app/Models/ServiceModel.php | 28 ++ app/Views/bike_model_list.php | 46 ++-- app/Views/layout/header.php | 7 + app/Views/make_list.php | 8 +- app/Views/service_form.php | 230 +++++++++++++++++ app/Views/service_list.php | 67 +++++ ...ci_session2573q24h3a7or3a5s3tt0as5repui0el | 1 - ...ci_session3f859v0nus6k39e69dg1m99ojisvj74t | 1 - ...ci_session5b5op4fvemsle98bgrdcd40i7o8jiopj | 1 - ...ci_sessionbnspmr17nu9h24ll86oljlj6khpn3e3q | 1 - ...ci_sessionc99vsrmvrqgjchvou88p9epmrrt6bh79 | 1 - ...ci_sessiond4er71c2kdir7v8uscuiuga0l2lehfj5 | 1 - ...ci_sessioneom0t8j0q24i1ev8gj05n8qqtrn4963d | 1 - ...ci_sessionhhmc3lcdt4jsmbscp8fr04gvcm7cu5ud | 1 - ...ci_sessionl5o29hh8ojuol0v9g06so9q610bmre4g | 1 - ...ci_sessionnaqfqbtgl7tdufb4o3rdosab2936lf09 | 1 - ...ci_sessionp7lpf26b9pmsvja53i3jevaggmu5sts5 | 1 - ...ci_sessionpq87lm7tav83fgrfn8p3lkb1ltbtpkk5 | 1 - ...ci_sessionq4u3u6svoq6lavjn5652k08ppfpckcta | 1 - ...ci_sessionsb1l1pnrmvtv6sl32kaosv8h4rje889e | 1 - ...ci_sessionu34udkaq41iognskel723blhet0a7l17 | 1 - ...ci_sessionuafouapbpij1v1cvu2qmr04njrc1aehp | 1 - ...ci_sessionuq8hf85r3dfg4npd6g60r4fn3b7qm3st | 1 - ...ci_sessionv3tuad4fecpvfst809im3emsaktfd224 | 1 - ...ci_sessionv9e5mqgqeuliu0tg9ian6rvacm8f8omf | 1 - 28 files changed, 606 insertions(+), 55 deletions(-) create mode 100644 app/Controllers/Service.php create mode 100644 app/Models/ServiceModel.php create mode 100644 app/Views/service_form.php create mode 100644 app/Views/service_list.php delete mode 100644 writable/session/ci_session2573q24h3a7or3a5s3tt0as5repui0el delete mode 100644 writable/session/ci_session3f859v0nus6k39e69dg1m99ojisvj74t delete mode 100644 writable/session/ci_session5b5op4fvemsle98bgrdcd40i7o8jiopj delete mode 100644 writable/session/ci_sessionbnspmr17nu9h24ll86oljlj6khpn3e3q delete mode 100644 writable/session/ci_sessionc99vsrmvrqgjchvou88p9epmrrt6bh79 delete mode 100644 writable/session/ci_sessiond4er71c2kdir7v8uscuiuga0l2lehfj5 delete mode 100644 writable/session/ci_sessioneom0t8j0q24i1ev8gj05n8qqtrn4963d delete mode 100644 writable/session/ci_sessionhhmc3lcdt4jsmbscp8fr04gvcm7cu5ud delete mode 100644 writable/session/ci_sessionl5o29hh8ojuol0v9g06so9q610bmre4g delete mode 100644 writable/session/ci_sessionnaqfqbtgl7tdufb4o3rdosab2936lf09 delete mode 100644 writable/session/ci_sessionp7lpf26b9pmsvja53i3jevaggmu5sts5 delete mode 100644 writable/session/ci_sessionpq87lm7tav83fgrfn8p3lkb1ltbtpkk5 delete mode 100644 writable/session/ci_sessionq4u3u6svoq6lavjn5652k08ppfpckcta delete mode 100644 writable/session/ci_sessionsb1l1pnrmvtv6sl32kaosv8h4rje889e delete mode 100644 writable/session/ci_sessionu34udkaq41iognskel723blhet0a7l17 delete mode 100644 writable/session/ci_sessionuafouapbpij1v1cvu2qmr04njrc1aehp delete mode 100644 writable/session/ci_sessionuq8hf85r3dfg4npd6g60r4fn3b7qm3st delete mode 100644 writable/session/ci_sessionv3tuad4fecpvfst809im3emsaktfd224 delete mode 100644 writable/session/ci_sessionv9e5mqgqeuliu0tg9ian6rvacm8f8omf diff --git a/app/Config/Routes.php b/app/Config/Routes.php index ad81baf..5b65b69 100644 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -83,19 +83,21 @@ $routes->get('dashboard', 'Users::dashboard'); -//---------------------- Make And Model +//---------------------- Make And Model // Service // Make $routes->get('make_index', 'Make::index'); $routes->post('create_make', 'Make::create_make'); - - // Model $routes->get('bike_model_index/(:any)', 'Model::index/$1'); - $routes->post('create_model', 'Model::create_model'); - $routes->post('status_model', 'Model::status_model'); +// Service +$routes->get('service_index', 'Service::service_index'); +$routes->get("new_service/(:any)", "Service::new_service/$1"); +$routes->post("add_service", "Service::add_service"); +$routes->post("get_models_service", "Service::get_models"); +$routes->get("delete_service/(:any)", "Service::delete_service/$1"); diff --git a/app/Controllers/Service.php b/app/Controllers/Service.php new file mode 100644 index 0000000..abf8b1d --- /dev/null +++ b/app/Controllers/Service.php @@ -0,0 +1,242 @@ +session = session(); + } + + public function service_index() + { + + $ServiceModel = new ServiceModel(); + $services = $ServiceModel->findAll(); + + foreach ($services as &$service) { + // Convert JSON strings to arrays + $makes_ids = json_decode($service['makes_id'], true) ?? []; + $models_ids = json_decode($service['models_id'], true) ?? []; + + // Fetch make names + $makeNames = []; + $BikemakeModel = new BikemakeModel(); + + foreach ($makes_ids as $make_id) { + if (!empty($make_id)) { // Check if $make_id is not null or empty + $make = $BikemakeModel->find($make_id); + if ($make) { + $makeNames[] = $make['make']; + } + } + } + + // Fetch model names + $modelNames = []; + $BikemodelsModel = new BikemodelsModel(); + + foreach ($models_ids as $model_id) { + if (!empty($model_id)) { // Check if $model_id is not null or empty + $model = $BikemodelsModel->find($model_id); + if ($model) { + $modelNames[] = $model['model_name']; + } + } + } + + // Replace IDs with names + $service['makes_names'] = implode(', ', $makeNames); + $service['models_names'] = implode(', ', $modelNames); + } + + $data['services']=$services; + return view('service_list',$data); + } + + + public function new_service($service_id) + { + + + if ($service_id === '0') { + + $data['services'] = []; + $ServiceModel = new ServiceModel(); + $tax=$ServiceModel->getTax(); + $data['tax']=$tax; + $BikemakeModel = new BikemakeModel(); + $data['make'] = $BikemakeModel->findAll(); + $data['models'] = []; + $data['page_name']="Add Service"; + } else if ($service_id !== '0') { + + $ServiceModel = new ServiceModel(); + $services=$ServiceModel->where('service_id', $service_id)->get()->getRowArray(); + + $services['models_id'] = json_decode($services['models_id'], true); + $services['makes_id'] = json_decode($services['makes_id'], true); + + $data['page_name']="Edit Service"; + + + $models = []; + $BikemodelsModel = new BikemodelsModel(); + + foreach ($services['makes_id'] as $make_id) { + $models[] = $BikemodelsModel->where('make_id', $make_id)->findAll(); + } + $data['models'] = $models; + + // Load make data + $BikemakeModel = new BikemakeModel(); + $data['make'] = $BikemakeModel->findAll(); + + $tax=$ServiceModel->getTax(); + $data['tax']=$tax; + + $data['services']=$services; + + } + $data['service_id'] = $service_id; + // echo"
";
+        // print_r($data);die;
+        echo view('service_form',$data);
+    }
+
+   
+    public function add_service()
+    {
+
+        $ServiceModel = new ServiceModel();
+    
+        $tax= $this->request->getPost('tax')/2;
+        
+        $make_ids = $this->request->getPost('make');
+        $model_ids = $this->request->getPost('model');
+
+
+        $model_json = json_encode($model_ids);
+        $make_json = json_encode($make_ids);
+        $data = [
+            'service_name' => $this->request->getPost('servicename'),
+            'price' => $this->request->getPost('price'),
+            'cgst' => $tax,
+            'igst' =>  $tax,
+            'makes_id' => $make_json,
+            'models_id' => $model_json, 
+            'description' => $this->request->getPost('description'),
+            'isactive' => 1 ,
+        ];
+      
+        $service_id = $this->request->getPost('service_id');
+    
+       
+        if (!empty($service_id)) {
+        
+            $ServiceModel->update($service_id, $data);
+        } else {
+            
+            $ServiceModel->insert($data);
+        }
+    
+        
+        return redirect()->to('service_index');
+    }
+
+    public function delete_service($service_id)
+    {
+        $ServiceModel = new ServiceModel();
+        $where = ['service_id' => $service_id, 'isactive' => 1]; // Assuming 'isactive' is a column in your database
+        $existingService = $ServiceModel->where($where)->first();
+    
+        if ($existingService) {
+            $data['isactive'] = 0;
+            
+            if ($ServiceModel->update($service_id, $data)) {
+                session()->setFlashdata('success', 'Deleted successfully.');
+                $this->logger->info("Users: has been Inactivated successfully. Inactivated ID = ".$service_id); 
+            }
+        }
+    
+       
+        return redirect()->to('service_index');
+    }
+  
+    // Retrieve the make_id from the AJAX request
+    public function get_vendors_by_model()
+    {
+        $make_id = $this->request->getPost('make_id');
+        $model_ids = $this->request->getPost('model_ids');
+        // print_r( $model_ids);die;
+
+        // If make_id or model_ids is not provided, return an empty response
+        
+
+        // Create an instance of VendorModel
+        $vendorModel = new VendorModel();
+
+        // Call the get_vendors_by_model method from the model
+        $vendors = $vendorModel->get_vendors_by_model($make_id, $model_ids);
+        // Return the response as JSON
+        // return $this->response->setJSON(['success' => true, 'message' => 'Client saved successfully.']);
+        if ($vendors) {
+            // Return the retrieved vendors as JSON response
+            return $this->response->setJSON($vendors);
+        } else {
+            // If no vendors were found, return an empty response or handle the error accordingly
+            return $this->response->setJSON([]);
+        }
+    }
+    
+    
+    
+    
+
+    public function get_models()
+    {
+        $selected_makes = $this->request->getPost('selected_makes');
+        
+        // Load the BikemakeModel to fetch models
+        $BikemodelModel = new BikemodelsModel();
+        
+        // Initialize an empty array to store formatted model data
+        $formatted_models = [];
+        
+        // Iterate over each selected make ID
+        if ($selected_makes) {
+            foreach ($selected_makes as $make_id) {
+                // Fetch models based on the selected make ID
+                $models = $BikemodelModel->where('make_id', $make_id)->findAll();
+                
+                // Iterate over each fetched model and format it as needed
+                foreach ($models as $model) {
+                    // Create an associative array with 'model_id' and 'model_name' properties
+                    $formatted_model = [
+                        'make_id'  => $model['make_id'],
+                        'model_id' => $model['model_id'],
+                        'model_name' => $model['model_name']
+                        // Add other properties if needed
+                    ];
+            
+                    // Push the formatted model into the array
+                    $formatted_models[] = $formatted_model;
+                }
+            }
+        }
+        
+        // Send the formatted models as JSON response back to the client
+        return $this->response->setJSON($formatted_models);
+    }
+
+}
\ No newline at end of file
diff --git a/app/Controllers/Vendor.php b/app/Controllers/Vendor.php
index 27c917d..b3d490e 100644
--- a/app/Controllers/Vendor.php
+++ b/app/Controllers/Vendor.php
@@ -77,7 +77,7 @@ class Vendor extends BaseController
     
         // Convert model IDs to JSON format
         $model_json = json_encode($model_ids);
-    $make_json=json_encode($make_ids);
+        $make_json=json_encode($make_ids);
         $data = [
             'vendor_name' => $this->request->getPost('vendor_name'),
             'contact_name' => $this->request->getPost('contact_name'),
diff --git a/app/Models/ServiceModel.php b/app/Models/ServiceModel.php
new file mode 100644
index 0000000..28f65f2
--- /dev/null
+++ b/app/Models/ServiceModel.php
@@ -0,0 +1,28 @@
+table('tax')->get();
+        
+        // Check if query returned results
+        if ($query->resultID->num_rows > 0) {
+            return $query->getResultArray();
+        } else {
+            return []; // Return an empty array if no tax data found
+        }
+    }
+
+}
+?>
\ No newline at end of file
diff --git a/app/Views/bike_model_list.php b/app/Views/bike_model_list.php
index 8b981d9..a6cd70f 100644
--- a/app/Views/bike_model_list.php
+++ b/app/Views/bike_model_list.php
@@ -1,9 +1,9 @@
 
 
-
+
-

Bike Model List -

+
Bike Model List -
-
+
@@ -76,7 +70,7 @@ + \ No newline at end of file diff --git a/writable/session/ci_session2573q24h3a7or3a5s3tt0as5repui0el b/writable/session/ci_session2573q24h3a7or3a5s3tt0as5repui0el deleted file mode 100644 index e2a76d9..0000000 --- a/writable/session/ci_session2573q24h3a7or3a5s3tt0as5repui0el +++ /dev/null @@ -1 +0,0 @@ -__ci_last_regenerate|i:1712314543;_ci_previous_url|s:64:"http://localhost/the_mechanic/public/index.php/sales_order_index";logged_user|s:1:"1";logged_user_branch_id|s:1:"1";logged_user_business_id|s:1:"2";logged_user_role|s:13:"Store Manager";logged_user_name|s:9:"Sales Man"; \ No newline at end of file diff --git a/writable/session/ci_session3f859v0nus6k39e69dg1m99ojisvj74t b/writable/session/ci_session3f859v0nus6k39e69dg1m99ojisvj74t deleted file mode 100644 index 634d6e9..0000000 --- a/writable/session/ci_session3f859v0nus6k39e69dg1m99ojisvj74t +++ /dev/null @@ -1 +0,0 @@ -__ci_last_regenerate|i:1712306960;_ci_previous_url|s:60:"http://localhost/the_mechanic/public/index.php/new_product/0";logged_user|s:1:"1";logged_user_branch_id|s:1:"1";logged_user_business_id|s:1:"2";logged_user_role|s:13:"Store Manager";logged_user_name|s:9:"Sales Man"; \ No newline at end of file diff --git a/writable/session/ci_session5b5op4fvemsle98bgrdcd40i7o8jiopj b/writable/session/ci_session5b5op4fvemsle98bgrdcd40i7o8jiopj deleted file mode 100644 index 6506ade..0000000 --- a/writable/session/ci_session5b5op4fvemsle98bgrdcd40i7o8jiopj +++ /dev/null @@ -1 +0,0 @@ -__ci_last_regenerate|i:1712307617;_ci_previous_url|s:60:"http://localhost/the_mechanic/public/index.php/new_product/0";logged_user|s:1:"1";logged_user_branch_id|s:1:"1";logged_user_business_id|s:1:"2";logged_user_role|s:13:"Store Manager";logged_user_name|s:9:"Sales Man"; \ No newline at end of file diff --git a/writable/session/ci_sessionbnspmr17nu9h24ll86oljlj6khpn3e3q b/writable/session/ci_sessionbnspmr17nu9h24ll86oljlj6khpn3e3q deleted file mode 100644 index fbc599d..0000000 --- a/writable/session/ci_sessionbnspmr17nu9h24ll86oljlj6khpn3e3q +++ /dev/null @@ -1 +0,0 @@ -__ci_last_regenerate|i:1712304798;_ci_previous_url|s:61:"http://localhost/the_mechanic/public/index.php/business_index";logged_user|s:1:"1";logged_user_branch_id|s:1:"1";logged_user_business_id|s:1:"2";logged_user_role|s:13:"Store Manager"; \ No newline at end of file diff --git a/writable/session/ci_sessionc99vsrmvrqgjchvou88p9epmrrt6bh79 b/writable/session/ci_sessionc99vsrmvrqgjchvou88p9epmrrt6bh79 deleted file mode 100644 index 4d40540..0000000 --- a/writable/session/ci_sessionc99vsrmvrqgjchvou88p9epmrrt6bh79 +++ /dev/null @@ -1 +0,0 @@ -__ci_last_regenerate|i:1712309483;_ci_previous_url|s:60:"http://localhost/the_mechanic/public/index.php/new_product/0";logged_user|s:1:"1";logged_user_branch_id|s:1:"1";logged_user_business_id|s:1:"2";logged_user_role|s:13:"Store Manager";logged_user_name|s:9:"Sales Man"; \ No newline at end of file diff --git a/writable/session/ci_sessiond4er71c2kdir7v8uscuiuga0l2lehfj5 b/writable/session/ci_sessiond4er71c2kdir7v8uscuiuga0l2lehfj5 deleted file mode 100644 index 952fba7..0000000 --- a/writable/session/ci_sessiond4er71c2kdir7v8uscuiuga0l2lehfj5 +++ /dev/null @@ -1 +0,0 @@ -__ci_last_regenerate|i:1712307938;_ci_previous_url|s:57:"http://localhost/the_mechanic/public/index.php/new_sale/0";logged_user|s:1:"1";logged_user_branch_id|s:1:"1";logged_user_business_id|s:1:"2";logged_user_role|s:13:"Store Manager";logged_user_name|s:9:"Sales Man"; \ No newline at end of file diff --git a/writable/session/ci_sessioneom0t8j0q24i1ev8gj05n8qqtrn4963d b/writable/session/ci_sessioneom0t8j0q24i1ev8gj05n8qqtrn4963d deleted file mode 100644 index 9954ac3..0000000 --- a/writable/session/ci_sessioneom0t8j0q24i1ev8gj05n8qqtrn4963d +++ /dev/null @@ -1 +0,0 @@ -__ci_last_regenerate|i:1712300415;_ci_previous_url|s:47:"http://localhost/the_mechanic/public/index.php/"; \ No newline at end of file diff --git a/writable/session/ci_sessionhhmc3lcdt4jsmbscp8fr04gvcm7cu5ud b/writable/session/ci_sessionhhmc3lcdt4jsmbscp8fr04gvcm7cu5ud deleted file mode 100644 index ce8be2b..0000000 --- a/writable/session/ci_sessionhhmc3lcdt4jsmbscp8fr04gvcm7cu5ud +++ /dev/null @@ -1 +0,0 @@ -__ci_last_regenerate|i:1712308723;_ci_previous_url|s:60:"http://localhost/the_mechanic/public/index.php/new_product/0";logged_user|s:1:"1";logged_user_branch_id|s:1:"1";logged_user_business_id|s:1:"2";logged_user_role|s:13:"Store Manager";logged_user_name|s:9:"Sales Man"; \ No newline at end of file diff --git a/writable/session/ci_sessionl5o29hh8ojuol0v9g06so9q610bmre4g b/writable/session/ci_sessionl5o29hh8ojuol0v9g06so9q610bmre4g deleted file mode 100644 index f991de9..0000000 --- a/writable/session/ci_sessionl5o29hh8ojuol0v9g06so9q610bmre4g +++ /dev/null @@ -1 +0,0 @@ -__ci_last_regenerate|i:1712305179;_ci_previous_url|s:59:"http://localhost/the_mechanic/public/index.php/client_index";logged_user|s:1:"1";logged_user_branch_id|s:1:"1";logged_user_business_id|s:1:"2";logged_user_role|s:13:"Store Manager";logged_user_name|s:9:"Sales Man"; \ No newline at end of file diff --git a/writable/session/ci_sessionnaqfqbtgl7tdufb4o3rdosab2936lf09 b/writable/session/ci_sessionnaqfqbtgl7tdufb4o3rdosab2936lf09 deleted file mode 100644 index e5ba5d0..0000000 --- a/writable/session/ci_sessionnaqfqbtgl7tdufb4o3rdosab2936lf09 +++ /dev/null @@ -1 +0,0 @@ -__ci_last_regenerate|i:1712303843;_ci_previous_url|s:47:"http://localhost/the_mechanic/public/index.php/";logged_user|s:1:"1";logged_user_branch_id|s:1:"1";logged_user_business_id|s:1:"2";logged_user_role|s:13:"Store Manager"; \ No newline at end of file diff --git a/writable/session/ci_sessionp7lpf26b9pmsvja53i3jevaggmu5sts5 b/writable/session/ci_sessionp7lpf26b9pmsvja53i3jevaggmu5sts5 deleted file mode 100644 index e5f6d0d..0000000 --- a/writable/session/ci_sessionp7lpf26b9pmsvja53i3jevaggmu5sts5 +++ /dev/null @@ -1 +0,0 @@ -__ci_last_regenerate|i:1712310681;_ci_previous_url|s:57:"http://localhost/the_mechanic/public/index.php/new_sale/0";logged_user|s:1:"1";logged_user_branch_id|s:1:"1";logged_user_business_id|s:1:"2";logged_user_role|s:13:"Store Manager";logged_user_name|s:9:"Sales Man"; \ No newline at end of file diff --git a/writable/session/ci_sessionpq87lm7tav83fgrfn8p3lkb1ltbtpkk5 b/writable/session/ci_sessionpq87lm7tav83fgrfn8p3lkb1ltbtpkk5 deleted file mode 100644 index 7ff9512..0000000 --- a/writable/session/ci_sessionpq87lm7tav83fgrfn8p3lkb1ltbtpkk5 +++ /dev/null @@ -1 +0,0 @@ -__ci_last_regenerate|i:1712309802;_ci_previous_url|s:64:"http://localhost/the_mechanic/public/index.php/sales_order_index";logged_user|s:1:"1";logged_user_branch_id|s:1:"1";logged_user_business_id|s:1:"2";logged_user_role|s:13:"Store Manager";logged_user_name|s:9:"Sales Man"; \ No newline at end of file diff --git a/writable/session/ci_sessionq4u3u6svoq6lavjn5652k08ppfpckcta b/writable/session/ci_sessionq4u3u6svoq6lavjn5652k08ppfpckcta deleted file mode 100644 index a7d149c..0000000 --- a/writable/session/ci_sessionq4u3u6svoq6lavjn5652k08ppfpckcta +++ /dev/null @@ -1 +0,0 @@ -__ci_last_regenerate|i:1712306111;_ci_previous_url|s:59:"http://localhost/the_mechanic/public/index.php/client_index";logged_user|s:1:"1";logged_user_branch_id|s:1:"1";logged_user_business_id|s:1:"2";logged_user_role|s:13:"Store Manager";logged_user_name|s:9:"Sales Man"; \ No newline at end of file diff --git a/writable/session/ci_sessionsb1l1pnrmvtv6sl32kaosv8h4rje889e b/writable/session/ci_sessionsb1l1pnrmvtv6sl32kaosv8h4rje889e deleted file mode 100644 index 95e0a58..0000000 --- a/writable/session/ci_sessionsb1l1pnrmvtv6sl32kaosv8h4rje889e +++ /dev/null @@ -1 +0,0 @@ -__ci_last_regenerate|i:1712304392;_ci_previous_url|s:54:"http://localhost/the_mechanic/public/index.php/log_out";logged_user|s:1:"1";logged_user_branch_id|s:1:"1";logged_user_business_id|s:1:"2";logged_user_role|s:13:"Store Manager"; \ No newline at end of file diff --git a/writable/session/ci_sessionu34udkaq41iognskel723blhet0a7l17 b/writable/session/ci_sessionu34udkaq41iognskel723blhet0a7l17 deleted file mode 100644 index 115162e..0000000 --- a/writable/session/ci_sessionu34udkaq41iognskel723blhet0a7l17 +++ /dev/null @@ -1 +0,0 @@ -__ci_last_regenerate|i:1712310116;_ci_previous_url|s:60:"http://localhost/the_mechanic/public/index.php/new_product/2";logged_user|s:1:"1";logged_user_branch_id|s:1:"1";logged_user_business_id|s:1:"2";logged_user_role|s:13:"Store Manager";logged_user_name|s:9:"Sales Man"; \ No newline at end of file diff --git a/writable/session/ci_sessionuafouapbpij1v1cvu2qmr04njrc1aehp b/writable/session/ci_sessionuafouapbpij1v1cvu2qmr04njrc1aehp deleted file mode 100644 index 712e1eb..0000000 --- a/writable/session/ci_sessionuafouapbpij1v1cvu2qmr04njrc1aehp +++ /dev/null @@ -1 +0,0 @@ -__ci_last_regenerate|i:1712306659;_ci_previous_url|s:59:"http://localhost/the_mechanic/public/index.php/client_index";logged_user|s:1:"1";logged_user_branch_id|s:1:"1";logged_user_business_id|s:1:"2";logged_user_role|s:13:"Store Manager";logged_user_name|s:9:"Sales Man"; \ No newline at end of file diff --git a/writable/session/ci_sessionuq8hf85r3dfg4npd6g60r4fn3b7qm3st b/writable/session/ci_sessionuq8hf85r3dfg4npd6g60r4fn3b7qm3st deleted file mode 100644 index f6cf8d9..0000000 --- a/writable/session/ci_sessionuq8hf85r3dfg4npd6g60r4fn3b7qm3st +++ /dev/null @@ -1 +0,0 @@ -__ci_last_regenerate|i:1712305539;_ci_previous_url|s:59:"http://localhost/the_mechanic/public/index.php/client_index";logged_user|s:1:"1";logged_user_branch_id|s:1:"1";logged_user_business_id|s:1:"2";logged_user_role|s:13:"Store Manager";logged_user_name|s:9:"Sales Man"; \ No newline at end of file diff --git a/writable/session/ci_sessionv3tuad4fecpvfst809im3emsaktfd224 b/writable/session/ci_sessionv3tuad4fecpvfst809im3emsaktfd224 deleted file mode 100644 index c7786a6..0000000 --- a/writable/session/ci_sessionv3tuad4fecpvfst809im3emsaktfd224 +++ /dev/null @@ -1 +0,0 @@ -__ci_last_regenerate|i:1712311493;_ci_previous_url|s:57:"http://localhost/the_mechanic/public/index.php/new_sale/0";logged_user|s:1:"1";logged_user_branch_id|s:1:"1";logged_user_business_id|s:1:"2";logged_user_role|s:13:"Store Manager";logged_user_name|s:9:"Sales Man"; \ No newline at end of file diff --git a/writable/session/ci_sessionv9e5mqgqeuliu0tg9ian6rvacm8f8omf b/writable/session/ci_sessionv9e5mqgqeuliu0tg9ian6rvacm8f8omf deleted file mode 100644 index 60d1322..0000000 --- a/writable/session/ci_sessionv9e5mqgqeuliu0tg9ian6rvacm8f8omf +++ /dev/null @@ -1 +0,0 @@ -__ci_last_regenerate|i:1712299949;_ci_previous_url|s:47:"http://localhost/the_mechanic/public/index.php/"; \ No newline at end of file