projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Workaround for segfaults in some buggy php encoding library versions.
[fa-stable.git]
/
sales
/
includes
/
ui
/
sales_order_ui.inc
diff --git
a/sales/includes/ui/sales_order_ui.inc
b/sales/includes/ui/sales_order_ui.inc
index f2dd4af50800e2cccff408bdb87e0e17a1dec78c..4b697c514f6526d4dd2307e7e4fa2cedab40b085 100644
(file)
--- a/
sales/includes/ui/sales_order_ui.inc
+++ b/
sales/includes/ui/sales_order_ui.inc
@@
-607,7
+607,7
@@
function display_delivery_details(&$order)
table_section(1);
locations_list_row(_("Deliver from Location:"), 'Location', null, false, true, $order->fixed_asset);
table_section(1);
locations_list_row(_("Deliver from Location:"), 'Location', null, false, true, $order->fixed_asset);
- if ($order->payment_terms['days_before_due']
< 0
)
+ if ($order->payment_terms['days_before_due']
== -1
)
{
$Ajax->addUpdate('items_table', 'prep_amount', price_format($order->get_trans_total())); // bind to items_table update
if (!$order->is_started())
{
$Ajax->addUpdate('items_table', 'prep_amount', price_format($order->get_trans_total())); // bind to items_table update
if (!$order->is_started())