@extends('backend.layout.app') @section('title','User Order History') @push('css') @endpush @section('main_menu','HOME') @section('active_menu','User Details') @section('link',route('admin.adminDashboard')) @section('content')
{{$user->phone}}
| Id | Technician Name | Given device/Repair | status | completed Date |
|---|---|---|---|---|
| {{$key+1}} | @php($technician_name=\App\Technician::find($data->technician_id )) {{$technician_name->name}} |
@php($devices=\App\technician_device_stock::where('assign_id',$data->id)->get())
@if(count($devices) == 0)
only for repair
@else
@foreach($devices as $key=>$devices_data)
{{$key+1}}. {{$devices_data->device_model}} -> {{$devices_data->quantity}} Peace @endforeach @endif |
@if($data->status == 0) incomplete @elseif($data->status == 2) Not Completed @else Complete @endif | {{date("jS F Y - h:i:s A", strtotime($data->updated_at))}} |
| Id | Technician Name | Given device/Repair | status | completed Date |