Explorar el Código

remove non-hours rate from timesheet

master
patrick hace 6 años
padre
commit
554933af84
Se han modificado 2 ficheros con 5 adiciones y 0 borrados
  1. +2
    -0
      Xero.php
  2. +3
    -0
      ts.php

+ 2
- 0
Xero.php Ver fichero

@@ -345,6 +345,8 @@ class Xero {
"IsExemptFromTax" => $e->getIsExemptFromTax(),
"IsExemptFromSuper"=> $e->getIsExemptFromSuper(),
"AccrueLeave" => $e->getAccrueLeave(),
"TypeOfUnits" => $e->getTypeOfUnits(),
"CurrentRecord"=> $e->getCurrentRecord(),
);
}
}

+ 3
- 0
ts.php Ver fichero

@@ -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']);
}

Cargando…
Cancelar
Guardar