@@ -15,7 +15,6 @@ |
||
| 15 | 15 | * @property Byte $Main Indicates the main unit per division. Will be used when creating new item |
| 16 | 16 | * @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 |
| 17 | 17 | * @property String $Type Type 'Time' is especially important for contracts. |
| 18 | - |
|
| 19 | 18 | */ |
| 20 | 19 | class Units extends Model |
| 21 | 20 | {
|
@@ -5,7 +5,7 @@ |
||
| 5 | 5 | |
| 6 | 6 | public function find($id) |
| 7 | 7 | { |
| 8 | - $filter = $this->primaryKey . " eq guid'$id'"; |
|
| 8 | + $filter = $this->primaryKey . " eq guid'$id'"; |
|
| 9 | 9 | |
| 10 | 10 | if ($this->primaryKey === 'Code') { |
| 11 | 11 | $filter = $this->primaryKey . " eq $id"; |
@@ -94,8 +94,8 @@ |
||
| 94 | 94 | protected $middleWares = []; |
| 95 | 95 | |
| 96 | 96 | /** |
| 97 | - * @var |
|
| 98 | - */ |
|
| 97 | + * @var |
|
| 98 | + */ |
|
| 99 | 99 | public $nextUrl = null; |
| 100 | 100 | |
| 101 | 101 | /** |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | use Persistance\Storable; |
| 19 | 19 | |
| 20 | 20 | protected $fillable = [ |
| 21 | - 'ID', |
|
| 21 | + 'ID', |
|
| 22 | 22 | 'CallbackURL', |
| 23 | 23 | 'Topic', |
| 24 | 24 | ]; |
@@ -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'; |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | ]; |
| 28 | 28 | |
| 29 | 29 | $res = $client->get($uri, [ |
| 30 | - 'headers' => $headers |
|
| 30 | + 'headers' => $headers |
|
| 31 | 31 | ]); |
| 32 | 32 | |
| 33 | 33 | return $res->getBody(); |