mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Fix for tests
This commit is contained in:
parent
01329e846f
commit
1c4a60f2be
@ -2420,7 +2420,8 @@ $LANG = array(
|
||||
'gateway' => 'Gateway',
|
||||
'gateway_fee_change_warning' => 'If there are unpaid invoices with fees they need to be removed to prevent duplicate fees from being charged.',
|
||||
'fees_surcharge_help' => 'Customize surcharge :link.',
|
||||
'label_and_taxes' => 'label and taxes'
|
||||
'label_and_taxes' => 'label and taxes',
|
||||
'billable' => 'Billable',
|
||||
|
||||
);
|
||||
|
||||
|
@ -78,8 +78,8 @@
|
||||
|
||||
@if (!$expense || ($expense && !$expense->invoice_id && !$expense->client_id))
|
||||
{!! Former::checkbox('should_be_invoiced')
|
||||
->text(trans('texts.should_be_invoiced'))
|
||||
->data_bind('checked: should_be_invoiced() || client_id(), enable: !client_id()')
|
||||
->text(trans('texts.billable'))
|
||||
->data_bind('checked: should_be_invoiced')
|
||||
->label(' ')
|
||||
->value(1) !!}
|
||||
@endif
|
||||
|
@ -63,7 +63,7 @@ class TaxRatesCest
|
||||
$I->selectDropdown($I, $clientEmail, '.client_select .dropdown-toggle');
|
||||
$I->fillField('table.invoice-table tbody tr:nth-child(1) #product_key', $productKey);
|
||||
$I->click('table.invoice-table tbody tr:nth-child(1) .tt-selectable');
|
||||
$I->selectOption('#taxRateSelect1', $invoiceTaxName . ' ' . $invoiceTaxRate . '%');
|
||||
$I->selectOption('#taxRateSelect1', $invoiceTaxName . ' ' . floatval($invoiceTaxRate) . '%');
|
||||
$I->wait(3);
|
||||
|
||||
// check total is right before saving
|
||||
|
Loading…
Reference in New Issue
Block a user