2018-08-23 05:17:26 +00:00
|
|
|
@extends('adminlte::layouts.app')
|
|
|
|
|
|
|
|
@section('htmlheader_title')
|
|
|
|
Service #{{ $o->id }}
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('contentheader_title')
|
|
|
|
Service #
|
|
|
|
@endsection
|
|
|
|
@section('contentheader_description')
|
|
|
|
{{ $o->service_id }}
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('main-content')
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="box box-primary">
|
2019-01-24 03:40:33 +00:00
|
|
|
<form role="form" method="POST" enctype="multipart/form-data">
|
|
|
|
{{ csrf_field() }}
|
2018-08-23 05:17:26 +00:00
|
|
|
|
2019-01-24 03:40:33 +00:00
|
|
|
<div class="box-header with-border">
|
|
|
|
<h3 class="box-title">Service Information</h3>
|
2018-08-23 05:17:26 +00:00
|
|
|
</div>
|
|
|
|
|
2019-01-24 03:40:33 +00:00
|
|
|
<div class="box-body">
|
2018-08-23 05:17:26 +00:00
|
|
|
<div class="col-md-3">
|
2019-01-24 03:40:33 +00:00
|
|
|
@switch($o->order_status)
|
|
|
|
@case('ORDER-SUBMIT')
|
|
|
|
@include('a.widgets.service.order.submit')
|
|
|
|
@break
|
|
|
|
|
2019-01-24 09:12:00 +00:00
|
|
|
@case('ORDER-SENT')
|
2019-01-24 10:55:43 +00:00
|
|
|
@case('ORDERED')
|
2019-01-24 09:12:00 +00:00
|
|
|
@include('a.widgets.service.order.sent')
|
|
|
|
@break
|
|
|
|
|
2019-01-24 03:40:33 +00:00
|
|
|
@default
|
2019-01-24 10:49:56 +00:00
|
|
|
@include('u.widgets.service.info')
|
2019-01-24 03:40:33 +00:00
|
|
|
@endswitch
|
2018-08-23 05:17:26 +00:00
|
|
|
</div>
|
|
|
|
|
2019-01-24 03:40:33 +00:00
|
|
|
@if($o->order_status == 'ORDER-REQUEST')
|
|
|
|
<div class="col-md-3">
|
|
|
|
@include('a.widgets.service_order-request')
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="box-footer">
|
|
|
|
@switch($o->order_status)
|
|
|
|
@case('ORDER-SUBMIT')
|
|
|
|
<button type="submit" class="btn btn-info btn-danger" name="action" value="reject">Reject</button>
|
2019-01-24 06:16:51 +00:00
|
|
|
<button type="submit" class="btn btn-info btn-warning" name="action" value="approve">Approve</button>
|
2019-01-24 03:40:33 +00:00
|
|
|
@break;
|
2019-01-24 09:12:00 +00:00
|
|
|
|
|
|
|
@case('ORDER-SENT')
|
2019-01-24 10:55:43 +00:00
|
|
|
@case('ORDERED')
|
2019-01-24 09:12:00 +00:00
|
|
|
<button type="submit" class="btn btn-info btn-danger" name="action" value="update_reference">Update</button>
|
|
|
|
@break;
|
|
|
|
|
2019-01-24 03:40:33 +00:00
|
|
|
@endswitch
|
|
|
|
|
2019-01-24 09:12:00 +00:00
|
|
|
{{-- <button type="submit" class="btn btn-info" name="action" value="save">Back</button> --}}
|
2019-01-24 03:40:33 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
2018-08-23 05:17:26 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|