osb/resources/theme/backend/adminlte/a/service.blade.php

57 lines
1.4 KiB
PHP
Raw Normal View History

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
@default
@include('u.widgets.service_info')
@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;
@endswitch
<button type="submit" class="btn btn-info" name="action" value="save">Save</button>
</div>
</form>
2018-08-23 05:17:26 +00:00
</div>
</div>
@endsection