Exemplo n.º 1
0
        }
    }
    if ($emidqid != '') {
        $l = count($emidqid);
        $i = 0;
        while ($i < $l) {
            $mi->setMIDQID($emidqid[$i]);
            $mi->setQuantity($eqty[$i]);
            $mi->setMaterialCode($emcode[$i]);
            $mi->setRackno($racknoe[$i]);
            $mi->savePartMaterial();
            $i++;
        }
    }
    if ($tdel != '') {
        $mi->delPartQuantites($tdel);
    }
} else {
    if (isset($_GET['did'])) {
        $mi->showPartInwardUI();
    }
    if (isset($_GET['t'])) {
        $mi->setMaterialOwner($_GET['t']);
        $mi->setCustID($_GET['cid']);
        $mi->showMaterialInwardListUI();
    }
    if (isset($_GET['miid'])) {
        $mi->setInwardID($_GET['miid']);
        $mi->showMaterialInwardListUI();
    }
    if (isset($_GET['pmiid'])) {