function display_po_receive_items()
{
- global $table_style;
-
div_start('grn_items');
- start_table("colspan=7 $table_style width=90%");
+ start_table(TABLESTYLE, "colspan=7 width=90%");
$th = array(_("Item Code"), _("Description"), _("Ordered"), _("Units"), _("Received"),
_("Outstanding"), _("This Delivery"), _("Price"), _("Total"));
table_header($th);
// Otherwise if you try to fullfill item quantities separately will give error.
$result = get_po_items($_SESSION['PO']->order_no);
- $line_no = 1;
+ $line_no = 0;
while ($myrow = db_fetch($result))
{
$ln_item = $_SESSION['PO']->line_items[$line_no];