X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=purchasing%2Fsupplier_payment.php;h=f3090264a00ae85bd0d87fa5ac59e3d9fead8451;hb=209d19db558ad9994095c4e70e76a45d4d343708;hp=b3fe7ceeaefc241a3a35141d238e500edd2c969a;hpb=574560928e6d43007858a8655d71c9055739f986;p=fa-stable.git diff --git a/purchasing/supplier_payment.php b/purchasing/supplier_payment.php index b3fe7cee..f3090264 100644 --- a/purchasing/supplier_payment.php +++ b/purchasing/supplier_payment.php @@ -237,6 +237,7 @@ function handle_add_payment() new_doc_date($_POST['DatePaid']); $_SESSION['alloc']->trans_no = $payment_id; + $_SESSION['alloc']->date_ = $_POST['DatePaid']; $_SESSION['alloc']->write(); unset($_POST['bank_account']); @@ -267,7 +268,7 @@ if (isset($_POST['ProcessSuppPayment'])) start_form(); - start_outer_table(TABLESTYLE2, "width=60%", 5); + start_outer_table(TABLESTYLE2, "width='60%'", 5); table_section(1); @@ -306,7 +307,7 @@ start_form(); if ($bank_currency != $supplier_currency) { - amount_row(_("Bank Amount:"), 'bank_amount', null, '', $bank_currency, 2); + amount_row(_("Bank Amount:"), 'bank_amount', null, '', $bank_currency); } amount_row(_("Bank Charge:"), 'charge', null, '', $bank_currency); @@ -318,7 +319,7 @@ start_form(); show_allocatable(false); div_end(); - start_table(TABLESTYLE, "width=60%"); + start_table(TABLESTYLE, "width='60%'"); amount_row(_("Amount of Discount:"), 'discount', null, '', $supplier_currency); amount_row(_("Amount of Payment:"), 'amount', null, '', $supplier_currency); textarea_row(_("Memo:"), 'memo_', null, 22, 4);