Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
RhysLees committed Dec 12, 2023
1 parent 8d37c72 commit 6824328
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Dto/Taxes/TaxDTO.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ public function __construct(
public string $uuid,
public string $name,
public string $code,
public string $digit,
public string $type,
public int $account_id,
public string $tax_settlement_type,
public float $value,
public bool $is_active,
public string $display_name,
public ?string $digit = null,
public ?int $start_year = null,
public ?int $end_year = null,
public mixed $net_tax_value = null,
Expand Down Expand Up @@ -49,13 +49,13 @@ public static function fromArray(array $data): self
uuid: Arr::get($data, 'uuid'),
name: Arr::get($data, 'name'),
code: Arr::get($data, 'code'),
digit: Arr::get($data, 'digit'),
type: Arr::get($data, 'type'),
account_id: Arr::get($data, 'account_id'),
tax_settlement_type: Arr::get($data, 'tax_settlement_type'),
value: Arr::get($data, 'value'),
is_active: Arr::get($data, 'is_active'),
display_name: Arr::get($data, 'display_name'),
digit: Arr::get($data, 'digit'),
start_year: Arr::get($data, 'start_year'),
end_year: Arr::get($data, 'end_year'),
net_tax_value: Arr::get($data, 'net_tax_value'),
Expand Down

0 comments on commit 6824328

Please sign in to comment.