mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 13:24:30 -04:00
Fix for tax rates test
This commit is contained in:
parent
a31d8b8176
commit
ad12557c78
@ -1062,6 +1062,7 @@ $LANG = array(
|
|||||||
'invalid_card_number' => 'The credit card number is not valid.',
|
'invalid_card_number' => 'The credit card number is not valid.',
|
||||||
'invalid_expiry' => 'The expiration date is not valid.',
|
'invalid_expiry' => 'The expiration date is not valid.',
|
||||||
'invalid_cvv' => 'The CVV is not valid.',
|
'invalid_cvv' => 'The CVV is not valid.',
|
||||||
|
'cost' => 'Cost',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -30,8 +30,8 @@ class TaxRatesCest
|
|||||||
$total += round($itemCost * $itemTaxRate / 100, 2);
|
$total += round($itemCost * $itemTaxRate / 100, 2);
|
||||||
$total += round($itemCost * $invoiceTaxRate / 100, 2);
|
$total += round($itemCost * $invoiceTaxRate / 100, 2);
|
||||||
|
|
||||||
$itemTaxRate = number_format($itemTaxRate, 2);
|
$itemTaxRate = number_format($itemTaxRate, 3);
|
||||||
$invoiceTaxRate = number_format($invoiceTaxRate, 2);
|
$invoiceTaxRate = number_format($invoiceTaxRate, 3);
|
||||||
|
|
||||||
// create tax rates
|
// create tax rates
|
||||||
$I->amOnPage('/tax_rates/create');
|
$I->amOnPage('/tax_rates/create');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user