@extends('layouts.master') @section('title', 'Charging Stations') @section('links') @endsection @section('content')

{!! trans('messages.list_all') !!} {!! trans('messages.stations') !!}

@if(Entrust::can('manage_stations'))
{!! Form::open(['url' => 'stations/list','role' => 'form', 'class'=>'employee-form form-inline','id' => 'filter-form','data-form-table' => 'employee_table']) !!}
@if(!Entrust::hasRole('organisation'))
{!! Form::select('application', [null => 'Organization']+$packages, '',['id'=>'application','class'=>'form-control select2-show-search input-xlarge select2me'])!!}
@endif  
{!! Form::select('city_id', [null => 'City']+$cities, '',['id'=>'city','class'=>'form-control select2-show-search input-xlarge select2me'])!!}
 
{!! Form::select('franchise_id', [null => 'Select Franchise']+$franchise, '',['id'=>'franchise','class'=>'form-control select2-show-search input-xlarge select2me'])!!}
 
{!! Form::select('connector_type', [null => 'Connector Types']+$connector_types, '',['id'=>'connectortypes','class'=>'form-control select2-show-search input-xlarge select2me'])!!}
 
{!! Form::select('charger_code', [null => 'Charger Types']+$charger_types, '',['id'=>'chargertypes','class'=>'form-control select2-show-search input-xlarge select2me'])!!}
 
{!! Form::select('status', [ 'active' => 'Active', 'banned' => 'Banned', 'under_maintained'=>'Under Maintained', 'upcomming'=>'Upcomming'],'',['id'=>'status','class'=>'form-control input-xlarge select2me','placeholder'=>trans('messages.select_one')])!!}
 
{!! Form::close() !!}
@if(Entrust::can('create_stations')) @endif
@foreach($col_heads as $col_head) @if($col_head == 'Option') @else @endif @endforeach
{!! $col_head !!}{{ $col_head }}
@endif @endsection @section('scripts') @endsection