1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Working on tests

This commit is contained in:
Hillel Coren 2018-03-08 11:37:20 +02:00
parent d39ef0bf94
commit 8845adaddc
2 changed files with 2 additions and 10 deletions

View File

@ -911,6 +911,7 @@
@endif
@if (isset($tasks) && count($tasks))
NINJA.formIsChanged = true;
var tasks = {!! json_encode($tasks) !!};
for (var i=0; i<tasks.length; i++) {
var task = tasks[i];
@ -925,6 +926,7 @@
@endif
@if (isset($expenses) && $expenses->count())
NINJA.formIsChanged = true;
model.expense_currency_id({{ isset($expenseCurrencyId) ? $expenseCurrencyId : 0 }});
// move the blank invoice line item to the end
@ -1085,14 +1087,6 @@
client.public_id(),
client.name.display());
@if (isset($tasks) && $tasks)
NINJA.formIsChanged = true;
@endif
@if (isset($expenses) && $expenses)
NINJA.formIsChanged = true;
@endif
applyComboboxListeners();
@if (Auth::user()->account->hasFeature(FEATURE_DOCUMENTS))

View File

@ -141,12 +141,10 @@ class TaxRatesCest
// check total is right in list view
$I->see("\${$total}");
/*
// enable line item taxes
$I->amOnPage('/settings/tax_rates');
$I->selectOption('#tax_select1', '');
$I->click('Save');
*/
}
}