! -> Note
$ -> Affected files
+28-Apr-2007 Joe Hunt
+ # When saving work order entries a lot of debug boxes appeared. Fixed
+ # When clicking on the link Issue on work order inquires an empty screen appeared. Fixed
+ $ /manufacturing/work_order_entry.php
+ /manufacturing/includes/work_order_issue_ui.inc
+ /manufacturing/includes/db/work_orders_quick_db.inc
+
25-Apr-2007 Joe Hunt
# Missing Date Picker
$ /sales/customer_invoice.php
add_gl_trans_std_cost(systypes::work_order(), $woid, $date_, $bom_accounts["inventory_account"], 0, 0,
null, -$bom_cost);
- alert("bokade bom- cost ".-$bom_cost);
$total_cost += $bom_cost;
}
$item_accounts = get_stock_gl_code($stock_id);
add_gl_trans_std_cost(systypes::work_order(), $woid, $date_, $item_accounts["assembly_account"],
$item_accounts["dimension_id"], $item_accounts["dimension2_id"], null, -$additional_costs);
- alert("bokade additional cost ".-$additional_costs.", acc = ".$item_accounts["assembly_account"]);
// debit total components + additional
$total_cost += $additional_costs;
add_gl_trans_std_cost(systypes::work_order(), $woid, $date_, $item_accounts["inventory_account"],
0, 0, null, $total_cost);
- alert("bokade total- cost ".$total_cost);
}
//--------------------------------------------------------------------------------------
label_cell("<a target='_blank' href='$path_to_root/inventory/inquiry/stock_status.php?" . SID . "stock_id=" . $stock_item->stock_id . "'>$stock_item->stock_id</a>");
label_cell($stock_item->item_description);
qty_cell($stock_item_quantity);
- if (strlen($stock_item->units)
+ if (strlen($stock_item->units))
label_cell($stock_item->units);
else
label_cell("");