This commit is contained in:
2022-02-28 20:00:43 -05:00
parent 49e0c1191f
commit d323cc274b
4 changed files with 41 additions and 42 deletions
+12 -1
View File
@@ -71,9 +71,13 @@ class Paymnt extends Users_Controller {
if ($res == PHP_API_OK) {
// we are good
$this->session->set_flashdata('in',1);
redirect("paymnt/cardreciepts");
} else {
// we still have error
$this->session->set_flashdata('in',1);
redirect("paymnt/cardreciepts");
}
} // no error(s) from card test PHP model
@@ -88,4 +92,11 @@ class Paymnt extends Users_Controller {
return $this->paymus();
}
}
public function cardreciepts(){
echo "ameye olu";
$data = array();
$this->RenderUserPage('users/view_payreciepts', $data); // return back to card page
}
}