@extends('layouts.master') @section('title', 'Project | Alboosh - Timeless authenticity, born of the desert') @section('title-topbar', __('basic.projects')) @section('css') @endsection @section('fixedcontent') @if (Session::has('success'))

Sent Successfully

{{ Session::get('success') }}

@endif @endsection @section('content')
{{ __('basic.dashboard') }} | {{ __('basic.projects') }}
{{ __('basic.new') }}
{{ __('basic.projects') }}
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@foreach ($main_item as $item) @if ($item->status == 1) @php $text_color = 'not_accepted-color-btn'; $msg = __('basic.placed'); @endphp @elseif ($item->status == 2) @php $text_color = 'active-color-btn'; $msg = __('basic.in progress'); @endphp @elseif ($item->status == 3) @php $text_color = 'done-color-btn'; $msg = __('basic.done'); @endphp @elseif ($item->status == 4) @php $text_color = 'pend-color-btn'; $msg = __('basic.postponed'); @endphp @elseif ($item->status == 5) @php $text_color = 'cancel-color-btn'; $msg = __('basic.canceled'); @endphp @else @php $text_color = 'not_accepted-color-btn'; $msg = __('basic.placed'); @endphp @endif @endforeach
{{ __('basic.code') }} {{ __('basic.name') }} {{ __('basic.status') }} {{ __('basic.country') }} {{ __('basic.region') }} {{ __('basic.assign to') }} {{ __('basic.branch') }} {{ __('basic.handle') }}
{{ $item->code }} {{ $item->name }} {{ $msg }} @if($item->country) {{ $item->country->name }} @endif @if($item->region) {{ $item->region->name }} @endif @if($item->responsible) {{ $item->responsible->full_name }} @endif @if($item->branch) {{ $item->branch->name }} @endif
@endsection @section('js') @endsection