@foreach ($currencies as $currency)
@endforeach
@if (user()->permission('add_expenses') == 'all')
@if(count($expense->recurrings) > 0)
@endif
@else
@endif
@foreach ($projects as $project)
@endforeach
@if($linkExpensePermission == 'all')
@if($viewBankAccountPermission != 'none')
@foreach ($bankDetails as $bankDetail)
@endforeach
@endif
@endif
@if ($addExpenseCategoryPermission == 'all' || $addExpenseCategoryPermission == 'added')
@endif
@php
switch ($expense->rotation) {
case 'daily':
$rotationType = __('app.daily');
break;
case 'weekly':
$rotationType = __('modules.recurringInvoice.week');
break;
case 'bi-weekly':
$rotationType = __('app.bi-week');
break;
case 'monthly':
$rotationType = __('app.month');
break;
case 'quarterly':
$rotationType = __('app.quarter');
break;
case 'half-yearly':
$rotationType = __('app.half-year');
break;
case 'annually':
$rotationType = __('app.year');
break;
default:
//
}
@endphp