<h3>Production Issue Form</h3><br /> <label for="doc_num">Document Number </label><span id="docNum"><?php echo $production->prepareDocNumber(); ?> </span><br /> <label for="doc_date">Document Date </label><?php echo $production->prepareDocDate("j F Y"); ?> <br /> <label for="doc_type">Document Type </label><?php echo $production->prepareDocType(); ?> <br /> <label for="branch_id">Branch </label> <?php $branch = new Branch($production->getBranchId()); echo $branch->prepareName() . " / " . "<span id=\"branchId\">" . $production->prepareBranchId() . "</span>"; ?> <br /> <table id="formContent"> <thead> <tr><th>No</th> <th>Item Code</th><th width="400">Description</th><th>Quantity</th><th>UOM</th><th>Remarks</th><th>Icons</th></tr> </thead> <tbody> <?php $hideCancel = false; $counter = 1; foreach ($production_details as $production_detail) { echo "<tr id=\"rowNo" . $counter . "\"><td id=\"detailId\" class=\"hideFirst\">" . $production_detail->getId() . "</td><td>" . $counter . "</td><td id=\"itemCode\">" . $production_detail->prepareItemId() . "</td>"; $item = new Inv_item($production_detail->getItemId());