From 07f59f8076a4db71757f113174acae04e4611a35 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Mon, 4 Dec 2017 23:32:10 +0200 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20show=20default=20tax=20rate=20u?= =?UTF-8?q?ntil=20tax=20rates=20have=20been=20created?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/accounts/tax_rates.blade.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/views/accounts/tax_rates.blade.php b/resources/views/accounts/tax_rates.blade.php index 60ca3531c2ad8..9d3f73ebfa772 100644 --- a/resources/views/accounts/tax_rates.blade.php +++ b/resources/views/accounts/tax_rates.blade.php @@ -49,9 +49,11 @@   - @include('partials.tax_rates', ['taxRateLabel' => trans('texts.default_tax_rate_id')]) + @if ($taxRates->count()) + @include('partials.tax_rates', ['taxRateLabel' => trans('texts.default_tax_rate_id')]) +   + @endif -   {!! Former::actions( Button::success(trans('texts.save'))->submit()->appendIcon(Icon::create('floppy-disk')) ) !!} {!! Former::close() !!}