//material inward $mi = new Material(); if (isset($_GET['cid'])) { $mi->setCustID($_GET['cid']); } $mi->createMaterialInwardList(); $sel = new selectlist('Material_Inward_ID', $mi->getMaterialInwardList(), 'Select Challan', 'Material_Inward_ID', 'refer', '', ''); break; case 'pmlist': //part material inward list $mi = new PartMaterial(); if (isset($_GET['miid'])) { $mi->setInwardID($_GET['miid']); } $mi->createPartMaterialList(); $sel = new selectlist('MI_Drg_Qty_ID', $mi->getPartMaterialList(), 'Select Part', 'MI_Drg_Qty_ID', 'des', '', ''); break; case 'batch': //batch details for editing $bn = new Batch(); if (isset($_GET['did'])) { $bn->setPartID($_GET['did']); } if (isset($_GET['openonly'])) { $bn->setOpenOnly($_GET['openonly']); } $bn->createBatchList(); $sel = new selectlist('Batch_ID', $bn->getBatchList(), 'Select Batch', 'Batch_ID', 'Mfg_Batch_NO', '', '', '1'); break; case 'activity': //activity list