public function addfinish() { $empcode = $_POST['idac']; $yearyear = $_POST['idyear']; $monthmonth = $_POST['idmonth']; $datedate = $_POST['iddate']; $timetime = $_POST['idtime']; //fule // spetrol,petrol,diesel,sdiesel $spetrol = $_POST['spetrol']; $petrol = $_POST['petrol']; $diesel = $_POST['diesel']; $sdiesel = $_POST['sdiesel']; $addfin = new Employees_model(); $addfin->markfinish($empcode, $yearyear, $monthmonth, $datedate, $timetime, $spetrol, $petrol, $diesel, $sdiesel); }
public function addfinish() { $empcode = $_POST['idac']; $yearyear = $_POST['idyear']; $monthmonth = $_POST['idmonth']; $datedate = $_POST['iddate']; $timetime = $_POST['idtime']; $addfin = new Employees_model(); $addfin->markfinish($empcode, $yearyear, $monthmonth, $datedate, $timetime); }