@extends('layouts.master') @section('content') Groups Chart User Image User Image Add Quick Carta !
{{ csrf_field() }}
@if (auth()->user()->is_superadmin ) @endif @foreach( $wastes as $waste ) @php $price_column_name = "p".$waste->waste->id @endphp @if ( $waste->approve == NULL ) @elseif ( $waste->approve == "approved" && $waste->customer_id == NULL ) @elseif ( $waste->approve == "approved" && $waste->customer_id != NULL ) @else @endif @if (auth()->user()->is_superadmin ) @endif @endforeach
ساعة الخروج ساعة الوصول المورد الـمخـلـف الكمية وحدة الوزن سعر اجمالي السعر طريقة التعبئة الحالة الفزيائية طرق التخلص المعتمد جهة التدوير المعتمدة رقم السيارة اسم السائق اسم المشرف Reviewer Sender الفرع المخزن Actions
approve != "approved"?"disabled":''}}> {{$waste->created_at}}
@if (auth()->user()->is_superadmin ) # {{$waste->id }} @else # {{$waste->id }} @endif
@if ($waste->num_of_edit > 0 ) {{ $waste->num_of_edit }} @endif
{{ $waste->approve == "approved" ? $waste->updated_at : 'waiting...'}} {{$waste->supplier->name}} {{$waste->waste->name}} {{$waste->quantity}} {{$waste->waste->unit}} {{$waste->price ? $waste->price: ''}} {{$waste->price ? $waste->price * $waste->quantity: ''}} {{$waste->packingmethod->name}} {{$waste->physicalcondition->name}} {{$waste->waste->res_method->name}} {{$waste->customer_id ? $waste->customer->name : 'Waiting...' }} @if ( $waste->approve == "approved" ) Change @endif {{$waste->vehicle->vehicle_num}} {{$waste->driver->name}} {{$waste->user->name}} {{ $waste->admin_id ? $waste->admin_approve->name: ''}} @if ( $waste->comment != NULL )
User Image {{$waste->comment}}
@endif
{{ $waste->sent_to_recy_admin_id ? $waste->admin_sender->name: ''}} {{$waste->sell_store ? $waste->sell_store->branch->name:$waste->branch->name}}
@if ( $waste->sell_store_id == NULL ) @endif
{{$waste->sell_store ? $waste->sell_store->store->store_name:''}}
@if ( $waste->sell_store_id == NULL ) @endif
@if ( $waste->approve != "approved") @endif @if ( $waste->approve != "approved" ) @elseif ( $waste->approve == "approved" && auth()->user()->is_superadmin ) @endif
@endsection