projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: removed _GET/_POST references from business logic model.
[fa-stable.git]
/
sales
/
customer_delivery.php
diff --git
a/sales/customer_delivery.php
b/sales/customer_delivery.php
index f92538020e8cf61c06d3a928a24af7877f657bcf..605df69188fd200ccc48b3635975c51a4477d648 100644
(file)
--- a/
sales/customer_delivery.php
+++ b/
sales/customer_delivery.php
@@
-29,7
+29,7
@@
$js = "";
if ($use_popup_windows) {
$js .= get_js_open_window(900, 500);
}
if ($use_popup_windows) {
$js .= get_js_open_window(900, 500);
}
-if (
$use_date_picker
) {
+if (
user_use_date_picker()
) {
$js .= get_js_date_picker();
}
$js .= get_js_date_picker();
}
@@
-138,7
+138,7
@@
if (isset($_GET['OrderNumber']) && $_GET['OrderNumber'] > 0) {
exit;
} else {
exit;
} else {
- check_edit_conflicts();
+ check_edit_conflicts(
get_post('cart_id')
);
if (!check_quantities()) {
display_error(_("Selected quantity cannot be less than quantity invoiced nor more than quantity not dispatched on sales order."));
if (!check_quantities()) {
display_error(_("Selected quantity cannot be less than quantity invoiced nor more than quantity not dispatched on sales order."));