mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Working on tests
This commit is contained in:
parent
12c7b8ab9f
commit
ec613b1d90
@ -20,7 +20,7 @@ class InvoiceItemTransformer extends EntityTransformer
|
||||
'tax_rate1' => (float) $item->tax_rate1,
|
||||
'tax_name2' => $item->tax_name2 ? $item->tax_name2 : '',
|
||||
'tax_rate2' => (float) $item->tax_rate2,
|
||||
'invoice_item_type_id' => (int) $this->invoice_item_type_id,
|
||||
'invoice_item_type_id' => (int) $item->invoice_item_type_id,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
@ -82,6 +82,7 @@ class GatewayFeesCest
|
||||
private function configureLineItemTaxRates($I, $taxName, $taxRate)
|
||||
{
|
||||
$taxOption = $taxName . ': ' . number_format($taxRate, 3) . '%';
|
||||
$I->createTaxRate($I, $taxName, $taxRate);
|
||||
|
||||
// set the gateway fee to use line items
|
||||
$I->amOnPage('/settings/online_payments#fees');
|
||||
|
Loading…
x
Reference in New Issue
Block a user