@if ($checkPermissionCreate) @can($permissionCreate) @if (! $hideIncomeCreate) {{ trans('general.title.new', ['type' => trans_choice($textIncomeCreate, 1)]) }} @endif @if (! $hideExpenseCreate) {{ trans('general.title.new', ['type' => trans_choice($textExpenseCreate, 1)]) }} @endif @endcan @else @if (! $hideIncomeCreate) {{ trans('general.title.new', ['type' => trans_choice($textIncomeCreate, 1)]) }} @endif @if (! $hideExpenseCreate) {{ trans('general.title.new', ['type' => trans_choice($textExpenseCreate, 1)]) }} @endif @endif