" . _("There are no items for this issue."); } else { start_table($table_style); $th = array(_("Component"), _("Quantity"), _("Units")); table_header($th); $j = 1; $k = 0; //row colour counter $total_cost = 0; while ($myrow = db_fetch($result)) { alt_table_row_color($k); label_cell($myrow["stock_id"] . " - " . $myrow["description"]); qty_cell($myrow["qty_issued"]); label_cell($myrow["units"]); end_row();; $j++; If ($j == 12) { $j = 1; table_header($th); }//end of page full new headings if }//end of while end_table(); } } //------------------------------------------------------------------------------------------------- display_heading(systypes::name(28) . " # " . $wo_issue_no); display_wo_issue($wo_issue_no); display_heading2(_("Items for this Issue")); display_wo_issue_details($wo_issue_no); //------------------------------------------------------------------------------------------------- echo "
"; end_page(true); ?>