"redirect issues fixes" in cashbook-bankreport
This commit is contained in:
parent
9b9ea858af
commit
931a6c2349
@ -492,7 +492,17 @@ class cashbook extends BaseController
|
||||
|
||||
$res = $this->cashbook_model->saveIncomeExpense($addincomexpense);
|
||||
if( $res == 1 ){
|
||||
echo "<script>alert('Saved Successfully!');window.location.href='ViewIncomeExpense';</script>";
|
||||
//echo "<script>alert('Saved Successfully!');window.location.href='ViewIncomeExpense';</script>";
|
||||
echo "<script>alert('Saved Successfully!');</script>";
|
||||
|
||||
if($amounttype == ' ')//Redirct To Listing Screen
|
||||
{
|
||||
redirect('ViewIncomeExpense','refresh');
|
||||
}
|
||||
else if($amounttype != ' ')//Redirct To Bank Report Screen
|
||||
{
|
||||
redirect('Bankingstatement','refresh');
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user