fix: complete InvesteMoz validation and error corrections
This commit is contained in:
@@ -33,6 +33,8 @@ final class IvaRationalDraftTest extends TestCase
|
||||
$this->assertSame(['numerator' => '20', 'denominator' => '21'], $second['rows'][0]['exact']['net']);
|
||||
$this->assertSame(['numerator' => '1', 'denominator' => '21'], $second['rows'][0]['exact']['vat']);
|
||||
$this->assertSame('0.047619', $second['rows'][0]['vat']);
|
||||
if (getenv('IVA_RATIONAL_RECOVERED')) file_put_contents(getenv('IVA_RATIONAL_RECOVERED'), json_encode($economic, JSON_THROW_ON_ERROR | JSON_UNESCAPED_UNICODE));
|
||||
if (getenv('IVA_RATIONAL_RECOVERED')) {
|
||||
file_put_contents(getenv('IVA_RATIONAL_RECOVERED'), json_encode($economic, JSON_THROW_ON_ERROR | JSON_UNESCAPED_UNICODE));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user