| @@ -345,6 +345,8 @@ class Xero { | |||
| "IsExemptFromTax" => $e->getIsExemptFromTax(), | |||
| "IsExemptFromSuper"=> $e->getIsExemptFromSuper(), | |||
| "AccrueLeave" => $e->getAccrueLeave(), | |||
| "TypeOfUnits" => $e->getTypeOfUnits(), | |||
| "CurrentRecord"=> $e->getCurrentRecord(), | |||
| ); | |||
| } | |||
| } | |||
| @@ -590,6 +590,9 @@ class AcareOffice{ | |||
| $result = "<select> \n"; | |||
| $options = get_option('bts_payitem_earnings_rate'); | |||
| foreach($options as $o){ | |||
| if ($o['CurrentRecord'] !='true') | |||
| continue; | |||
| $result.=sprintf("<option value='%s'> $%3.2f-%s</option>", | |||
| $o['EarningsRateID'], $o['RatePerUnit'], $o['Name']); | |||
| } | |||