@extends('layouts.master') @section('css') @toastr_css @section('title') {{ trans('Statment_trans.title_page') }} @stop @endsection @section('page-header')

{{ trans('Statment_trans.title_page') }}

@endsection @section('content')
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @can('تصدير') تصدير تقرير @endcan @can('isAdmin')

@endcan
@can('isAdmin') @endcan @foreach ($statments as $index => $statment) @can('isAdmin') @endcan @endforeach
# {{ trans('Statment_trans.name') }} {{ trans('Depts_trans.Name_Dept') }} {{ trans('Statment_trans.date') }}{{ trans('Statment_trans.by') }}{{ trans('Statment_trans.Pay_process') }} {{ trans('Statment_trans.Result_process') }} {{ trans('Depts_trans.Processes') }}
{{ $index + 1 }} {{ $statment->first_name }} {{ $statment->second_name }} {{ $statment->midell_name }} {{ $statment->last_name }} {{ $statment->dept->name }} {{ date('d-m-y', strtotime($statment->created_at)) }}{{ $statment->user->first_name }} {{ $statment->user->second_name }} @if ($statment->f_status == '0') {{ trans('Statment_trans.processing') }} @elseif ($statment->f_status == '1') {{ trans('Statment_trans.complate') }} @else {{ trans('Statment_trans.reject') }} @endif @if ($statment->r_status == '0') {{ trans('Statment_trans.processing') }} @elseif ($statment->r_status == '1') {{ trans('Statment_trans.complate') }} @else {{ trans('Statment_trans.reject') }} @endif @can('isAdmin') @endcan @can('isUser') @endcan @can('حذف افادة') @endcan
@endsection @section('js') @toastr_js @toastr_render @endsection