osb/resources/views/theme/backend/adminlte/service/change_request.blade.php

62 lines
1.6 KiB
PHP
Raw Normal View History

@use(Carbon\Carbon)
2020-04-22 12:54:05 +00:00
@extends('adminlte::layouts.app')
@section('htmlheader_title')
{{ $o->sid }}
@endsection
@section('page_title')
{{ $o->sid }}
@endsection
@section('contentheader_title')
Service: {{ $o->sid }} <strong>{{ $o->product->name }}</strong>
@endsection
@section('contentheader_description')
{{ $o->name }}
2020-04-22 12:54:05 +00:00
@endsection
@section('main-content')
<div class="row">
<div class="col-12 col-md-6">
<form method="POST">
@csrf
2020-04-22 12:54:05 +00:00
<div class="card card-dark">
<div class="card-header p-2">
<div class="card-title">Change Service</div>
</div>
2020-04-22 12:54:05 +00:00
<div class="card-body">
<div class="row">
<div class="col-8 col-sm-5 col-md-12 col-lg-6">
<x-leenooks::form.date name="change_date" icon="fa-calendar" label="Request Change Date" :value="Carbon::now()->addDays(7)->format('Y-m-d')"/>
2020-04-22 12:54:05 +00:00
</div>
</div>
<div class="row">
<div class="col">
@includeIf('theme.backend.adminlte.service.widget.'.$o->product->category.'.change',['o'=>$o->type])
</div>
</div>
2020-04-22 12:54:05 +00:00
<div class="row">
<div class="col">
<x-leenooks::form.textarea name="notes" label="Notes" placeholder="Please let us know what you would like to change your service to" :value="$o->order_info_notes ?? ''"/>
2020-04-22 12:54:05 +00:00
</div>
</div>
</div>
<div class="card-footer">
<x-leenooks::button.cancel/>
<x-leenooks::button.submit class="float-right">Save</x-leenooks::button.submit>
2020-04-22 12:54:05 +00:00
</div>
</div>
</form>
2020-04-22 12:54:05 +00:00
</div>
<div class="col-6">
<div id="product_info"></div>
</div>
2020-04-22 12:54:05 +00:00
</div>
@endsection