projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rerun bug 5512: Customer Allocation Inquiry - No alloc-icon for DEBET-Accounts-receiv...
[fa-stable.git]
/
sales
/
customer_credit_invoice.php
diff --git
a/sales/customer_credit_invoice.php
b/sales/customer_credit_invoice.php
index af42db4c0378e497a870c5c8fb567cfb38c48e77..e482386b971a7f9f14998fca9fd46cc814b75e6b 100644
(file)
--- a/
sales/customer_credit_invoice.php
+++ b/
sales/customer_credit_invoice.php
@@
-87,7
+87,7
@@
function can_process()
global $Refs;
if (!is_date($_POST['CreditDate'])) {
global $Refs;
if (!is_date($_POST['CreditDate'])) {
- display_error(_("The entered date is invalid."));
;
+ display_error(_("The entered date is invalid."));
set_focus('CreditDate');
return false;
} elseif (!is_date_in_fiscalyear($_POST['CreditDate'])) {
set_focus('CreditDate');
return false;
} elseif (!is_date_in_fiscalyear($_POST['CreditDate'])) {
@@
-98,14
+98,14
@@
function can_process()
if ($_SESSION['Items']->trans_no==0) {
if (!$Refs->is_valid($_POST['ref'], ST_CUSTCREDIT)) {
if ($_SESSION['Items']->trans_no==0) {
if (!$Refs->is_valid($_POST['ref'], ST_CUSTCREDIT)) {
- display_error(_("You must enter a reference."));
;
+ display_error(_("You must enter a reference."));
set_focus('ref');
return false;
}
}
if (!check_num('ChargeFreightCost', 0)) {
set_focus('ref');
return false;
}
}
if (!check_num('ChargeFreightCost', 0)) {
- display_error(_("The entered shipping cost is invalid or less than zero."));
;
+ display_error(_("The entered shipping cost is invalid or less than zero."));
set_focus('ChargeFreightCost');
return false;
}
set_focus('ChargeFreightCost');
return false;
}