From f19b9a44fc6f71af77b84077353209f1f7e2a397 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 17 Nov 2020 16:10:54 -0800 Subject: [PATCH 1/2] Fixed #8773 - wrong path for suppliers image on suppliers edit --- resources/views/suppliers/edit.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/suppliers/edit.blade.php b/resources/views/suppliers/edit.blade.php index 3e92265b57..8ad9f0bda2 100755 --- a/resources/views/suppliers/edit.blade.php +++ b/resources/views/suppliers/edit.blade.php @@ -52,7 +52,7 @@ {{ Form::checkbox('image_delete', '1', old('image_delete'), array('class' => 'minimal', 'aria-label'=>'required')) }}
- Image for {{ $item->name }} + Image for {{ $item->name }} {!! $errors->first('image_delete', '') !!} From 68487e1200e8458d7553282db24cb8ecc02c6e32 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 17 Nov 2020 16:15:25 -0800 Subject: [PATCH 2/2] Added img-responsive class to preview images --- resources/views/manufacturers/edit.blade.php | 2 +- resources/views/models/edit.blade.php | 2 +- resources/views/suppliers/edit.blade.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/manufacturers/edit.blade.php b/resources/views/manufacturers/edit.blade.php index 154b9fbed0..e6ad9966a4 100755 --- a/resources/views/manufacturers/edit.blade.php +++ b/resources/views/manufacturers/edit.blade.php @@ -59,7 +59,7 @@ {{ Form::checkbox('image_delete', '1', old('image_delete'), array('class' => 'minimal', 'aria-label'=>'required')) }}
- Image for {{ $item->name }} + Image for {{ $item->name }} {!! $errors->first('image_delete', '') !!} diff --git a/resources/views/models/edit.blade.php b/resources/views/models/edit.blade.php index da8c45c306..37dd138987 100755 --- a/resources/views/models/edit.blade.php +++ b/resources/views/models/edit.blade.php @@ -66,7 +66,7 @@ {{ Form::checkbox('image_delete', '1', old('image_delete'), array('class' => 'minimal', 'aria-label'=>'required')) }}
- Image for {{ $item->name }} + Image for {{ $item->name }} {!! $errors->first('image_delete', '') !!} diff --git a/resources/views/suppliers/edit.blade.php b/resources/views/suppliers/edit.blade.php index 8ad9f0bda2..3c4306cd19 100755 --- a/resources/views/suppliers/edit.blade.php +++ b/resources/views/suppliers/edit.blade.php @@ -52,7 +52,7 @@ {{ Form::checkbox('image_delete', '1', old('image_delete'), array('class' => 'minimal', 'aria-label'=>'required')) }}
- Image for {{ $item->name }} + Image for {{ $item->name }} {!! $errors->first('image_delete', '') !!}