Material Master and Supplier list issue fixed
This commit is contained in:
parent
ce38b59864
commit
09f259ed30
@ -167,13 +167,13 @@ class supplier extends BaseController
|
||||
|
||||
if($result > 0)
|
||||
{
|
||||
// redirect('supplierListing','refresh');
|
||||
redirect('supplierListing','refresh');
|
||||
echo "<script>alert('New Supplier Created successfully!');</script>";
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
// redirect('supplierListing','refresh');
|
||||
redirect('supplierListing','refresh');
|
||||
echo "<script>alert('Supplier Record Not Created!');</script>";
|
||||
}
|
||||
}
|
||||
@ -221,7 +221,7 @@ class supplier extends BaseController
|
||||
$PayableAT = $this->input->post('PayableAT');
|
||||
$UpdatedBy = $this->session->userdata ( 'userId' );
|
||||
$chked = $this->input->post('isactive');
|
||||
// echo 'chkvalue'. $chked ;
|
||||
|
||||
if( $chked != '')
|
||||
{
|
||||
$IsActive = '1';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user