require_once '../../lib/defination.class.php'; include '../../lib/supplier.class.php'; include '../../lib/stock.class.php'; include '../../lib/qc.class.php'; include '../../lib/mrr.class.php'; $stock = new Stock(); $QC = new QC(); $output = options_for_select($stock->retriveStockItem(), 'stock_item_id', 'stock_item_name'); // get suppliers info for combo box; $Supplier = new Supplier(); $outputSupplierItem = options_for_select($Supplier->retriveSupplierInfo(), 'sup_id', 'sup_name', true); $MRR = new MRR(); $outputMRRtNo = options_for_select($MRR->retriveMRRInfo(), 'mrr_id', 'mrr_number', true); $locations = options_for_select($stock->retriveLocation(), 'stock_location_id', 'stock_location_name'); $num = $QC->getNewId(); ?> <div id="note"> </div> <form id="mrrForm" name="mrrForm" method="post" action="includes/model/qc_order_actions.php" > <div class='morelabel'> <p> <label>QC # </label> <input type="text" disabled value="<?php echo generate_timestamp('QC', $num); ?> " /> <input type="hidden" name="qc_num" value="<?php