fix: complete InvesteMoz validation and error corrections

This commit is contained in:
2026-10-29 21:47:33 +02:00
parent 63147312e2
commit daf8623441
718 changed files with 127308 additions and 20959 deletions
@@ -1,4 +1,5 @@
<?php
namespace Tests\Feature;
use App\Models\User;
@@ -31,7 +32,7 @@ final class IvaExportBeneficiaryDraftTest extends TestCase
$this->assertSame('2026-12', $book['result']['periods'][0]['period']);
$this->assertSame('400.00', $book['result']['periods'][0]['fields']['05']);
$this->assertCount(4, $book['rows']);
$this->assertSame(['export_nonresident_buyer','export_diplomatic_mission','export_international_organisation','export_humanitarian_organisation'], array_column($book['rows'], 'treatment'));
$this->assertSame(['export_nonresident_buyer', 'export_diplomatic_mission', 'export_international_organisation', 'export_humanitarian_organisation'], array_column($book['rows'], 'treatment'));
foreach ($book['result']['rows'] as $row) {
$this->assertSame('05', $row['field']);
$this->assertSame('0.00', $row['vat']);