From 40283609b5442e24ecc3ca7f945e8e32df7e09a1 Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Sun, 8 Nov 2020 22:13:36 +0100 Subject: [PATCH] Product / QU form refinements --- views/productform.blade.php | 3 ++- views/quantityunitconversionform.blade.php | 11 +++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/views/productform.blade.php b/views/productform.blade.php index 15d7ae4e..08a22798 100644 --- a/views/productform.blade.php +++ b/views/productform.blade.php @@ -369,7 +369,8 @@ {{ $__t('Save & continue to add quantity unit conversions & barcodes') }} - diff --git a/views/quantityunitconversionform.blade.php b/views/quantityunitconversionform.blade.php index 3c2f52b3..fe6c68b7 100644 --- a/views/quantityunitconversionform.blade.php +++ b/views/quantityunitconversionform.blade.php @@ -100,9 +100,16 @@ - create_inverse == 1) checked @endif class="form-check-input custom-control-input" type="checkbox" id="create_inverse" name="create_inverse:skip" value="1"> + $product==null) + checked + @endif + class="form-check-input custom-control-input" + type="checkbox" + id="create_inverse" + name="create_inverse:skip" + value="1">