projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e3e48e
)
Fixed a bug when trying to back the inv.date and due date in Direct Invoicing
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Tue, 24 Jun 2008 13:01:32 +0000
(13:01 +0000)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Tue, 24 Jun 2008 13:01:32 +0000
(13:01 +0000)
sales/sales_order_entry.php
patch
|
blob
|
history
diff --git
a/sales/sales_order_entry.php
b/sales/sales_order_entry.php
index 4d85035946d618611016c262871251a0f653d610..aaad352b018adcbdc5ae4fa5f8c72b1ffc99db3e 100644
(file)
--- a/
sales/sales_order_entry.php
+++ b/
sales/sales_order_entry.php
@@
-232,7
+232,8
@@
function can_process() {
set_focus('delivery_date');
return false;
}
- if (date1_greater_date2($_SESSION['Items']->document_date, $_POST['delivery_date'])) {
+ //if (date1_greater_date2($_SESSION['Items']->document_date, $_POST['delivery_date'])) {
+ if (date1_greater_date2($_POST['OrderDate'], $_POST['delivery_date'])) {
display_error(_("The requested delivery date is before the date of the order."));
set_focus('delivery_date');
return false;