+ if ($order->fixed_asset) {
+ /* TODO: check if this is a correct way of creating a fixed item
+ that still has to be submitted in the form */
+ hidden('std_cost');
+ label_cell($_POST['std_cost'], "nowrap align=right ", 'std_cost_view');
+ $price = get_purchase_value($_POST['stock_id']);
+ amount_cell($price, false, '', 'initial_price');
+ } else {
+ //amount_cells(null, 'std_cost', $_POST['std_cost']);
+ amount_cells(null, 'std_cost', null, null, null, $dec2);
+ label_cell(" ");
+ }