ソースを参照

bug fix timesheet sync

master
sp 4年前
コミット
54c37ddd75
1個のファイルの変更2行の追加0行の削除
  1. +2
    -0
      XeroOauth2Timesheet.php

+ 2
- 0
XeroOauth2Timesheet.php ファイルの表示

$ts->setStatus(\XeroAPI\XeroPHP\Models\PayrollAu\TimesheetStatus::DRAFT); $ts->setStatus(\XeroAPI\XeroPHP\Models\PayrollAu\TimesheetStatus::DRAFT);
} }
//adding lines //adding lines
$tsLines = [];
foreach ($rateshours as $rateId => $hours) foreach ($rateshours as $rateId => $hours)
{ {
$ts_line = new \XeroAPI\XeroPHP\Models\PayrollAu\TimesheetLine; $ts_line = new \XeroAPI\XeroPHP\Models\PayrollAu\TimesheetLine;
} }
} }
$this->apiPayrollAu->createTimesheet($this->oauth2->getTenantId(),$to_save); $this->apiPayrollAu->createTimesheet($this->oauth2->getTenantId(),$to_save);
return;
} }


public function approve_all(){ public function approve_all(){

読み込み中…
キャンセル
保存