X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fsupplier_payment.php;h=bb22a30fa8a104755ff0cf80ec6718df7aa4aab1;hb=0b1257cb14406901c17a5d537d606d973ca3115c;hp=b3fe7ceeaefc241a3a35141d238e500edd2c969a;hpb=574560928e6d43007858a8655d71c9055739f986;p=fa-stable.git diff --git a/purchasing/supplier_payment.php b/purchasing/supplier_payment.php index b3fe7cee..bb22a30f 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); @@ -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);