Hide delete product #1149
This commit is contained in:
parent
a9a94df973
commit
12d313c64a
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue