@@ -32,22 +32,22 @@ |
||
| 32 | 32 | protected $primaryKey = 'HID'; |
| 33 | 33 | |
| 34 | 34 | protected $fillable = [ |
| 35 | - 'AccountCode', |
|
| 36 | - 'AccountId', |
|
| 37 | - 'AccountName', |
|
| 38 | - 'Amount', |
|
| 39 | - 'AmountInTransit', |
|
| 40 | - 'CurrencyCode', |
|
| 41 | - 'Description', |
|
| 42 | - 'DueDate', |
|
| 43 | - 'EntryNumber', |
|
| 44 | - 'HID', |
|
| 45 | - 'Id', |
|
| 46 | - 'InvoiceDate', |
|
| 47 | - 'InvoiceNumber', |
|
| 48 | - 'JournalCode', |
|
| 49 | - 'JournalDescription', |
|
| 50 | - 'YourRef', |
|
| 35 | + 'AccountCode', |
|
| 36 | + 'AccountId', |
|
| 37 | + 'AccountName', |
|
| 38 | + 'Amount', |
|
| 39 | + 'AmountInTransit', |
|
| 40 | + 'CurrencyCode', |
|
| 41 | + 'Description', |
|
| 42 | + 'DueDate', |
|
| 43 | + 'EntryNumber', |
|
| 44 | + 'HID', |
|
| 45 | + 'Id', |
|
| 46 | + 'InvoiceDate', |
|
| 47 | + 'InvoiceNumber', |
|
| 48 | + 'JournalCode', |
|
| 49 | + 'JournalDescription', |
|
| 50 | + 'YourRef', |
|
| 51 | 51 | ]; |
| 52 | 52 | |
| 53 | 53 | protected $url = 'read/financial/ReceivablesList'; |
@@ -94,8 +94,8 @@ |
||
| 94 | 94 | protected $middleWares = []; |
| 95 | 95 | |
| 96 | 96 | /** |
| 97 | - * @var string|null |
|
| 98 | - */ |
|
| 97 | + * @var string|null |
|
| 98 | + */ |
|
| 99 | 99 | public $nextUrl = null; |
| 100 | 100 | |
| 101 | 101 | /** |
@@ -23,15 +23,15 @@ |
||
| 23 | 23 | use Query\Findable; |
| 24 | 24 | |
| 25 | 25 | protected $fillable = [ |
| 26 | - 'ID', |
|
| 27 | - 'Created', |
|
| 28 | - 'Description', |
|
| 29 | - 'DocumentIsCreatable', |
|
| 30 | - 'DocumentIsDeletable', |
|
| 31 | - 'DocumentIsUpdatable', |
|
| 32 | - 'DocumentIsViewable', |
|
| 33 | - 'Modified', |
|
| 34 | - 'TypeCategory' |
|
| 26 | + 'ID', |
|
| 27 | + 'Created', |
|
| 28 | + 'Description', |
|
| 29 | + 'DocumentIsCreatable', |
|
| 30 | + 'DocumentIsDeletable', |
|
| 31 | + 'DocumentIsUpdatable', |
|
| 32 | + 'DocumentIsViewable', |
|
| 33 | + 'Modified', |
|
| 34 | + 'TypeCategory' |
|
| 35 | 35 | ]; |
| 36 | 36 | |
| 37 | 37 | protected $url = 'documents/DocumentTypes'; |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | * @property int $Main Indicates the main unit per division. Will be used when creating new item |
| 17 | 17 | * @property string $TimeUnit If Type = 'T' (time) then this fields indicates the type of time frame. yy = Year, mm = Month, wk = Week, dd = Day, hh = Hour, mi = Minute, ss = Second |
| 18 | 18 | * @property string $Type Type 'Time' is especially important for contracts. |
| 19 | - |
|
| 20 | 19 | */ |
| 21 | 20 | class Units extends Model |
| 22 | 21 | {
|
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | ]; |
| 31 | 31 | |
| 32 | 32 | $res = $client->get($this->getDownloadUrl(), [ |
| 33 | - 'headers' => $headers |
|
| 33 | + 'headers' => $headers |
|
| 34 | 34 | ]); |
| 35 | 35 | |
| 36 | 36 | return $res->getBody(); |