diff --git a/app/Controllers/Supplier.php b/app/Controllers/Supplier.php index e9a109fe..a1f66c34 100755 --- a/app/Controllers/Supplier.php +++ b/app/Controllers/Supplier.php @@ -454,13 +454,13 @@ class Supplier extends BaseController $addarr = [ 'name' => $name, 'created_by' => $userId, ]; if ($this->supplier_model->saveTransporter($addarr) > 0) { - $data = ['status' => true, 'message' => 'Successfully created transporter details']; + $data = ['status' => true, 'message' => "Successfully created $name transporter details"]; } }else{ $editarr = ['name' => $name,'updated_by' => $userId]; if ($this->supplier_model->updateTransporter($editarr, $id) > 0) { - $data = ['status' => true,'message' => 'Successfully updated transporter details']; + $data = ['status' => true,'message' => "Successfully updated transporter details as $name "]; } } diff --git a/app/Views/addconfig.php b/app/Views/addconfig.php index 99f23c6a..e7c24fd3 100755 --- a/app/Views/addconfig.php +++ b/app/Views/addconfig.php @@ -46,13 +46,15 @@
- * + + * 'configurationname', 'value' => set_value('configurationname'), 'id' => 'configurationname', 'class' => 'form-control', 'required' => 'true', 'maxlength' => '20'); echo form_input($data); ?>
+ * 'Comments', 'value' => set_value('Comments'), 'id' => 'Comments', 'class' => 'form-control', 'required' => 'true', 'maxlength' => '20'); echo form_input($data); @@ -390,11 +392,19 @@