diff --git a/public/js/gcharts.options.js b/public/js/gcharts.options.js index e93206f858..f3430605ba 100644 --- a/public/js/gcharts.options.js +++ b/public/js/gcharts.options.js @@ -90,7 +90,7 @@ var defaultBarChartOptions = { colors: ["#4285f4", "#db4437", "#f4b400", "#0f9d58", "#ab47bc", "#00acc1", "#ff7043", "#9e9d24", "#5c6bc0", "#f06292", "#00796b", "#c2185b"], vAxis: { textStyle: { - color: '#838383', + color: '#838383' }, textPosition: 'in', gridlines: { @@ -148,7 +148,7 @@ var defaultColumnChartOptions = { fontSize: 11, hAxis: { textStyle: { - color: '#838383', + color: '#838383' }, gridlines: { color: 'transparent' @@ -159,7 +159,7 @@ var defaultColumnChartOptions = { colors: ["#357ca5", "#008d4c", "#db8b0b", "#ca195a", "#555299", "#4285f4", "#db4437", "#f4b400", "#0f9d58", "#ab47bc", "#00acc1", "#ff7043", "#9e9d24", "#5c6bc0", "#f06292", "#00796b", "#c2185b"], vAxis: { textStyle: { - color: '#838383', + color: '#838383' }, baselineColor: '#aaaaaa', format: '\u20AC #' diff --git a/resources/twig/budgets/create.twig b/resources/twig/budgets/create.twig index fec9f883bc..6af4450dfe 100644 --- a/resources/twig/budgets/create.twig +++ b/resources/twig/budgets/create.twig @@ -6,44 +6,35 @@ {% block content %} {{ Form.open({'class' : 'form-horizontal','id' : 'store','url' : route('budgets.store')}) }} -
- -
- {{ trans('form.permDeleteWarning') }} -
-- {{ trans('form.budget_areYouSure', {'name': budget.name}) }} -
+ {{ Form.open({'class' : 'form-horizontal','id' : 'destroy','url' : route('budgets.destroy',budget.id) }) }} ++ {{ trans('form.permDeleteWarning') }} +
-- - {{ trans('form.cancel') }} -
++ {{ trans('form.budget_areYouSure', {'name': budget.name}) }} +
-- {% if budget.transactionjournals|length > 0 %} - {{ Lang.choice('form.budget_keep_transactions', budget.transactionjournals|length, {count: budget.transactionjournals|length}) }} - {% endif %} -
-+ {% if budget.transactionjournals|length > 0 %} + {{ Lang.choice('form.budget_keep_transactions', budget.transactionjournals|length, {count: budget.transactionjournals|length}) }} + {% endif %} +
+ +- -
-@@ -64,7 +83,6 @@
| {{ 'budgeted'|_ }} | -
-
-
- {{ defaultCurrency.symbol|raw }}
-
-
+
+
|
+ ||||
| {{ 'spent'|_ }} | +{{ budget.spent|formatAmount }} | +
- {{ trans('form.permDeleteWarning') }} -
-- {{ trans('form.category_areYouSure', {'name': category.name}) }} -
- -- - {{ trans('form.cancel') }} -
-- {% if category.transactionjournals|length > 0 %} - {{ Lang.choice('form.category_keep_transactions', category.transactionjournals|length, {count: category.transactionjournals|length}) }} - {% endif %} -
+ {{ Form.open({'class' : 'form-horizontal','id' : 'destroy','url' : route('categories.destroy',category.id)}) }} ++ {{ trans('form.permDeleteWarning') }} +
++ {{ trans('form.category_areYouSure', {'name': category.name}) }} +
++ {% if category.transactionjournals|length > 0 %} + {{ Lang.choice('form.category_keep_transactions', category.transactionjournals|length, {count: category.transactionjournals|length}) }} + {% endif %} +
+- -
-