Conflicts: .idea/php.xml XeroOauth2.php XeroOauth2Sync.php ts.phpmaster
| <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" /> |
| $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(){ |