@extends('master') @section('breadcrumb') @stop @section('content')
{{ $shop->name }}
@if(kvfj(Auth::user()->permissions, 'shops_edit')) Editar @endif
{!! Form::open(['url' => '/shop/'.$shop->id.'/reservations/settings/add', 'files' => true]) !!}

Configurar fecha

{!! Form::date('rdate', null, ['required']) !!}
{!! Form::text('hours', $shop->reservations_hours, []) !!}
{!! Form::close() !!}

Configuración de fechas en {{ $shop->name }}

@foreach($shop->getShopReservationDatesSettings() as $DaySetting) @endforeach
Fecha Horas disponibles
{{ $DaySetting->date }} {!! Form::open(['url' => '/reservations/settings/'.$DaySetting->id.'/edit']) !!}
{!! Form::text('hours', $DaySetting->hours, ['class' => 'form-control']) !!}
{!! Form::close() !!}
{!! $shop->getShopReservationDatesSettings()->render() !!}
@stop