@extends(Auth::check() && Auth::user()->role->layout == 1 ? 'layouts.admin' : 'layouts.employee') @section('content')

{{trans('general.credit')}}

@include('alert.success') {!! Form::open(['url' => 'users/'.$user->id.'/credits']) !!} {{ method_field('POST') }}
{{ Form::label('m', 'Modalidad') }} {{ Form::select('m', [ '3' => '3 salidas', '7' => '7 salidas',] ), array('id' => 'modalidad', 'class' => 'form-control') }}
{{ Form::label('startDate', 'Fecha inicio') }} {{ Form::date('startDate', \Carbon\Carbon::now(), null, array('id' => 'startDate', 'class' => 'form-control')) }}
{{ Form::label('endDate', 'Fecha final') }} {{ Form::date('endDate', \Carbon\Carbon::now(), null, array('id' => 'endDate', 'class' => 'form-control')) }}
{{ Form::label('boat_id', 'Barco') }} {{ Form::select('boat_id', $boats, array('id' => 'b', 'class' => 'form-control')) }}
{{ Form::hidden('customer_id', $user->id) }} {!! Form::submit(trans('Cargar Salidas'), ['class' => 'btn btn-success btn-flat']) !!} {!! Form::close() !!}
@endsection @section('foot') @endsection