function sss_sched_delete($id = '') { $p = new Philhealth_sched(); $p->get_by_id($id); $p->delete(); return Redirect::to('payroll/remittance/philhealth_sched', 'refresh'); }
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; }