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
+2 -1
View File
@@ -1,4 +1,5 @@
<?php
namespace Tests\Feature;
use App\Models\User;
@@ -31,7 +32,7 @@ final class IvaSpecialRegimeDraftTest extends TestCase
$this->assertSame('2026-12', $book['result']['periods'][0]['period']);
$this->assertSame('600.00', $book['result']['periods'][0]['fields']['05']);
$this->assertCount(6, $book['rows']);
$this->assertSame(['economic_zone','customs_warehouse','free_zone','duty_free_shop','transit','temporary_import'], array_column($book['rows'], 'specialRegime'));
$this->assertSame(['economic_zone', 'customs_warehouse', 'free_zone', 'duty_free_shop', 'transit', 'temporary_import'], array_column($book['rows'], 'specialRegime'));
foreach ($book['result']['rows'] as $row) {
$this->assertSame('05', $row['field']);
$this->assertSame('0.00', $row['vat']);