@@ -8,5 +8,5 @@ |
||
| 8 | 8 | class FilterDto extends AbstractDto |
| 9 | 9 | { |
| 10 | 10 | #[Attributes\Options\IntegerOption] |
| 11 | - public int|string|null $id = null; |
|
| 11 | + public int | string | null $id = null; |
|
| 12 | 12 | } |
@@ -6,8 +6,8 @@ |
||
| 6 | 6 | |
| 7 | 7 | class PrinterSettingsDto extends Dtos\AbstractDto |
| 8 | 8 | { |
| 9 | - public Report|ReportDto|null $report = null; |
|
| 9 | + public Report | ReportDto | null $report = null; |
|
| 10 | 10 | public ?string $printer = null; |
| 11 | - public Pdf|PdfDto|null $pdf = null; |
|
| 12 | - public Parameters|ParametersDto|null $parameters = null; |
|
| 11 | + public Pdf | PdfDto | null $pdf = null; |
|
| 12 | + public Parameters | ParametersDto | null $parameters = null; |
|
| 13 | 13 | } |
@@ -10,5 +10,5 @@ |
||
| 10 | 10 | #[Attributes\JustAttribute, Attributes\Options\RequiredOption] |
| 11 | 11 | public ?string $agenda = null; |
| 12 | 12 | #[Attributes\Options\RequiredOption] |
| 13 | - public FilterDto|Filter|null $filter = null; |
|
| 13 | + public FilterDto | Filter | null $filter = null; |
|
| 14 | 14 | } |
@@ -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,28 +11,28 @@ |
||
| 11 | 11 | #[Attributes\Options\StringOption(90)] |
| 12 | 12 | public ?string $text = null; |
| 13 | 13 | #[Attributes\Options\FloatOption] |
| 14 | - public float|string|null $quantity = null; |
|
| 14 | + public float | string | null $quantity = null; |
|
| 15 | 15 | #[Attributes\Options\StringOption(10)] |
| 16 | 16 | public ?string $unit = null; |
| 17 | 17 | #[Attributes\Options\FloatOption] |
| 18 | - public float|string|null $coefficient = null; |
|
| 18 | + public float | string | null $coefficient = null; |
|
| 19 | 19 | #[Attributes\Options\BooleanOption] |
| 20 | - public bool|string|null $payVAT = null; |
|
| 20 | + public bool | string | null $payVAT = null; |
|
| 21 | 21 | #[Attributes\Options\ListOption(['none', 'high', 'low', 'third', 'historyHigh', 'historyLow', 'historyThird'])] |
| 22 | 22 | public ?string $rateVAT = null; |
| 23 | 23 | #[Attributes\Options\FloatOption] |
| 24 | - public float|string|null $percentVAT = null; |
|
| 24 | + public float | string | null $percentVAT = null; |
|
| 25 | 25 | #[Attributes\Options\FloatOption] |
| 26 | - public float|string|null $discountPercentage = null; |
|
| 27 | - public Type\Dtos\CurrencyItemDto|Type\CurrencyItem|null $homeCurrency = null; |
|
| 28 | - public Type\Dtos\CurrencyItemDto|Type\CurrencyItem|null $foreignCurrency = null; |
|
| 26 | + public float | string | null $discountPercentage = null; |
|
| 27 | + public Type\Dtos\CurrencyItemDto | Type\CurrencyItem | null $homeCurrency = null; |
|
| 28 | + public Type\Dtos\CurrencyItemDto | Type\CurrencyItem | null $foreignCurrency = null; |
|
| 29 | 29 | #[Attributes\RefElement] |
| 30 | 30 | public ?string $typeServiceMOSS = null; |
| 31 | 31 | #[Attributes\Options\StringOption(90)] |
| 32 | 32 | public ?string $note = null; |
| 33 | 33 | #[Attributes\Options\StringOption(64)] |
| 34 | 34 | public ?string $code = null; |
| 35 | - public Type\Dtos\StockItemDto|Type\StockItem|null $stockItem = null; |
|
| 35 | + public Type\Dtos\StockItemDto | Type\StockItem | null $stockItem = null; |
|
| 36 | 36 | #[Attributes\RefElement] |
| 37 | 37 | public ?string $centre = null; |
| 38 | 38 | #[Attributes\RefElement] |