diff --git a/resources/views/accounts/tax_rates.blade.php b/resources/views/accounts/tax_rates.blade.php index e850f462f6f3..7373b4ece29f 100644 --- a/resources/views/accounts/tax_rates.blade.php +++ b/resources/views/accounts/tax_rates.blade.php @@ -47,7 +47,7 @@ - @include('partials.tax_rates') + @include('partials.tax_rates', ['taxRateLabel' => trans('texts.default_tax_rate_id')]) {!! Former::actions( Button::success(trans('texts.save'))->submit()->appendIcon(Icon::create('floppy-disk')) ) !!} diff --git a/resources/views/partials/tax_rates.blade.php b/resources/views/partials/tax_rates.blade.php index 9e1d546f802b..01008471b3cf 100644 --- a/resources/views/partials/tax_rates.blade.php +++ b/resources/views/partials/tax_rates.blade.php @@ -1,7 +1,7 @@ @if ($account->invoice_item_taxes) {!! Former::select('tax_select1') ->addOption('','') - ->label(trans('texts.tax_rate')) + ->label(isset($taxRateLabel) ? $taxRateLabel : trans('texts.tax_rate')) ->onchange('taxSelectChange(event)') ->fromQuery($taxRates) !!} @@ -13,7 +13,7 @@