diff --git a/.github/ISSUE_TEMPLATE/Bug-Report.yml b/.github/ISSUE_TEMPLATE/Bug-Report.yml index 523ebc5e2602..8e7aa1599ae2 100644 --- a/.github/ISSUE_TEMPLATE/Bug-Report.yml +++ b/.github/ISSUE_TEMPLATE/Bug-Report.yml @@ -67,6 +67,38 @@ body: - Safari - Microsoft Edge - Other + - type: dropdown + id: on-demo + attributes: + label: Can you reproduce this on the public demo? + description: You can check this at https://demo.snipeitapp.com. + options: + - 'Yes' + - 'No' + - N/A + validations: + required: true + - type: dropdown + id: fmcs + attributes: + label: Do you have full multiple company support enabled? + description: You can check this in your Snipe-IT installation at `Admin Settings > General Settings > Scoping`. + options: + - 'Yes' + - 'No' + validations: + required: true + - type: dropdown + id: fmcs-location + attributes: + label: If you have full multiple company support enabled, do you have location scoping to company enabled? + description: You can check this in your Snipe-IT installation at `Admin Settings > General Settings > Scoping`. + options: + - 'Yes' + - 'No' + - I do not have full multiple company support enabled + validations: + required: true - type: textarea id: server-logs attributes: @@ -102,4 +134,4 @@ body: description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/grokability/snipe-it/blob/master/CODE_OF_CONDUCT.md). options: - label: I agree to follow this project's Code of Conduct - required: true + required: true \ No newline at end of file diff --git a/resources/views/accessories/edit.blade.php b/resources/views/accessories/edit.blade.php index a327df5fa9a8..0209c132e3e8 100644 --- a/resources/views/accessories/edit.blade.php +++ b/resources/views/accessories/edit.blade.php @@ -16,19 +16,85 @@ @section('inputFields') @include ('partials.forms.edit.company-select', ['translated_name' => trans('general.company'), 'fieldname' => 'company_id']) -@include ('partials.forms.edit.name', ['translated_name' => trans('admin/accessories/general.accessory_name')]) + + @include ('partials.forms.edit.category-select', ['translated_name' => trans('general.category'), 'fieldname' => 'category_id', 'required' => 'true','category_type' => 'accessory']) @include ('partials.forms.edit.supplier-select', ['translated_name' => trans('general.supplier'), 'fieldname' => 'supplier_id']) @include ('partials.forms.edit.manufacturer-select', ['translated_name' => trans('general.manufacturer'), 'fieldname' => 'manufacturer_id']) @include ('partials.forms.edit.location-select', ['translated_name' => trans('general.location'), 'fieldname' => 'location_id']) -@include ('partials.forms.edit.model_number') -@include ('partials.forms.edit.order_number') -@include ('partials.forms.edit.datepicker', ['translated_name' => trans('general.purchase_date'),'fieldname' => 'purchase_date']) -@include ('partials.forms.edit.purchase_cost', ['currency_type' => $item->location->currency ?? null, 'unit_cost' => trans('general.unit_cost')]) -@include ('partials.forms.edit.quantity') -@include ('partials.forms.edit.minimum_quantity') -@include ('partials.forms.edit.notes') -@include ('partials.forms.edit.image-upload', ['image_path' => app('accessories_upload_path')]) + + + + + + + + + + + + + + + + + + + + +@include ('partials.forms.edit.image-upload', ['image_path' => app('accessories_upload_path')]) @stop diff --git a/resources/views/blade/example.blade.php b/resources/views/blade/example.blade.php deleted file mode 100644 index d1cbb4dee142..000000000000 --- a/resources/views/blade/example.blade.php +++ /dev/null @@ -1,3 +0,0 @@ -

- Hi. -

diff --git a/resources/views/blade/filestable.blade.php b/resources/views/blade/filestable.blade.php index c4b105d6bbc9..8b20ec067b53 100644 --- a/resources/views/blade/filestable.blade.php +++ b/resources/views/blade/filestable.blade.php @@ -4,7 +4,7 @@ 'object_type' => '', ]) - +
- - - \ No newline at end of file + \ No newline at end of file diff --git a/resources/views/blade/form-label.blade.php b/resources/views/blade/form-label.blade.php new file mode 100644 index 000000000000..28c703c4f324 --- /dev/null +++ b/resources/views/blade/form-label.blade.php @@ -0,0 +1,5 @@ + + + diff --git a/resources/views/blade/form-row.blade.php b/resources/views/blade/form-row.blade.php new file mode 100644 index 000000000000..377c357f145f --- /dev/null +++ b/resources/views/blade/form-row.blade.php @@ -0,0 +1,107 @@ + +@props([ + 'checkbox_value' => null, + 'disabled' => false, + 'div_style' => null, + 'error_offset_class' => 'col-md-7 col-md-offset-3', + 'errors', + 'help_text' => null, + 'info_tooltip_text' => null, + 'input_class' => null, + 'input_div_class' => 'col-md-8 col-sm-12', + 'input_group_addon' => null, + 'input_style' => null, + 'item' => null, + 'label' => null, + 'label_class' => 'col-md-3 col-sm-12 col-xs-12', + 'label_style' => null, + 'max' => null, + 'maxlength' => 191, + 'min' => null, + 'minlength' => null, + 'name' => null, + 'placeholder' => null, + 'step' => null, + 'type' => 'text', + 'value' => null, + 'value_text' => null, +]) + +
merge(['class' => 'form-group']) }}> + + @if (isset($label)) + + {{ $label }} + + @else + @php + $input_div_class = $input_div_class . ' ' . $error_offset_class; + @endphp + @endif + + +
merge(['class' => $input_div_class, 'style' => $div_style]) }}> + + @php + $blade_type = in_array($type, ['text', 'email', 'url', 'tel', 'number', 'password']) ? 'text' : $type; + @endphp + + +
+ + + @if ($info_tooltip_text) + +
+ + {{ $info_tooltip_text }} + +
+ @endif + + + @error($name) + +
merge(['class' => $error_offset_class]) }}> + + + {{ $message }} + +
+ @enderror + + @if ($help_text) + +
merge(['class' => $error_offset_class]) }}> +

+ {!! $help_text !!} +

+
+ @endif + +
diff --git a/resources/views/blade/input/checkbox.blade.php b/resources/views/blade/input/checkbox.blade.php new file mode 100644 index 000000000000..6e86cee32596 --- /dev/null +++ b/resources/views/blade/input/checkbox.blade.php @@ -0,0 +1,16 @@ +@props([ + 'item' => null, + 'field_name' => null, + 'input_style' => null, + 'required' => false, + 'disabled' => false, + 'checkbox_value' => null, + 'name' => null, + 'label' => null, + 'value_text' => null, +]) + + \ No newline at end of file diff --git a/resources/views/blade/input/date.blade.php b/resources/views/blade/input/date.blade.php new file mode 100644 index 000000000000..5e7db2146175 --- /dev/null +++ b/resources/views/blade/input/date.blade.php @@ -0,0 +1,12 @@ +@props([ + 'item' => null, + 'input_style' => null, + 'end_date' => null, +]) + + +
merge(['class' => 'input-group date']) }} data-provide="datepicker" data-date-today-highlight="true" data-date-language="{{ auth()->user()->locale }}" data-date-locale="{{ auth()->user()->locale }}" data-date-format="yyyy-mm-dd" data-date-autoclose="true" data-date-clear-btn="true"{{ $end_date ? ' data-date-end-date=' . $end_date : '' }}> + merge(['class' => 'form-control']) }}> + + +
\ No newline at end of file diff --git a/resources/views/blade/input/info-tooltip.blade.php b/resources/views/blade/input/info-tooltip.blade.php new file mode 100644 index 000000000000..c8a45dcc84f7 --- /dev/null +++ b/resources/views/blade/input/info-tooltip.blade.php @@ -0,0 +1,4 @@ + + + {{ $slot }} + \ No newline at end of file diff --git a/resources/views/blade/input/radio.blade.php b/resources/views/blade/input/radio.blade.php new file mode 100644 index 000000000000..2bb3ea2185a6 --- /dev/null +++ b/resources/views/blade/input/radio.blade.php @@ -0,0 +1,15 @@ +@props([ + 'item' => null, + 'field_name' => null, + 'input_style' => null, + 'required' => false, + 'disabled' => false, + 'name' => null, + 'label' => null, + 'value_text' => null, +]) + + \ No newline at end of file diff --git a/resources/views/blade/input/text.blade.php b/resources/views/blade/input/text.blade.php new file mode 100644 index 000000000000..4b21116eb3c2 --- /dev/null +++ b/resources/views/blade/input/text.blade.php @@ -0,0 +1,15 @@ +@props([ + 'input_style' => null, + 'input_group_addon' => null, + 'required' => false, + 'item' => null, +]) + +merge(['class' => 'form-control', 'style' => $input_style]) }} + @required($required) +/> + +@if ($input_group_addon) + {{ $input_group_addon }} +@endif diff --git a/resources/views/categories/edit.blade.php b/resources/views/categories/edit.blade.php index fd9efcc49f41..bfcabbc4b1b6 100755 --- a/resources/views/categories/edit.blade.php +++ b/resources/views/categories/edit.blade.php @@ -9,7 +9,12 @@ @section('inputFields') -@include ('partials.forms.edit.name', ['translated_name' => trans('admin/categories/general.name')]) + +
diff --git a/resources/views/companies/edit.blade.php b/resources/views/companies/edit.blade.php index d6b9cf9afdac..5cc35cb76b79 100644 --- a/resources/views/companies/edit.blade.php +++ b/resources/views/companies/edit.blade.php @@ -8,26 +8,48 @@ {{-- Page content --}} @section('inputFields') -@include ('partials.forms.edit.name', ['translated_name' => trans('admin/companies/table.name')]) -@include ('partials.forms.edit.phone') -@include ('partials.forms.edit.fax') -@include ('partials.forms.edit.email') + + + + + + + + + + + + + @include ('partials.forms.edit.image-upload', ['image_path' => app('companies_upload_path')]) -
- -
- - - -
-
+ + @stop diff --git a/resources/views/components/edit.blade.php b/resources/views/components/edit.blade.php index c6445cf1e0be..21f05e79a20d 100644 --- a/resources/views/components/edit.blade.php +++ b/resources/views/components/edit.blade.php @@ -16,20 +16,100 @@ {{-- Page content --}} @section('inputFields') -@include ('partials.forms.edit.name', ['translated_name' => trans('admin/components/table.title')]) + + + @include ('partials.forms.edit.category-select', ['translated_name' => trans('general.category'), 'fieldname' => 'category_id','category_type' => 'component']) -@include ('partials.forms.edit.quantity') -@include ('partials.forms.edit.minimum_quantity') -@include ('partials.forms.edit.serial', ['fieldname' => 'serial']) -@include ('partials.forms.edit.manufacturer-select', ['translated_name' => trans('general.manufacturer'), 'fieldname' => 'manufacturer_id']) -@include ('partials.forms.edit.model_number') + + + + + + + + + + @include ('partials.forms.edit.manufacturer-select', ['translated_name' => trans('general.manufacturer'), 'fieldname' => 'manufacturer_id']) + + + + @include ('partials.forms.edit.company-select', ['translated_name' => trans('general.company'), 'fieldname' => 'company_id']) @include ('partials.forms.edit.location-select', ['translated_name' => trans('general.location'), 'fieldname' => 'location_id']) @include ('partials.forms.edit.supplier-select', ['translated_name' => trans('general.supplier'), 'fieldname' => 'supplier_id']) -@include ('partials.forms.edit.order_number') -@include ('partials.forms.edit.datepicker', ['translated_name' => trans('general.purchase_date'),'fieldname' => 'purchase_date']) -@include ('partials.forms.edit.purchase_cost', ['unit_cost' => trans('general.unit_cost')]) -@include ('partials.forms.edit.notes') + + + + + + + + + + + + + @include ('partials.forms.edit.image-upload', ['image_path' => app('components_upload_path')]) diff --git a/resources/views/consumables/edit.blade.php b/resources/views/consumables/edit.blade.php index 4ce6de9d7833..96a0d4849906 100644 --- a/resources/views/consumables/edit.blade.php +++ b/resources/views/consumables/edit.blade.php @@ -15,19 +15,98 @@ @section('inputFields') @include ('partials.forms.edit.company-select', ['translated_name' => trans('general.company'), 'fieldname' => 'company_id']) -@include ('partials.forms.edit.name', ['translated_name' => trans('admin/consumables/table.title')]) + + + + @include ('partials.forms.edit.category-select', ['translated_name' => trans('general.category'), 'fieldname' => 'category_id', 'required' => 'true', 'category_type' => 'consumable']) @include ('partials.forms.edit.supplier-select', ['translated_name' => trans('general.supplier'), 'fieldname' => 'supplier_id']) @include ('partials.forms.edit.manufacturer-select', ['translated_name' => trans('general.manufacturer'), 'fieldname' => 'manufacturer_id']) @include ('partials.forms.edit.location-select', ['translated_name' => trans('general.location'), 'fieldname' => 'location_id']) -@include ('partials.forms.edit.model_number') -@include ('partials.forms.edit.item_number') -@include ('partials.forms.edit.order_number') -@include ('partials.forms.edit.datepicker', ['translated_name' => trans('general.purchase_date'),'fieldname' => 'purchase_date']) -@include ('partials.forms.edit.purchase_cost', [ 'unit_cost' => trans('general.unit_cost')]) -@include ('partials.forms.edit.quantity') -@include ('partials.forms.edit.minimum_quantity') -@include ('partials.forms.edit.notes') + + + + + + + + + + + + + + + + + + + + + + + + + + + @include ('partials.forms.edit.image-upload', ['image_path' => app('consumables_upload_path')]) @stop diff --git a/resources/views/custom_fields/fields/edit.blade.php b/resources/views/custom_fields/fields/edit.blade.php index 07a21b089f15..ec5ca0048392 100644 --- a/resources/views/custom_fields/fields/edit.blade.php +++ b/resources/views/custom_fields/fields/edit.blade.php @@ -40,16 +40,16 @@
- -
- -
- - {!! $errors->first('name', '') !!} -
-
+ +
+ +
+ + {!! $errors->first('name', '') !!} +
+
diff --git a/resources/views/custom_fields/fieldsets/edit.blade.php b/resources/views/custom_fields/fieldsets/edit.blade.php index 7a35ca146f66..23007fb6977d 100644 --- a/resources/views/custom_fields/fieldsets/edit.blade.php +++ b/resources/views/custom_fields/fieldsets/edit.blade.php @@ -11,7 +11,12 @@ @stop @section('inputFields') -@include ('partials.forms.edit.name', ['translated_name' => trans('general.name')]) + + @stop diff --git a/resources/views/departments/edit.blade.php b/resources/views/departments/edit.blade.php index 05d9b49e4ce9..4f1f1f50ae3c 100644 --- a/resources/views/departments/edit.blade.php +++ b/resources/views/departments/edit.blade.php @@ -7,7 +7,12 @@ {{-- Page content --}} @section('inputFields') - @include ('partials.forms.edit.name', ['translated_name' => trans('admin/departments/table.name')]) + + @if (\App\Models\Company::canManageUsersCompanies()) @@ -16,8 +21,21 @@ @endif - @include ('partials.forms.edit.phone') - @include ('partials.forms.edit.fax') + + + + + @include ('partials.forms.edit.user-select', ['translated_name' => trans('admin/users/table.manager'), 'fieldname' => 'manager_id']) @@ -26,20 +44,15 @@ @include ('partials.forms.edit.location-select', ['translated_name' => trans('general.location'), 'fieldname' => 'location_id']) @include ('partials.forms.edit.image-upload', ['image_path' => app('departments_upload_path')]) -
- -
- - {!! $errors->first('notes', '') !!} -
-
+ + @stop diff --git a/resources/views/depreciations/edit.blade.php b/resources/views/depreciations/edit.blade.php index a89750ab2ff9..cff35d8930d9 100755 --- a/resources/views/depreciations/edit.blade.php +++ b/resources/views/depreciations/edit.blade.php @@ -9,17 +9,23 @@ {{-- Page content --}} @section('inputFields') -@include ('partials.forms.edit.name', ['translated_name' => trans('admin/depreciations/general.depreciation_name')]) - -
- -
- - {!! $errors->first('months', '') !!} -
-
+ + + + + +
diff --git a/resources/views/hardware/edit.blade.php b/resources/views/hardware/edit.blade.php index 58f920e5b624..9d324619aa9a 100755 --- a/resources/views/hardware/edit.blade.php +++ b/resources/views/hardware/edit.blade.php @@ -70,7 +70,16 @@ @include ('partials.forms.edit.location-select', ['translated_name' => trans('admin/hardware/form.checkout_to'), 'fieldname' => 'assigned_location', 'style' => 'display:none;', 'required' => 'false']) @endif - @include ('partials.forms.edit.notes') + + @include ('partials.forms.edit.location-select', ['translated_name' => trans('admin/hardware/form.default_location'), 'fieldname' => 'rtd_location_id', 'help_text' => trans('general.rtd_location_help')]) @include ('partials.forms.edit.requestable', ['requestable_text' => trans('admin/hardware/general.requestable')]) @@ -111,8 +120,14 @@
- -
+ +
diff --git a/resources/views/licenses/edit.blade.php b/resources/views/licenses/edit.blade.php index 87b018021606..710d13afca27 100755 --- a/resources/views/licenses/edit.blade.php +++ b/resources/views/licenses/edit.blade.php @@ -13,124 +13,167 @@ {{-- Page content --}} @section('inputFields') -@include ('partials.forms.edit.name', ['translated_name' => trans('admin/licenses/form.name')]) -@include ('partials.forms.edit.category-select', ['translated_name' => trans('admin/categories/general.category_name'), 'fieldname' => 'category_id', 'required' => 'true', 'category_type' => 'license']) - - - - -
- -
-
- -
-
- {!! $errors->first('seats', '
') !!} -
-@include ('partials.forms.edit.minimum_quantity') - - -@can('viewKeys', $item) -
- -
- - {!! $errors->first('serial', '') !!} -
-
-@endcan + + + + + + @include ('partials.forms.edit.category-select', ['translated_name' => trans('admin/categories/general.category_name'), 'fieldname' => 'category_id', 'required' => 'true', 'category_type' => 'license']) + + + + + + + + + + @can('viewKeys', $item) + + @endcan + @include ('partials.forms.edit.company-select', ['translated_name' => trans('general.company'), 'fieldname' => 'company_id']) @include ('partials.forms.edit.manufacturer-select', ['translated_name' => trans('general.manufacturer'), 'fieldname' => 'manufacturer_id',]) - -
- -
- - {!! $errors->first('license_name', '') !!} -
-
- - -
- -
- - {!! $errors->first('license_email', '') !!} -
-
- - -
-
- {{ trans('admin/licenses/form.reassignable') }} -
-
- -
-
- + + + + + + + + @include ('partials.forms.edit.supplier-select', ['translated_name' => trans('general.supplier'), 'fieldname' => 'supplier_id']) -@include ('partials.forms.edit.order_number') -@include ('partials.forms.edit.purchase_cost') -@include ('partials.forms.edit.datepicker', ['translated_name' => trans('general.purchase_date'),'fieldname' => 'purchase_date']) - - -
- -
-
- - -
- {!! $errors->first('expiration_date', '') !!} -
+ + + + + + + + + + + + + + + + -
-
- - -
-
- - -
- {!! $errors->first('termination_date', '') !!} -
-
- -{{-- @TODO How does this differ from Order #? --}} - -
- -
- - {!! $errors->first('purchase_order', '') !!} -
-
+ + @include ('partials.forms.edit.depreciation') - -
-
{{ trans('admin/licenses/form.maintained') }}
-
- -
-
- -@include ('partials.forms.edit.notes') + + + + + + @stop diff --git a/resources/views/locations/edit.blade.php b/resources/views/locations/edit.blade.php index 5b83b36ad5fd..1ff5f96636aa 100755 --- a/resources/views/locations/edit.blade.php +++ b/resources/views/locations/edit.blade.php @@ -9,7 +9,13 @@ {{-- Page content --}} @section('inputFields') -@include ('partials.forms.edit.name', ['translated_name' => trans('admin/locations/table.name')]) + + + @include ('partials.forms.edit.location-select', ['translated_name' => trans('admin/locations/table.parent'), 'fieldname' => 'parent_id']) @@ -20,25 +26,30 @@ @include ('partials.forms.edit.company-select', ['translated_name' => trans('general.company'), 'fieldname' => 'company_id']) -@include ('partials.forms.edit.phone') -@include ('partials.forms.edit.fax') + + - -
- -
- - @error('currency') - - - {{ $message }} - - @enderror + + -
-
+ + @include ('partials.forms.edit.address') @@ -61,22 +72,17 @@ @endif -@include ('partials.forms.edit.image-upload', ['image_path' => app('locations_upload_path')]) + @include ('partials.forms.edit.image-upload', ['image_path' => app('locations_upload_path')]) -
- -
- - {!! $errors->first('notes', '') !!} -
-
+ + @stop diff --git a/resources/views/maintenances/edit.blade.php b/resources/views/maintenances/edit.blade.php index 436b1c657596..d27e18261dcf 100644 --- a/resources/views/maintenances/edit.blade.php +++ b/resources/views/maintenances/edit.blade.php @@ -43,7 +43,12 @@
- @include ('partials.forms.edit.name', ['translated_name' => trans('general.name'), 'required' => 'true']) + + @if (!$item->id) diff --git a/resources/views/manufacturers/edit.blade.php b/resources/views/manufacturers/edit.blade.php index 1c9b80777608..1de00c8a916e 100755 --- a/resources/views/manufacturers/edit.blade.php +++ b/resources/views/manufacturers/edit.blade.php @@ -9,75 +9,68 @@ {{-- Page content --}} @section('inputFields') -@include ('partials.forms.edit.name', ['translated_name' => trans('admin/manufacturers/table.name')]) + + + + -
- -
- - {!! $errors->first('url', '') !!} -
-
+ -
- -
- - {!! $errors->first('support_url', '') !!} -
-
+ -
- -
- -

{!! trans('admin/manufacturers/message.support_url_help') !!}

- {!! $errors->first('warranty_lookup_url', '') !!} -
-
+ -
- -
- - {!! $errors->first('support_phone', '') !!} -
-
+ -
- -
- - {!! $errors->first('support_email', '') !!} -
-
+ -@include ('partials.forms.edit.image-upload', ['image_path' => app('manufacturers_upload_path')]) -
- -
- - {!! $errors->first('notes', '') !!} -
-
+ @include ('partials.forms.edit.image-upload', ['image_path' => app('manufacturers_upload_path')]) + + @stop diff --git a/resources/views/models/edit.blade.php b/resources/views/models/edit.blade.php index 821d6017d0b3..06fa5e55a6e5 100755 --- a/resources/views/models/edit.blade.php +++ b/resources/views/models/edit.blade.php @@ -9,12 +9,37 @@ {{-- Page content --}} @section('inputFields') -@include ('partials.forms.edit.name', ['translated_name' => trans('admin/models/table.name'), 'required' => 'true']) + + + + @include ('partials.forms.edit.category-select', ['translated_name' => trans('admin/categories/general.category_name'), 'fieldname' => 'category_id', 'required' => 'true', 'category_type' => 'asset']) @include ('partials.forms.edit.manufacturer-select', ['translated_name' => trans('general.manufacturer'), 'fieldname' => 'manufacturer_id']) -@include ('partials.forms.edit.model_number') + + + + @include ('partials.forms.edit.depreciation') -@include ('partials.forms.edit.minimum_quantity') + + +
@@ -58,7 +83,16 @@ @livewire('custom-field-set-default-values-for-model', ["model_id" => $item->id ?? $model_id ?? null]) -@include ('partials.forms.edit.notes') + + + @include ('partials.forms.edit.requestable', ['requestable_text' => trans('admin/models/general.requestable')]) @include ('partials.forms.edit.image-upload', ['image_path' => app('models_upload_path')]) diff --git a/resources/views/partials/forms/edit/address.blade.php b/resources/views/partials/forms/edit/address.blade.php index 12214b956b26..556f44cdcf3b 100644 --- a/resources/views/partials/forms/edit/address.blade.php +++ b/resources/views/partials/forms/edit/address.blade.php @@ -1,35 +1,31 @@ -
- -
- - {!! $errors->first('address', '') !!} -
-
+ -
- -
- - {!! $errors->first('address2', '') !!} -
-
+ -
- -
- - {!! $errors->first('city', '') !!} -
-
+ -
- -
- - {!! $errors->first('state', '') !!} - -
-
+
@@ -40,10 +36,11 @@
-
- -
- - {!! $errors->first('zip', '') !!} -
-
+ diff --git a/resources/views/settings/alerts.blade.php b/resources/views/settings/alerts.blade.php index c861cc63bf7b..86d93a4c77ea 100644 --- a/resources/views/settings/alerts.blade.php +++ b/resources/views/settings/alerts.blade.php @@ -47,24 +47,22 @@ -
-
- -
-
+ -
-
- -
-
+ @@ -74,30 +72,24 @@ -
-
- -
-
- - {!! $errors->first('alert_email', '
') !!} -

{{ trans('admin/settings/general.alert_email_help') }}

- -
-
- + -
-
- -
-
- - {!! $errors->first('admin_cc_email', '
') !!} -

{{ trans('admin/settings/general.admin_cc_email_help') }}

-
-
+ + +
diff --git a/resources/views/statuslabels/edit.blade.php b/resources/views/statuslabels/edit.blade.php index 138f0cb7b5ad..454b7ace5709 100755 --- a/resources/views/statuslabels/edit.blade.php +++ b/resources/views/statuslabels/edit.blade.php @@ -19,7 +19,12 @@ @section('inputFields') -@include ('partials.forms.edit.name', ['translated_name' => trans('general.name')]) + +
@@ -27,6 +32,7 @@ {{ trans('admin/statuslabels/table.status_type') }}
+
-@include ('partials.forms.edit.notes') + + -
-
- -
-
+ -
- -
- -

{{ trans('admin/statuslabels/table.default_label_help') }}

-
-
+ @stop diff --git a/resources/views/suppliers/edit.blade.php b/resources/views/suppliers/edit.blade.php index 9fc21a37f8e3..ed336b932978 100755 --- a/resources/views/suppliers/edit.blade.php +++ b/resources/views/suppliers/edit.blade.php @@ -10,30 +10,66 @@ {{-- Page content --}} @section('inputFields') -@include ('partials.forms.edit.name', ['translated_name' => trans('admin/suppliers/table.name')]) -@include ('partials.forms.edit.address') - -
- -
- - {!! $errors->first('contact', '') !!} -
-
- -@include ('partials.forms.edit.phone') -@include ('partials.forms.edit.fax') -@include ('partials.forms.edit.email') - -
- -
- - {!! $errors->first('url', '') !!} -
-
- -@include ('partials.forms.edit.notes') -@include ('partials.forms.edit.image-upload', ['image_path' => app('suppliers_upload_path')]) + + + + @include ('partials.forms.edit.address') + + + + + + + + + + + + + + + + + + @include ('partials.forms.edit.image-upload', ['image_path' => app('suppliers_upload_path')]) + + + + @stop