'settings'
+ ],
+ $field['attributes'])
+ ) }}
@elseif ($type == 'textareaGroup')
{{ Form::$type('settings[' . $field['name'] . ']', $field['title']) }}
@elseif ($type == 'selectGroup')
- {{ Form::$type('settings[' . $field['name'] . ']', $field['title'], $field['icon'], $field['values'], $field['selected'], $field['attributes']) }}
+ {{ Form::$type($field['name'], $field['title'], $field['icon'], $field['values'], $field['selected'], array_merge([
+ 'data-field' => 'settings'
+ ],
+ $field['attributes'])
+ ) }}
@elseif ($type == 'radioGroup')
- {{ Form::$type('settings[' . $field['name'] . ']', $field['title'], 1, $field['enable'], $field['disable'], $field['attributes']) }}
+ {{ Form::$type('settings[' . $field['name'] . ']', $field['title'], 1, $field['enable'], $field['disable'], array_merge([
+ 'data-field' => 'settings'
+ ],
+ $field['attributes'])
+ ) }}
@elseif ($type == 'checkboxGroup')
- {{ Form::$type('settings[' . $field['name'] . ']', $field['title'], $field['items'], $field['value'], $field['id'], $field['attributes']) }}
+ {{ Form::$type('settings[' . $field['name'] . ']', $field['title'], $field['items'], $field['value'], $field['id'], array_merge([
+ 'data-field' => 'settings'
+ ],
+ $field['attributes'])
+ ) }}
@endif
@endforeach
diff --git a/resources/views/partials/reports/table.blade.php b/resources/views/partials/reports/table.blade.php
index cf43132f9..5726f91c8 100644
--- a/resources/views/partials/reports/table.blade.php
+++ b/resources/views/partials/reports/table.blade.php
@@ -1,5 +1,5 @@
-
+
@include($class->views['table.header'])
@if (!empty($class->rows[$table]))
diff --git a/resources/views/partials/reports/table/footer.blade.php b/resources/views/partials/reports/table/footer.blade.php
index 9d804562d..495050780 100644
--- a/resources/views/partials/reports/table/footer.blade.php
+++ b/resources/views/partials/reports/table/footer.blade.php
@@ -1,5 +1,5 @@
-
+
{{ trans_choice('general.totals', 1) }} |
@php $total_total = 0; @endphp
@foreach($class->totals[$table] as $total)
diff --git a/resources/views/partials/reports/table/rows.blade.php b/resources/views/partials/reports/table/rows.blade.php
index 5b5396715..eaffc1ea0 100644
--- a/resources/views/partials/reports/table/rows.blade.php
+++ b/resources/views/partials/reports/table/rows.blade.php
@@ -1,9 +1,9 @@
@php $row_total = 0; @endphp
-
- {{ $class->getTableRowList()[$id] }} |
+
+ {{ $class->getTableRowList()[$id] }} |
@foreach($items as $item)
@php $row_total += $item; @endphp
- @money($item, setting('default.currency'), true) |
+ @money($item, setting('default.currency'), true) |
@endforeach
- @money($row_total, setting('default.currency'), true) |
+ @money($row_total, setting('default.currency'), true) |
diff --git a/resources/views/reports/profit_loss/content/footer.blade.php b/resources/views/reports/profit_loss/content/footer.blade.php
index 32c03b2a8..02e139b7c 100644
--- a/resources/views/reports/profit_loss/content/footer.blade.php
+++ b/resources/views/reports/profit_loss/content/footer.blade.php
@@ -1,12 +1,12 @@
-
+
-
- {{ trans('reports.net_profit') }} |
+
+ {{ trans('reports.net_profit') }} |
@foreach($class->net_profit as $profit)
- @money($profit, setting('default.currency'), true) |
+ @money($profit, setting('default.currency'), true) |
@endforeach
-
+ |
@money(array_sum($class->net_profit), setting('default.currency'), true)
|
diff --git a/resources/views/reports/profit_loss/content/header.blade.php b/resources/views/reports/profit_loss/content/header.blade.php
index 8773e9d89..2f8335c02 100644
--- a/resources/views/reports/profit_loss/content/header.blade.php
+++ b/resources/views/reports/profit_loss/content/header.blade.php
@@ -1,12 +1,12 @@
-
+
-
- |
+
+ |
@foreach($class->dates as $date)
- {{ $date }} |
+ {{ $date }} |
@endforeach
-
+ |
{{ trans_choice('general.totals', 1) }}
|
diff --git a/resources/views/reports/profit_loss/table/footer.blade.php b/resources/views/reports/profit_loss/table/footer.blade.php
index 11400788f..e92f826ad 100644
--- a/resources/views/reports/profit_loss/table/footer.blade.php
+++ b/resources/views/reports/profit_loss/table/footer.blade.php
@@ -1,11 +1,11 @@
-
- {{ trans_choice('general.totals', 1) }} |
+
+ {{ trans_choice('general.totals', 1) }} |
@php $total_total = 0; @endphp
@foreach($class->totals[$table] as $date => $total)
@php $total_total += $total; @endphp
- @money($total, setting('default.currency'), true) |
+ @money($total, setting('default.currency'), true) |
@endforeach
- @money($total_total, setting('default.currency'), true) |
+ @money($total_total, setting('default.currency'), true) |
diff --git a/resources/views/reports/tax_summary/content/header.blade.php b/resources/views/reports/tax_summary/content/header.blade.php
index f53aef113..018a553f6 100644
--- a/resources/views/reports/tax_summary/content/header.blade.php
+++ b/resources/views/reports/tax_summary/content/header.blade.php
@@ -1,5 +1,5 @@
-
+
|
diff --git a/resources/views/reports/tax_summary/table/footer.blade.php b/resources/views/reports/tax_summary/table/footer.blade.php
index 742048303..7dbb0dc2b 100644
--- a/resources/views/reports/tax_summary/table/footer.blade.php
+++ b/resources/views/reports/tax_summary/table/footer.blade.php
@@ -1,11 +1,11 @@
-
- {{ trans('reports.net') }} |
+
+ {{ trans('reports.net') }} |
@php $total_total = 0; @endphp
@foreach($class->totals[$table] as $total)
@php $total_total += $total; @endphp
- @money($total, setting('default.currency'), true) |
+ @money($total, setting('default.currency'), true) |
@endforeach
- @money($total_total, setting('default.currency'), true) |
+ @money($total_total, setting('default.currency'), true) |