Beispiel #1
0
 function sss_sched_delete($id = '')
 {
     $p = new Philhealth_sched();
     $p->get_by_id($id);
     $p->delete();
     return Redirect::to('payroll/remittance/philhealth_sched', 'refresh');
 }
Beispiel #2
0
 function phil_health_deductions()
 {
     $p = new Philhealth_sched();
     $amount = $p->get_amount($this->monthly_salary, $this->share);
     $this->add_deductions($this->share, $amount);
     // add up deductions
     return $amount;
 }