- locations_list_row(_("Deliver from Location:"), 'Location', null, false, true);
+ locations_list_row(_("Deliver from Location:"), 'Location', null, false, true, $order->fixed_asset);
+ 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())
+ amount_row(_("Pre-Payment Required:"), 'prep_amount');
+ else
+ label_row(_("Pre-Payment Required:"), price_format($order->prep_amount), "class='label'");
+ }