From 6dc113f557b443972c03a8955fb9c1b9fe9228e7 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Wed, 20 Sep 2017 13:50:13 +0530 Subject: [PATCH] done cost center changes --- application/views/addCostCenter.php | 6 +++--- application/views/editOldcost.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/application/views/addCostCenter.php b/application/views/addCostCenter.php index 56704a32..c50e50d8 100755 --- a/application/views/addCostCenter.php +++ b/application/views/addCostCenter.php @@ -98,7 +98,7 @@ $(function() {
'CostCode','value' => set_value('CostCode'),'id'=>'CostCode', 'class' => 'form-control' ,'required' => 'true','style'=>'text-transform:uppercase;','maxlength'=>'5' ); + $data = array('name' => 'CostCode','value' => set_value('CostCode'),'id'=>'CostCode', 'class' => 'form-control' ,'required' => 'true','style'=>'text-transform:uppercase;','maxlength'=>'10' ); echo form_input($data); ?>
@@ -111,7 +111,7 @@ $(function() { *
'CostName','value' => set_value('CostName'),'id'=>'CostName', 'class' => 'form-control' ,'required' => 'true','style'=>'text-transform:uppercase;','maxlength'=>'20'); + $data = array('name' => 'CostName','value' => set_value('CostName'),'id'=>'CostName', 'class' => 'form-control' ,'required' => 'true','style'=>'text-transform:uppercase;','maxlength'=>'100'); echo form_input($data); ?>
@@ -842,4 +842,4 @@ function validate() } - \ No newline at end of file + diff --git a/application/views/editOldcost.php b/application/views/editOldcost.php index cad7f116..aafdddb4 100755 --- a/application/views/editOldcost.php +++ b/application/views/editOldcost.php @@ -207,7 +207,7 @@ $( document ).ready(function() {
'CostCode','value' => set_value( 'CostCode',$CostCenterCode ),'id'=>'CostCode', 'class' => 'form-control' ,'readonly' => 'true' ); + $data = array('name' => 'CostCode','value' => set_value( 'CostCode',$CostCenterCode ),'id'=>'CostCode', 'class' => 'form-control' ,'readonly' => 'true' ,'maxlength'=>'10'); echo form_input($data); ?>
@@ -1057,4 +1057,4 @@ function validate() } - \ No newline at end of file +