@foreach ($currencies as $currency)
@endforeach
@if (user()->permission('add_expenses') == 'all')
@else
@endif
@if ($addExpenseCategoryPermission == 'all' || $addExpenseCategoryPermission == 'added')
@endif
@if (
$approveExpensePermission != 'none'
&& (
$approveExpensePermission == 'all'
|| ($approveExpensePermission == 'added' && $expense->added_by == user()->id)
|| ($approveExpensePermission == 'owned' && $expense->user_id == user()->id)
|| ($approveExpensePermission == 'both' && ($expense->user_id == user()->id || $expense->added_by == user()->id))
)
)
@endif
@if($linkExpensePermission == 'all')
@if($viewBankAccountPermission != 'none')
@foreach ($bankDetails as $bankDetail)
@endforeach
@endif
@endif
@if (!is_null($expense->bill))
@endif