X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fcustomer_payments.php;h=907f789eca8499fd7dd1e9014fe0be406779c6b4;hb=a99cb262f8c9e65ab86c231c997cca422e836817;hp=592d0e7f903c95986eb607f7aa71b29aa82d4893;hpb=0991472483431059993dea24db4d83edb264bc1c;p=fa-stable.git diff --git a/sales/customer_payments.php b/sales/customer_payments.php index 592d0e7f..907f789e 100644 --- a/sales/customer_payments.php +++ b/sales/customer_payments.php @@ -102,6 +102,7 @@ if (isset($_GET['AddedID'])) { 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); @@ -243,6 +244,7 @@ if (get_post('AddPaymentItem') && can_process()) { 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']);