@php $addExpenseCategoryPermission = user()->permission('manage_expense_category'); $projectName = ''; foreach ($projects as $project) { if ($projectId == $project->id) { $projectName = $project->project_name; } } @endphp

@lang('app.expenseDetails')

@foreach ($currencies as $currency) @endforeach
@if (user()->permission('add_expenses') == 'all')
@else @endif
@if (!empty($projectName)) @else @foreach ($projects as $project) @endforeach @endif
@if($linkExpensePermission == 'all')
@if($viewBankAccountPermission != 'none') @foreach ($bankDetails as $bankDetail) @endforeach @endif
@endif
@if ($addExpenseCategoryPermission == 'all' || $addExpenseCategoryPermission == 'added') @endif

@lang('modules.recurringInvoice.invoiceDate')

@lang('app.expenseGeneratedDaily')

@lang('modules.expensesRecurring.currentExpenseDate') {{Carbon\Carbon::now()->translatedFormat(company()->date_format)}}

@lang('modules.expensesRecurring.nextExpenseDate') {{Carbon\Carbon::now()->addDay()->translatedFormat(company()->date_format)}}

@lang('modules.recurringInvoice.soOn')

@lang('app.save') @lang('app.cancel')