@@ -6,8 +6,8 @@ |
||
| 6 | 6 | |
| 7 | 7 | class VoucherDto extends Document\AbstractDocumentDto |
| 8 | 8 | { |
| 9 | - public Header|HeaderDto|null $header = null; |
|
| 9 | + public Header | HeaderDto | null $header = null; |
|
| 10 | 10 | /** @var array<Item|ItemDto> */ |
| 11 | 11 | public array $details = []; |
| 12 | - public Summary|SummaryDto|null $summary = null; |
|
| 12 | + public Summary | SummaryDto | null $summary = null; |
|
| 13 | 13 | } |
@@ -11,6 +11,6 @@ |
||
| 11 | 11 | public ?string $roundingVAT = null; |
| 12 | 12 | public ?string $calculateVAT = null; |
| 13 | 13 | public ?string $typeCalculateVATInclusivePrice = null; |
| 14 | - public Type\Dtos\CurrencyHomeDto|Type\CurrencyHome|null $homeCurrency = null; |
|
| 15 | - public Type\Dtos\CurrencyForeignDto|Type\CurrencyForeign|null $foreignCurrency = null; |
|
| 14 | + public Type\Dtos\CurrencyHomeDto | Type\CurrencyHome | null $homeCurrency = null; |
|
| 15 | + public Type\Dtos\CurrencyForeignDto | Type\CurrencyForeign | null $foreignCurrency = null; |
|
| 16 | 16 | } |
@@ -16,13 +16,13 @@ |
||
| 16 | 16 | public ?string $rateVAT = null; |
| 17 | 17 | public ?string $percentVAT = null; |
| 18 | 18 | public ?string $discountPercentage = null; |
| 19 | - public Type\Dtos\CurrencyItemDto|Type\CurrencyItem|null $homeCurrency = null; |
|
| 20 | - public Type\Dtos\CurrencyItemDto|Type\CurrencyItem|null $foreignCurrency = null; |
|
| 19 | + public Type\Dtos\CurrencyItemDto | Type\CurrencyItem | null $homeCurrency = null; |
|
| 20 | + public Type\Dtos\CurrencyItemDto | Type\CurrencyItem | null $foreignCurrency = null; |
|
| 21 | 21 | public ?string $typeServiceMOSS = null; |
| 22 | 22 | public ?string $note = null; |
| 23 | 23 | public ?string $code = null; |
| 24 | 24 | public ?string $symPar = null; |
| 25 | - public Type\Dtos\StockItemDto|Type\StockItem|null $stockItem = null; |
|
| 25 | + public Type\Dtos\StockItemDto | Type\StockItem | null $stockItem = null; |
|
| 26 | 26 | public ?string $accounting = null; |
| 27 | 27 | public ?string $classificationVAT = null; |
| 28 | 28 | public ?string $classificationKVDPH = null; |
@@ -19,20 +19,20 @@ |
||
| 19 | 19 | public ?string $number = null; |
| 20 | 20 | public ?string $originalDocument = null; |
| 21 | 21 | #[Attributes\Options\DateOption] |
| 22 | - public \DateTimeInterface|string|null $date = null; |
|
| 22 | + public \DateTimeInterface | string | null $date = null; |
|
| 23 | 23 | #[Attributes\Options\DateOption] |
| 24 | - public \DateTimeInterface|string|null $datePayment = null; |
|
| 24 | + public \DateTimeInterface | string | null $datePayment = null; |
|
| 25 | 25 | #[Attributes\Options\DateOption] |
| 26 | - public \DateTimeInterface|string|null $dateTax = null; |
|
| 26 | + public \DateTimeInterface | string | null $dateTax = null; |
|
| 27 | 27 | #[Attributes\Options\DateOption] |
| 28 | - public \DateTimeInterface|string|null $dateKHDPH = null; |
|
| 28 | + public \DateTimeInterface | string | null $dateKHDPH = null; |
|
| 29 | 29 | public ?string $accounting = null; |
| 30 | 30 | public ?string $classificationVAT = null; |
| 31 | 31 | public ?string $classificationKVDPH = null; |
| 32 | 32 | #[Attributes\Options\StringOption(240)] |
| 33 | 33 | public ?string $text = null; |
| 34 | - public Type\Dtos\AddressDto|Type\Address|null $partnerIdentity = null; |
|
| 35 | - public Type\Dtos\MyAddressDto|Type\MyAddress|null $myIdentity = null; |
|
| 34 | + public Type\Dtos\AddressDto | Type\Address | null $partnerIdentity = null; |
|
| 35 | + public Type\Dtos\MyAddressDto | Type\MyAddress | null $myIdentity = null; |
|
| 36 | 36 | #[Attributes\Options\StringOption(20)] |
| 37 | 37 | public ?string $symPar = null; |
| 38 | 38 | public ?string $priceLevel = null; |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | |
| 32 | 32 | // process suppliers |
| 33 | 33 | if (!empty($data->suppliers) && is_array($data->suppliers)) { |
| 34 | - $data->suppliers = \array_map(function (Supplier\SupplierItemDto $item) { |
|
| 34 | + $data->suppliers = \array_map(function(Supplier\SupplierItemDto $item) { |
|
| 35 | 35 | $supplierItem = new Supplier\SupplierItem($this->dependenciesFactory); |
| 36 | 36 | $supplierItem |
| 37 | 37 | ->setDirectionalVariable($this->useOneDirectionalVariables) |
@@ -11,14 +11,14 @@ discard block |
||
| 11 | 11 | #[Attributes\RefElement] |
| 12 | 12 | public ?string $number = null; |
| 13 | 13 | #[Attributes\Options\DateOption] |
| 14 | - public \DateTimeInterface|string|null $date = null; |
|
| 14 | + public \DateTimeInterface | string | null $date = null; |
|
| 15 | 15 | #[Attributes\Options\StringOption(32)] |
| 16 | 16 | public ?string $numberOrder = null; |
| 17 | 17 | #[Attributes\Options\DateOption] |
| 18 | - public \DateTimeInterface|string|null $dateOrder = null; |
|
| 18 | + public \DateTimeInterface | string | null $dateOrder = null; |
|
| 19 | 19 | #[Attributes\Options\StringOption(240)] |
| 20 | 20 | public ?string $text = null; |
| 21 | - public Type\Dtos\AddressDto|Type\Address|null $partnerIdentity = null; |
|
| 21 | + public Type\Dtos\AddressDto | Type\Address | null $partnerIdentity = null; |
|
| 22 | 22 | #[Attributes\Options\StringOption(9)] |
| 23 | 23 | public ?string $acc = null; |
| 24 | 24 | #[Attributes\Options\StringOption(20)] |
@@ -28,14 +28,14 @@ discard block |
||
| 28 | 28 | #[Attributes\RefElement] |
| 29 | 29 | public ?string $paymentType = null; |
| 30 | 30 | #[Attributes\Options\BooleanOption] |
| 31 | - public bool|string|null $isExecuted = null; |
|
| 31 | + public bool | string | null $isExecuted = null; |
|
| 32 | 32 | #[Attributes\Options\BooleanOption] |
| 33 | - public bool|string|null $isDelivered = null; |
|
| 33 | + public bool | string | null $isDelivered = null; |
|
| 34 | 34 | #[Attributes\RefElement] |
| 35 | 35 | public ?string $centre = null; |
| 36 | 36 | /** @var array<string, string|int|float|bool|array<string, string|int|float|bool>>|string|null */ |
| 37 | 37 | #[Attributes\RefElement] |
| 38 | - public array|string|null $activity = null; |
|
| 38 | + public array | string | null $activity = null; |
|
| 39 | 39 | #[Attributes\RefElement] |
| 40 | 40 | public ?string $contract = null; |
| 41 | 41 | #[Attributes\RefElement] |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | public ?string $note = null; |
| 51 | 51 | public ?string $intNote = null; |
| 52 | 52 | #[Attributes\Options\BooleanOption] |
| 53 | - public bool|string|null $histRate = null; |
|
| 53 | + public bool | string | null $histRate = null; |
|
| 54 | 54 | /** @var array<Type\Parameter|Type\Dtos\ParameterDto> */ |
| 55 | 55 | public array $parameters = []; |
| 56 | 56 | } |
@@ -7,10 +7,10 @@ |
||
| 7 | 7 | |
| 8 | 8 | class IssueSlipDto extends Document\AbstractDocumentDto |
| 9 | 9 | { |
| 10 | - public Header|HeaderDto|null $header = null; |
|
| 10 | + public Header | HeaderDto | null $header = null; |
|
| 11 | 11 | /** @var array<Item|ItemDto> */ |
| 12 | 12 | public array $details = []; |
| 13 | 13 | /** @var array<Type\Link|Type\Dtos\LinkDto> */ |
| 14 | 14 | public array $links = []; |
| 15 | - public Summary|SummaryDto|null $summary = null; |
|
| 15 | + public Summary | SummaryDto | null $summary = null; |
|
| 16 | 16 | } |
@@ -12,6 +12,6 @@ |
||
| 12 | 12 | public ?string $roundingDocument = null; |
| 13 | 13 | #[Attributes\Options\ListOption(['none'])] |
| 14 | 14 | public ?string $roundingVAT = null; |
| 15 | - public Type\Dtos\CurrencyHomeDto|Type\CurrencyHome|null $homeCurrency = null; |
|
| 16 | - public Type\Dtos\CurrencyForeignDto|Type\CurrencyForeign|null $foreignCurrency = null; |
|
| 15 | + public Type\Dtos\CurrencyHomeDto | Type\CurrencyHome | null $homeCurrency = null; |
|
| 16 | + public Type\Dtos\CurrencyForeignDto | Type\CurrencyForeign | null $foreignCurrency = null; |
|
| 17 | 17 | } |
@@ -6,8 +6,8 @@ |
||
| 6 | 6 | |
| 7 | 7 | class BankDto extends Document\AbstractDocumentDto |
| 8 | 8 | { |
| 9 | - public Header|HeaderDto|null $header = null; |
|
| 9 | + public Header | HeaderDto | null $header = null; |
|
| 10 | 10 | /** @var array<Item|ItemDto> */ |
| 11 | 11 | public array $details = []; |
| 12 | - public Summary|SummaryDto|null $summary = null; |
|
| 12 | + public Summary | SummaryDto | null $summary = null; |
|
| 13 | 13 | } |