display_notification_centered(_("The customer payment has been successfully entered."));
submenu_print(_("&Print This Receipt"), ST_CUSTPAYMENT, $payment_no."-".ST_CUSTPAYMENT, 'prtopt');
+ submenu_print(_("&Email This Receipt"), ST_CUSTPAYMENT, $payment_no."-".ST_CUSTPAYMENT, null, 1);
submenu_view(_("&View this Customer Payment"), ST_CUSTPAYMENT, $payment_no);
input_num('amount'), input_num('discount'), $_POST['memo_'], 0, input_num('charge'), input_num('bank_amount', input_num('amount')));
$_SESSION['alloc']->trans_no = $payment_no;
+ $_SESSION['alloc']->date_ = $_POST['DateBanked'];
$_SESSION['alloc']->write();
unset($_SESSION['alloc']);