projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[0000077] Added a total before ending balance in trial balance (also in report)
[fa-stable.git]
/
purchasing
/
supplier_payment.php
diff --git
a/purchasing/supplier_payment.php
b/purchasing/supplier_payment.php
index c731c491493581e7ed2eef3d114e1c0472d749ae..28e16c6f3229aad6c1229f0f2cd93aba3ebf60ef 100644
(file)
--- a/
purchasing/supplier_payment.php
+++ b/
purchasing/supplier_payment.php
@@
-41,6
+41,9
@@
if (isset($_POST['_supplier_id_editor'])) {
array( 'supplier_id', 'bank_account', 'DatePaid',
'PaymentType', 'ref', 'amount', 'discount', 'memo_') );
}
array( 'supplier_id', 'bank_account', 'DatePaid',
'PaymentType', 'ref', 'amount', 'discount', 'memo_') );
}
+if (isset($_POST['_DatePaid_changed'])) {
+ $Ajax->activate('_ex_rate');
+}
//----------------------------------------------------------------------------------------
if (isset($_GET['AddedID']))
//----------------------------------------------------------------------------------------
if (isset($_GET['AddedID']))
@@
-83,7
+86,7
@@
function display_controls()
amount_row(_("Amount of Payment:"), 'amount');
amount_row(_("Amount of Discount:"), 'discount');
amount_row(_("Amount of Payment:"), 'amount');
amount_row(_("Amount of Discount:"), 'discount');
- date_row(_("Date Paid") . ":", 'DatePaid');
+ date_row(_("Date Paid") . ":", 'DatePaid'
, '', null, 0, 0, 0, null, true
);
echo "</table>";
echo "</td><td valign=top class='tableseparator'>"; // outer table
echo "</table>";
echo "</td><td valign=top class='tableseparator'>"; // outer table