@forelse ($forms as $key => $form)
@switch($form->status)
@case('waiting')
| {{ $loop->iteration + (($forms->currentPage() ?? 0 ) - 1) * (($forms->perPage()?? 0) + 1 )}} |
{{ $form->form->name }} |
{{ $form->form->desc }} |
{{ date('M j, Y', strtotime($form->created_at)) }} |
{{ date('M j, Y', strtotime($form->expiration_date)) }} |
{{__('messages.View')}}
|
@break
@case('incomplete')
| {{ $loop->iteration + (($forms->currentPage() ?? 0 ) - 1) * (($forms->perPage()?? 0) + 1 )}} |
{{ $form->form->name }} |
{{ $form->form->desc }} |
{{ date('M j, Y', strtotime($form->created_at)) }} |
{{ date('M j, Y', strtotime($form->expiration_date)) }} |
{{__('messages.View')}}
|
@break
@case('expired')
| {{ $loop->iteration + (($forms->currentPage() ?? 0 ) - 1) * (($forms->perPage()?? 0) + 1 )}} |
{{ $form->form->name }} |
{{ $form->form->desc }} |
{{ date('M j, Y', strtotime($form->created_at)) }} |
{{ date('M j, Y', strtotime($form->expiration_date)) }} |
{{__('messages.View')}}
|
@break
@case('done')
| {{ $loop->iteration + (($forms->currentPage() ?? 0 ) - 1) * (($forms->perPage()?? 0) + 1 )}} |
{{ $form->form->name }} |
{{ $form->form->desc }} |
{{ date('M j, Y', strtotime($form->created_at)) }} |
{{ date('M j, Y', strtotime($form->expiration_date)) }} |
{{__('messages.View')}}
|
@break
@case('approved')
| {{ $loop->iteration + (($forms->currentPage() ?? 0 ) - 1) * (($forms->perPage()?? 0) + 1 )}} |
{{ $form->form->name }} |
{{ $form->form->desc }} |
{{ date('M j, Y', strtotime($form->created_at)) }} |
{{ date('M j, Y', strtotime($form->expiration_date)) }} |
{{__('messages.View')}}
|
@break
@case('rejected')
| {{ $loop->iteration + (($forms->currentPage() ?? 0 ) - 1) * (($forms->perPage()?? 0) + 1 )}} |
{{ $form->form->name }} |
{{ $form->form->desc }} |
{{ date('M j, Y', strtotime($form->created_at)) }} |
{{ date('M j, Y', strtotime($form->expiration_date)) }} |
{{__('messages.View')}}
|
@break
@case('waiting approved')
| {{ $loop->iteration + (($forms->currentPage() ?? 0 ) - 1) * (($forms->perPage()?? 0) + 1 )}} |
{{ $form->form->name }} |
{{ $form->form->desc }} |
{{ date('M j, Y', strtotime($form->created_at)) }} |
{{ date('M j, Y', strtotime($form->expiration_date)) }} |
{{__('messages.View')}}
|
@break
@default
@endswitch
@empty
@endforelse