Преглед на файлове

Merge branch 'master' of github.com:lawipac/acare_ts

 Conflicts:
	.idea/php.xml
	XeroOauth2.php
	XeroOauth2Sync.php
	ts.php
master
sp преди 3 години
родител
ревизия
71c61a653c
променени са 2 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. +1
    -3
      .idea/php.xml
  2. +2
    -0
      XeroOauth2Timesheet.php

+ 1
- 3
.idea/php.xml Целия файл

<path value="$PROJECT_DIR$/xero-php-master/vendor/phpdocumentor/reflection-common" /> <path value="$PROJECT_DIR$/xero-php-master/vendor/phpdocumentor/reflection-common" />
</include_path> </include_path>
</component> </component>
<component name="PhpProjectSharedConfiguration" php_language_level="7.0">
<option name="suggestChangeDefaultLanguageLevel" value="false" />
</component>
<component name="PhpProjectSharedConfiguration" php_language_level="5.5.0" />
<component name="PhpUnit"> <component name="PhpUnit">
<phpunit_settings> <phpunit_settings>
<PhpUnitSettings custom_loader_path="$PROJECT_DIR$/xero-php-master/vendor/autoload.php" /> <PhpUnitSettings custom_loader_path="$PROJECT_DIR$/xero-php-master/vendor/autoload.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(){

Loading…
Отказ
Запис