@extends('layout.sidebar') @section('content') {{ HTML::style('css/travelreport/index.css') }} {{ Form::hidden('daily-travel-attendance', action('TravelReportController@getDailyTravelAttendance', array()), array('id'=>'daily-travel-attendance')) }} {{ Form::hidden('daily-travel-attendance-complete', action('TravelReportController@getDailyTravelAttendanceComplete', array()), array('id'=>'daily-travel-attendance-complete')) }} {{ Form::hidden('travel-detail', action('TravelReportController@getTravelbystudent', array()), array('id'=>'travel-detail')) }} {{ Form::hidden('travel-report', action('TravelReportController@getGenerateTravelReport', array()), array('id'=>'travel-report')) }} {{ Form::hidden('travel-log', action('TravelReportController@getTravelchangelog', array()), array('id'=>'travel-log')) }} {{ Form::hidden('travelformat', action('TravelReportController@getFormatRoutes', array()), array('id'=>'travelformat')) }} {{ Form::hidden('travelformatnews', action('TravelReportController@getFormatRoutesNews', array()), array('id'=>'travelformatnews')) }} {{ Form::hidden('travelformatautorized', action('TravelReportController@getFormatSecondaryCaretakers', array()), array('id'=>'travelformatautorized')) }} {{ Form::hidden('today-date', $today, array('id'=>'today-date')) }} {{ Form::hidden('employee', $employee, array('id'=>'employee')) }} {{ Form::hidden('shifts', action('ShiftController@getTravelsbyschoolyearshiftoptions', array()), array('id'=>'shifts')) }} {{ Form::hidden('serial_sst_dpd', $schoolSetup->serial_sst, array('id'=>'serial_sst_dpd')) }} {{ Form::hidden('travel-reportt', action('TravelReportController@getGenerateTravelReportTomasMoro', array()), array('id'=>'travel-reportt')) }} {{ Form::hidden('bus-travel-report', action('TravelReportController@getBusTravelReport', array()), array('id'=>'bus-travel-report')) }} {{ Form::hidden('course-travel-report', action('TravelReportController@getCourseTravelReport', array()), array('id'=>'course-travel-report')) }} @if ($profile == 'sectionemployee') {{ Form::hidden('sections', action('SectionController@getSectionsbyschoolyearsectionemployeeoptions', array()), array('id'=>'sections')) }} {{ Form::hidden('course', action('CourseController@getCoursesbysectionschoolyearsectionemployeeoptions', array()), array('id'=>'course')) }} @else {{ Form::hidden('sections', action('SectionController@getSectionsbyschoolyearmoreoptions', array()), array('id'=>'sections')) }} {{ Form::hidden('course', action('CourseController@getCoursesbysectionschoolyearoptions', array()), array('id'=>'course')) }} @endif

Reportes

Año Lectivo {{ Form::select('serial_scy', $schoolyears, $serial_scy, array('id'=>'serial_scy', 'class'=>'form-control', 'aria-describedby'=>'basic-addon1')) }}
@if ($profile == 'none' || $profile == 'sectionemployee') @endif @if ($profile == 'none' || $profile == 'sectionemployee')
Sección {{ Form::select('serial_set', $sections, "", array('id'=>'serial_set', 'class'=>'form-control', 'aria-describedby'=>'basic-addon1')) }}
Curso {{ Form::select('serial_crs', array(''=>'Todos'), "", array('id'=>'serial_crs', 'class'=>'form-control', 'aria-describedby'=>'basic-addon2')) }}
Turno {{ Form::select('serial_sft', $shifts, "", array('id'=>'serial_sft', 'class'=>'form-control', 'aria-describedby'=>'basic-addon1')) }}
Recorrido {{ Form::select('serial_trv', $travels, "", array('id'=>'serial_trv', 'class'=>'form-control', 'aria-describedby'=>'basic-addon2')) }}
@if($schoolSetup->serial_sst==9)
{{ Form::button('Generar Reporte', array('class' => 'btn btn-warning', 'id' => 'btnTravelDetailT')) }}
{{ Form::button('Lista Semanal Bus', array('class' => 'btn btn-primary', 'id' => 'btnBusTravelDetail')) }}
@else
{{ Form::button('Generar Reporte', array('class' => 'btn btn-warning', 'id' => 'btnTravelDetail2')) }}
@endif
@endif @if ($profile == 'none' || $profile == 'sectionemployee' || $profile == 'busauxiliar')
Fecha {{ Form::text('attendance_date', $today, array('class'=>'form-control datepicker', 'placeholder'=>'yyyy-mm-dd', 'aria-describedby'=>'basic-addon3', 'id'=>'attendance_date')) }}
{{ Form::checkbox('address', '', false, array('id' => 'address')) }} {{ Form::label('address', 'Incluir Direcciones') }}
{{ Form::checkbox('legend', '', false, array('id' => 'legend')) }} {{ Form::label('legend', 'Mostrar Leyenda') }}
@if ($profile != 'busauxiliar')
Turno {{ Form::select('select-shift-daily', $shifts, "", array('id'=>'select-shift-daily', 'class'=>'form-control', 'aria-describedby'=>'basic-addon1')) }}
@endif
Recorrido {{ Form::select('select-travel-daily', $travels, "", array('id'=>'select-travel-daily', 'class'=>'form-control', 'aria-describedby'=>'basic-addon1')) }}
@endif @if ($profile == 'none' || $profile == 'sectionemployee')
Fecha Inicio {{ Form::text('start-date-log', $today, array('class'=>'form-control datepicker-old', 'placeholder'=>'yyyy-mm-dd', 'aria-describedby'=>'basic-addon3', 'id'=>'start-date-log')) }}
Fecha Final {{ Form::text('end-date-log', $today, array('class'=>'form-control datepicker-old', 'placeholder'=>'yyyy-mm-dd', 'aria-describedby'=>'basic-addon3', 'id'=>'end-date-log')) }}
Turno {{ Form::select('select-shift-log', $shifts, "", array('id'=>'select-shift-log', 'class'=>'form-control', 'aria-describedby'=>'basic-addon1')) }}
Recorrido {{ Form::select('select-travel-log', $travels, "", array('id'=>'select-travel-log', 'class'=>'form-control', 'aria-describedby'=>'basic-addon2')) }}
{{ Form::button('Generar Reporte', array('class' => 'btn btn-warning', 'id' => 'btnTravelLog')) }}
@endif
{{ Form::hidden('hdnStudents', action('StudentController@getStudentsByString', array()), array('id'=>'hdnStudents')) }} {{ Form::hidden('hdnStudentInfo', action('StudentController@postStudentTravelInfo', array()), array('id'=>'hdnStudentInfo')) }} {{ Form::open(array('url' => '','id'=>'frmStudent')) }}
{{ Form::close() }}


@if($schoolSetup->serial_sst==9)
Fecha {{ Form::text('course_date', $today, array('class'=>'form-control datepicker', 'placeholder'=>'yyyy-mm-dd', 'aria-describedby'=>'basic-addon3', 'id'=>'course_date')) }}
Sección {{ Form::select('serial_set_tr', $sections, "", array('id'=>'serial_set_tr', 'class'=>'form-control', 'aria-describedby'=>'basic-addon1')) }}
Curso {{ Form::select('serial_crs_tr', array('all'=>'Todos'), "", array('id'=>'serial_crs_tr', 'class'=>'form-control', 'aria-describedby'=>'basic-addon2')) }}
{{ Form::button('Generar Reporte', array('class' => 'btn btn-warning', 'id' => 'btnCourseTravel')) }}
@endif
{{ HTML::script('js/travelreport/index.js') }} @stop()