Material Master and Supplier list issue fixed

This commit is contained in:
gandhimathi Bharathirajan 2017-04-12 23:10:09 +05:30
parent ce38b59864
commit 09f259ed30

View File

@ -167,13 +167,13 @@ class supplier extends BaseController
if($result > 0) if($result > 0)
{ {
// redirect('supplierListing','refresh'); redirect('supplierListing','refresh');
echo "<script>alert('New Supplier Created successfully!');</script>"; echo "<script>alert('New Supplier Created successfully!');</script>";
} }
else else
{ {
// redirect('supplierListing','refresh'); redirect('supplierListing','refresh');
echo "<script>alert('Supplier Record Not Created!');</script>"; echo "<script>alert('Supplier Record Not Created!');</script>";
} }
} }
@ -221,7 +221,7 @@ class supplier extends BaseController
$PayableAT = $this->input->post('PayableAT'); $PayableAT = $this->input->post('PayableAT');
$UpdatedBy = $this->session->userdata ( 'userId' ); $UpdatedBy = $this->session->userdata ( 'userId' );
$chked = $this->input->post('isactive'); $chked = $this->input->post('isactive');
// echo 'chkvalue'. $chked ;
if( $chked != '') if( $chked != '')
{ {
$IsActive = '1'; $IsActive = '1';