@extends('layouts/contentLayoutMaster') @section('title', 'Resolution') @section('page-style') @endsection @section('content') {{ __('locale.resolution') }} Status: @if (empty(request()->status)) {{ __('locale.all') }} @else {{ __('locale.all') }} @endif @if ($status == 1) {{ __('locale.ongoing') }} @else {{ __('locale.ongoing') }} @endif @if ($status == 2) {{ __('locale.finish') }} @else {{ __('locale.finish') }} @endif @if (count($resolutions['data']) > 0) @foreach ($resolutions['data'] as $item) @if (Auth::user()->id == $item['user_id']) @else @endif {{$item['invoice_no']}} @if (in_array($item['id'], $notification['resolutions'])) @endif @if (Auth::user()->id == $item['user_id']) {{$item['buddy_name']}} @else {{$item['user_name']}} @endif {{ \Carbon\Carbon::parse($item->created_date)->format('d M Y') }} @switch($item['status']) @case(0) {{ __('locale.pending') }} @break @case(1) {{ __('locale.ongoing') }} @break @case(2) {{ __('locale.done') }} @break @endswitch @endforeach @for ($i = 0; $i < $resolutions['meta']['last_page']; $i++) {{$i + 1}} @endfor @else {{ __('locale.resolution_empty') }} @endif @endsection @section('page-script') {{-- Page js files --}} @endsection