Changeset 352
- Timestamp:
- 10/23/07 13:05:42 (4 years ago)
- Files:
-
- 1 modified
-
trunk/phpbms/modules/bms/javascript/invoice.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/modules/bms/javascript/invoice.js
r323 r352 873 873 var totalti = getObjectFromID("totalti"); 874 874 var clientid = getObjectFromID("clientid"); 875 var type = getObjectFromID("type"); 875 876 876 877 var error = ""; … … 896 897 checkinfo.style.display = "none"; 897 898 ccinfo.style.display = "none"; 898 amountpaid.value = numberToCurrency(0); 899 amountdue.value = totalti.value; 899 900 if(type.value != "Invoice"){ 901 902 amountpaid.value = numberToCurrency(0); 903 amountdue.value = totalti.value; 904 905 }//endif 900 906 amountpaid.className = "important fieldCurrency fieldTotal uneditable"; 901 907 amountpaid.readOnly = true;