@@ -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 | { |
@@ -99,7 +99,7 @@ |
||
99 | 99 | use Persistance\Storable; |
100 | 100 | |
101 | 101 | protected $fillable = [ |
102 | - 'Barcode', |
|
102 | + 'Barcode', |
|
103 | 103 | 'ID', |
104 | 104 | 'Class_01', |
105 | 105 | 'Class_02', |
@@ -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"; |
@@ -31,22 +31,22 @@ |
||
31 | 31 | protected $primaryKey = 'HID'; |
32 | 32 | |
33 | 33 | protected $fillable = [ |
34 | - 'AccountCode', |
|
35 | - 'AccountId', |
|
36 | - 'AccountName', |
|
37 | - 'Amount', |
|
38 | - 'AmountInTransit', |
|
39 | - 'CurrencyCode', |
|
40 | - 'Description', |
|
41 | - 'DueDate', |
|
42 | - 'EntryNumber', |
|
43 | - 'HID', |
|
44 | - 'Id', |
|
45 | - 'InvoiceDate', |
|
46 | - 'InvoiceNumber', |
|
47 | - 'JournalCode', |
|
48 | - 'JournalDescription', |
|
49 | - 'YourRef' |
|
34 | + 'AccountCode', |
|
35 | + 'AccountId', |
|
36 | + 'AccountName', |
|
37 | + 'Amount', |
|
38 | + 'AmountInTransit', |
|
39 | + 'CurrencyCode', |
|
40 | + 'Description', |
|
41 | + 'DueDate', |
|
42 | + 'EntryNumber', |
|
43 | + 'HID', |
|
44 | + 'Id', |
|
45 | + 'InvoiceDate', |
|
46 | + 'InvoiceNumber', |
|
47 | + 'JournalCode', |
|
48 | + 'JournalDescription', |
|
49 | + 'YourRef' |
|
50 | 50 | ]; |
51 | 51 | |
52 | 52 | protected $url = 'read/financial/ReceivablesList'; |
@@ -29,8 +29,6 @@ |
||
29 | 29 | * @property DateTime $StartDate Together with EndDate this determines whether the price is active |
30 | 30 | * @property String $Unit The unit code of the price |
31 | 31 | * @property String $UnitDescription Description of the price unit |
32 | - |
|
33 | - |
|
34 | 32 | */ |
35 | 33 | class SalesItemPrice extends Model |
36 | 34 | { |
@@ -33,23 +33,23 @@ |
||
33 | 33 | protected $primaryKey = 'CurrentYear'; |
34 | 34 | |
35 | 35 | protected $fillable = [ |
36 | - 'CostsCurrentPeriod', |
|
37 | - 'CostsCurrentYear', |
|
38 | - 'CostsPreviousYear', |
|
39 | - 'CostsPreviousYearPeriod', |
|
40 | - 'CurrencyCode', |
|
41 | - 'CurrentYear', |
|
42 | - 'CurrentPeriod', |
|
43 | - 'PreviousYear', |
|
44 | - 'PreviousYearPeriod', |
|
45 | - 'ResultCurrentPeriod', |
|
46 | - 'ResultCurrentYear', |
|
47 | - 'ResultPreviousYear', |
|
48 | - 'ResultPreviousYearPeriod', |
|
49 | - 'RevenueCurrentPeriod', |
|
50 | - 'RevenueCurrentYear', |
|
51 | - 'RevenuePreviousYear', |
|
52 | - 'RevenuePreviousPeriod' |
|
36 | + 'CostsCurrentPeriod', |
|
37 | + 'CostsCurrentYear', |
|
38 | + 'CostsPreviousYear', |
|
39 | + 'CostsPreviousYearPeriod', |
|
40 | + 'CurrencyCode', |
|
41 | + 'CurrentYear', |
|
42 | + 'CurrentPeriod', |
|
43 | + 'PreviousYear', |
|
44 | + 'PreviousYearPeriod', |
|
45 | + 'ResultCurrentPeriod', |
|
46 | + 'ResultCurrentYear', |
|
47 | + 'ResultPreviousYear', |
|
48 | + 'ResultPreviousYearPeriod', |
|
49 | + 'RevenueCurrentPeriod', |
|
50 | + 'RevenueCurrentYear', |
|
51 | + 'RevenuePreviousYear', |
|
52 | + 'RevenuePreviousPeriod' |
|
53 | 53 | ]; |
54 | 54 | |
55 | 55 | protected $url = 'read/financial/ProfitLossOverview'; |
@@ -17,7 +17,7 @@ |
||
17 | 17 | use Persistance\Storable; |
18 | 18 | |
19 | 19 | protected $fillable = [ |
20 | - 'ID', |
|
20 | + 'ID', |
|
21 | 21 | 'CallbackURL', |
22 | 22 | 'Topic' |
23 | 23 | ]; |
@@ -93,8 +93,8 @@ |
||
93 | 93 | |
94 | 94 | |
95 | 95 | /** |
96 | - * @var |
|
97 | - */ |
|
96 | + * @var |
|
97 | + */ |
|
98 | 98 | public $nextUrl = null; |
99 | 99 | |
100 | 100 | /** |