@extends('layouts.blank')
@push('stylesheets')
.customLabelDefault{
color: white;
font-size: 12px;
box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);}
.customLabelPrimary{
color: white;
font-size: 12px;
box-shadow:
0 8px 8px 0 rgba(0, 255, 255, 0.2), 0 6px 20px 0 rgba(0, 191, 255, 0.19);}
.customLabelDanger{
color: white;
font-size: 12px;
box-shadow:
0 8px 8px 0 rgba(255, 0, 0, 0.2), 0 6px 20px 0 rgba(255, 0, 0, 0.19);}
.customLabelSuccess{
color: white;
font-size: 12px;
box-shadow:
0 8px 8px 0 rgba(0, 255, 0, 0.2), 0 6px 20px 0 rgba(0, 255, 0, 0.19);}
.customLabelWarning{
color: white;
font-size: 12px;
box-shadow:
0 8px 8px 0 rgba(255, 174, 0, 0.2), 0 6px 20px 0 rgba(255, 174, 0, 0.19);}
@endpush
@push('inline-scripts')
@if(isset($selectedBranches))
var selectedBranches = null;
@else
var selectedBranches = [];
@endif
@endpush
@push('scripts')
@endpush
@section('main_container')
{!! Form::open(array('route' => array('amenities.store'), 'class' => 'form-horizontal form-label-left', 'method' => 'POST')) !!}
{!! Form::select('branch[]', [], null, array('id' => 'branch', 'class' => 'form-control', 'multiple' => 'multiple')) !!}
{!! Form::text('date', $date, array('class' => 'form-control', 'id' => 'date')) !!}
{{--
--}}
{{--
--}}
{{-- --}}
{{-- {!! Form::text('dateFrom', $dateFrom, array('class' => 'form-control', 'id' => 'dateFrom')) !!}--}}
{{--
--}}
{{--
--}}
{{--
--}}
{{--
--}}
{{-- --}}
{{-- {!! Form::text('dateTo', $dateTo, array('class' => 'form-control', 'id' => 'dateTo')) !!}--}}
{{--
--}}
{{--
--}}
Amenities
{{ $formattedDateFrom == $formattedDateTo ? $formattedDateFrom : $formattedDateFrom . ' - ' . $formattedDateTo }}
| Date |
Branch |
Description |
Quantity |
@foreach($amenitiesPool as $amenities)
| {{ $amenities->date }} |
{{ $amenities->branch }} |
{{ $amenities->description }} |
{{ $amenities->qty }} |
@endforeach
{!! Paginate::show($amenitiesPool) !!}
{{ $amenitiesPool->appends(request()->except('page'))->links() }}
{!! Form::close() !!}
@endsection