Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @extends('layout')
- @section('content')
- <?php $user = new User($id); ?>
- <h1>Technician #{{$id}} - {{$user->detail('full_name')}}</h1>
- <div class="customertable">
- <table class="table table-framed table-striped table-centered">
- <thead>
- <tr>
- <th>Work Order #</th>
- <th>Computer</th>
- <th>Date Opened</th>
- <th>Date Closed</th>
- <th>Status</th>
- </tr>
- </thead>
- <tbody>
- @foreach($orders as $order)
- <tr>
- <td><a href="{{URL::to('workorder/'.$order->id)}}"><strong>{{ sprintf("%04s", $order-> id) }}</strong></a></td>
- <td>{{ $order->computer }} {{$order->computer_model}} {{$order->computer_sn}} {{$order->computer_up}} {{Orders::Accessories($order)}}</td>
- <td>{{$order->date_opened}}</td>
- <td>{{$order->date_closed}}</td>
- <td><span class="label {{ str_replace(' ', '', strtolower($order->status)) }}">{{ $order->status }}</span></td>
- </tr>
- @endforeach
- </tbody>
- </table>
- </div>
- @stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement