start_row();
label_cells(_("Amount Total"), $display_total, "colspan=$colspan align='right'","align='right'");
- $order->order_no ? submit_cells('update', _("Update"), "colspan=2 align='center'", _("Refresh"), true)
+ $order->trans_type == ST_SUPPINVOICE
+ ? submit_cells('update', _("Update"), "colspan=2 align='center'", _("Refresh"), true)
: label_cell('', "colspan=2");
end_row();
// hidden('line_no', ($_SESSION['PO']->lines_on_order + 1));
//Chaitanya : Manufcatured item can be purchased
- stock_items_list_cells(null, 'stock_id', null, false, true, false, true);
+ stock_items_list_cells(null, 'stock_id', null, false, true, false, true, array('editable' => 30));
//stock_purchasable_items_list_cells(null, 'stock_id', null, false, true, true);
if (list_updated('stock_id')) {
$Ajax->activate('price');