diff --git a/application/controllers/cashbook.php b/application/controllers/cashbook.php index 3d256ffa..afd892e7 100755 --- a/application/controllers/cashbook.php +++ b/application/controllers/cashbook.php @@ -492,7 +492,17 @@ class cashbook extends BaseController $res = $this->cashbook_model->saveIncomeExpense($addincomexpense); if( $res == 1 ){ - echo ""; + //echo ""; + echo ""; + + if($amounttype == ' ')//Redirct To Listing Screen + { + redirect('ViewIncomeExpense','refresh'); + } + else if($amounttype != ' ')//Redirct To Bank Report Screen + { + redirect('Bankingstatement','refresh'); + } } }