Fixed many issues in output HTML code according to HTML 4.01 Transitional format.
[fa-stable.git] / purchasing / supplier_payment.php
index b3fe7ceeaefc241a3a35141d238e500edd2c969a..bb22a30fa8a104755ff0cf80ec6718df7aa4aab1 100644 (file)
@@ -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);