@endif
|
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}} |
@if (auth()->user()->is_superadmin )
{{$waste->price ? $waste->price: ''}} |
{{$waste->price ? $waste->price * $waste->quantity: ''}} |
@endif
{{$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 )
@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
|
@endforeach