diff --git a/resources/views/accessories/edit.blade.php b/resources/views/accessories/edit.blade.php index d6233d4e5a..6bef8201b6 100755 --- a/resources/views/accessories/edit.blade.php +++ b/resources/views/accessories/edit.blade.php @@ -21,22 +21,20 @@ @include ('partials.forms.edit.purchase_cost') @include ('partials.forms.edit.quantity') @include ('partials.forms.edit.minimum_quantity') - +@include ('partials.forms.edit.notes') @if ($item->image)
- {{ Form::checkbox('image_delete') }} + {{ Form::checkbox('image_delete', '1', old('image_delete'), array('class' => 'minimal', 'aria-label'=>'image_delete')) }} {!! $errors->first('image_delete', '') !!}
@endif -@include ('partials.forms.edit.notes') - @include ('partials.forms.edit.image-upload') @stop diff --git a/resources/views/categories/edit.blade.php b/resources/views/categories/edit.blade.php index 9d4d25c814..e09182743d 100755 --- a/resources/views/categories/edit.blade.php +++ b/resources/views/categories/edit.blade.php @@ -91,7 +91,7 @@
- {{ Form::checkbox('image_delete') }} + {{ Form::checkbox('image_delete', '1', old('image_delete'), array('class' => 'minimal', 'aria-label'=>'image_delete')) }} {!! $errors->first('image_delete', ':message') !!}
diff --git a/resources/views/companies/edit.blade.php b/resources/views/companies/edit.blade.php index bc74c7357d..a2bf8e5d84 100644 --- a/resources/views/companies/edit.blade.php +++ b/resources/views/companies/edit.blade.php @@ -15,7 +15,7 @@
- {{ Form::checkbox('image_delete') }} + {{ Form::checkbox('image_delete', '1', old('image_delete'), array('class' => 'minimal', 'aria-label'=>'image_delete')) }} {!! $errors->first('image_delete', ':message') !!}
diff --git a/resources/views/components/edit.blade.php b/resources/views/components/edit.blade.php index 77cdb17c3c..8c7c74d6e8 100644 --- a/resources/views/components/edit.blade.php +++ b/resources/views/components/edit.blade.php @@ -26,7 +26,7 @@
- {{ Form::checkbox('image_delete') }} + {{ Form::checkbox('image_delete', '1', old('image_delete'), array('class' => 'minimal', 'aria-label'=>'image_delete')) }} {!! $errors->first('image_delete', ':message') !!}
diff --git a/resources/views/consumables/edit.blade.php b/resources/views/consumables/edit.blade.php index a270cc33db..4ae61fa0a5 100644 --- a/resources/views/consumables/edit.blade.php +++ b/resources/views/consumables/edit.blade.php @@ -20,20 +20,21 @@ @include ('partials.forms.edit.purchase_cost') @include ('partials.forms.edit.quantity') @include ('partials.forms.edit.minimum_quantity') +@include ('partials.forms.edit.notes') @if ($item->image)
- {{ Form::checkbox('image_delete') }} + {{ Form::checkbox('image_delete', '1', old('image_delete'), array('class' => 'minimal', 'aria-label'=>'image_delete')) }} {!! $errors->first('image_delete', ':message') !!}
@endif -@include ('partials.forms.edit.notes') + @include ('partials.forms.edit.image-upload') @stop diff --git a/resources/views/departments/edit.blade.php b/resources/views/departments/edit.blade.php index 0a2c1a7d46..b120b2924a 100644 --- a/resources/views/departments/edit.blade.php +++ b/resources/views/departments/edit.blade.php @@ -28,7 +28,7 @@
- {{ Form::checkbox('image_delete') }} + {{ Form::checkbox('image_delete', '1', old('image_delete'), array('class' => 'minimal', 'aria-label'=>'image_delete')) }} {!! $errors->first('image_delete', ':message') !!}
diff --git a/resources/views/locations/edit.blade.php b/resources/views/locations/edit.blade.php index c7fe202fa8..86cf7894bd 100755 --- a/resources/views/locations/edit.blade.php +++ b/resources/views/locations/edit.blade.php @@ -49,7 +49,7 @@

Image for {{ $item->name }} diff --git a/resources/views/manufacturers/edit.blade.php b/resources/views/manufacturers/edit.blade.php index 355dd478df..bc3012f8a6 100755 --- a/resources/views/manufacturers/edit.blade.php +++ b/resources/views/manufacturers/edit.blade.php @@ -56,7 +56,7 @@

Image for {{ $item->name }} diff --git a/resources/views/models/edit.blade.php b/resources/views/models/edit.blade.php index 436e425179..1f2deff371 100755 --- a/resources/views/models/edit.blade.php +++ b/resources/views/models/edit.blade.php @@ -45,7 +45,7 @@

Image for {{ $item->name }} diff --git a/resources/views/suppliers/edit.blade.php b/resources/views/suppliers/edit.blade.php index 8a9014f708..285d6627c1 100755 --- a/resources/views/suppliers/edit.blade.php +++ b/resources/views/suppliers/edit.blade.php @@ -49,7 +49,7 @@

Image for {{ $item->name }} diff --git a/resources/views/users/edit.blade.php b/resources/views/users/edit.blade.php index 93b8fb7a21..7428fafe7f 100755 --- a/resources/views/users/edit.blade.php +++ b/resources/views/users/edit.blade.php @@ -272,12 +272,13 @@
@endif + @if ($user->avatar)
- {{ Form::checkbox('image_delete') }} + {{ Form::checkbox('image_delete', '1', old('image_delete'), array('class' => 'minimal', 'aria-label'=>'image_delete')) }} {!! $errors->first('image_delete', '
:message
') !!}