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' )
2022-04-22 00:36:41 +00:00
{{ $o -> name }}
2020-04-22 12:54:05 +00:00
@ endsection
@ section ( 'main-content' )
2022-07-29 07:45:17 +00:00
< div class = " row " >
< div class = " col-12 " >
@ include ( 'adminlte::widget.status' )
</ div >
</ div >
2020-04-22 12:54:05 +00:00
< div class = " row " >
< div class = " col-6 " >
< div class = " card " >
< div class = " card-header " >
2021-09-29 04:57:25 +00:00
< div class = " card-title " > Change Service </ div >
2020-04-22 12:54:05 +00:00
</ div >
2021-09-29 04:57:25 +00:00
< form class = " form-horizontal " method = " POST " >
2020-04-22 12:54:05 +00:00
{{ csrf_field () }}
< div class = " card-body " >
< div class = " form-group row " >
2021-09-29 04:57:25 +00:00
< label for = " reference " class = " col-sm-2 col-form-label text-right " > Request Change Date </ label >
2020-04-22 12:54:05 +00:00
< div class = " col-sm-6 " >
< div class = " input-group " >
< div class = " input-group-prepend " >
< span class = " input-group-text " >< i class = " fa fa-fw fa-calendar " ></ i ></ span >
</ div >
2021-09-29 04:57:25 +00:00
< input type = " text " class = " form-control " id = " datestop " name = " change_date " value = " { { ( $x = \ Carbon \ Carbon::now()->addDays(7)) ? $x->format ('Y-m-d') : '' }} " >
2020-04-22 12:54:05 +00:00
</ div >
</ div >
</ div >
2024-07-04 05:03:11 +00:00
@ includeIf ( 'theme.backend.adminlte.service.widget.' . $o -> product -> category . '.change' ,[ 'o' => $o -> type ])
2020-04-22 12:54:05 +00:00
< div class = " form-group row " >
2021-09-29 04:57:25 +00:00
< label for = " notes " class = " col-2 col-form-label text-right " > Notes </ label >
< div class = " col-10 " >
< textarea class = " form-control " rows = " 4 " name = " notes " placeholder = " Please let us know what you would like to change your service to " > {{ $o -> order_info_notes ? ? '' }} </ textarea >
2020-04-22 12:54:05 +00:00
</ div >
</ div >
</ div >
< div class = " card-footer " >
< button type = " reset " class = " btn btn-secondary mr-2 " onclick = " window.history.go(-1); return false; " > Cancel </ button >
< button type = " submit " class = " btn btn-success " > Submit </ button >
</ div >
</ form >
</ div >
</ div >
2021-10-08 01:18:39 +00:00
< div class = " col-6 " >
< div class = " card " >
< div id = " product_info " ></ div >
</ div >
</ div >
2020-04-22 12:54:05 +00:00
</ div >
@ endsection
@ section ( 'page-scripts' )
2021-12-20 03:08:00 +00:00
@ themejs ( '//cdn.jsdelivr.net/momentjs/latest/moment.min.js' , 'moment-js' )
@ themejsc ( '//cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.min.js' , 'daterange-js' )
@ themecss ( '//cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.css' , 'daterange-css' )
2020-04-22 12:54:05 +00:00
< script >
$ ( document ) . ready ( function () {
$ ( '#datestop' ) . daterangepicker ({
singleDatePicker : true ,
showDropdowns : true ,
2021-09-29 04:57:25 +00:00
minDate : moment () . add ( 7 , 'days' ),
2020-04-22 12:54:05 +00:00
locale : {
format : 'YYYY-MM-DD'
}
});
});
</ script >
@ append