Exemplo n.º 1
0
     $mi->setExchallanNo($_POST['exchallanno']);
 }
 if (isset($_POST['exchallandatedb'])) {
     $mi->setExchallanDate($_POST['exchallandatedb']);
 }
 if (isset($_POST['dano'])) {
     $mi->setDano($_POST['dano']);
 }
 if (isset($_POST['dadatedb'])) {
     $mi->setDaDate($_POST['dadatedb']);
 }
 if (isset($_POST['gpno'])) {
     $mi->setGpno($_POST['gpno']);
 }
 if (isset($_POST['gpdatedb'])) {
     $mi->setGpDate($_POST['gpdatedb']);
 }
 if (isset($_POST['prefno'])) {
     $mi->setPurchaseRef($_POST['prefno']);
 }
 if (isset($_POST['prefdatedb'])) {
     $mi->setPurchaseRefDate($_POST['prefdatedb']);
 }
 if (isset($_POST['partlist'])) {
     $partlist = $_POST['partlist'];
 } else {
     $partlist = '';
 }
 //list of new parts and quantites entered
 if (isset($_POST['status'])) {
     $mi->setStatus($_POST['status']);