Пример #1
0
     $toolbody->setNdiameter($_POST['ndiameter']);
 }
 if (isset($_POST['sdiameter'])) {
     $toolbody->setSdiameter($_POST['sdiameter']);
 }
 if (isset($_POST['flutelength'])) {
     $toolbody->setFluteLength($_POST['flutelength']);
 }
 if (isset($_POST['reach'])) {
     $toolbody->setReach($_POST['reach']);
 }
 if (isset($_POST['toolmaterial'])) {
     $toolbody->setBodyMaterial($_POST['toolmaterial']);
 }
 if (isset($_POST['noofflutes'])) {
     $toolbody->setNoOfFlutes($_POST['noofflutes']);
 }
 if (isset($_POST['Brand_ID'])) {
     $toolbody->setBrandID($_POST['Brand_ID']);
 } else {
     if (isset($_POST['Brand_ID_E'])) {
         $toolbody->setBrandID($_POST['Brand_ID_E']);
     }
 }
 if (isset($_POST['minimumstock'])) {
     $toolbody->setMinimumStock($_POST['minimumstock']);
 }
 if (isset($_POST['toolremarks'])) {
     $toolbody->setToolRemarks($_POST['toolremarks']);
 }
 if (isset($_POST['tooloal'])) {