mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 05:32:39 +01:00
Hide delete product #1149
This commit is contained in:
parent
a9a94df973
commit
12d313c64a
@ -19,7 +19,7 @@
|
||||
@endif
|
||||
@endcan
|
||||
|
||||
@if ($entityType == ENTITY_EXPENSE_CATEGORY)
|
||||
@if (in_array($entityType, [ENTITY_EXPENSE_CATEGORY, ENTITY_PRODUCT]))
|
||||
{!! Button::normal(trans('texts.archive'))->asLinkTo('javascript:submitForm("archive")')->appendIcon(Icon::create('trash')) !!}
|
||||
@else
|
||||
{!! DropdownButton::normal(trans('texts.archive'))->withContents([
|
||||
|
Loading…
Reference in New Issue
Block a user