@extends('franchise.layouts.master') @section('title', 'Dashboard') @section('links') @endsection @section('content')

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

{!! Form::open(['route' => 'franchisestations.store','role' => 'form', 'class'=>'employee-form','id' => 'employee-form','data-form-table' => 'employee_table']) !!}
{!! Form::input('latitude','latitude','',['class'=>'form-control','id'=>'latclicked','placeholder'=>trans('Latitude')])!!}
{!! Form::label('station_name','Station '.trans('messages.name'),['class' => 'col-sm-4 form-control-label'])!!}
{!! Form::input('station_name','station_name','',['class'=>'form-control','placeholder'=>trans('messages.name')])!!}
{!! Form::label('location_name','Location ',['class' => 'col-sm-4 form-control-label'])!!}
{!! Form::input('location_name','location_name','',['class'=>'form-control','placeholder'=>'Location '.trans('messages.name')])!!}
{!! Form::textarea('address',null,['class'=>'form-control', 'rows' => 2, 'cols' => 40]) !!}
{!! Form::label('state_id',trans('State'),['class' => 'col-sm-4 form-control-label'])!!}
{!! Form::select('state_id', [null => 'Select State'] +$state,'',['class'=>'form-control select2-show-search input-xlarge select2me','data-placeholder'=>'Choose One'])!!}
{!! Form::label('city_id',trans('City'),['class' => 'col-sm-4 form-control-label'])!!}
{!! Form::select('city_id', [null => 'Select City'] , '',['class'=>'form-control select2-show-search input-xlarge select2me','data-placeholder'=>'Choose One'])!!}
@foreach($servicetax as $tax) {!! Form::label('tax',$tax->name,['class' => 'col-sm-2 form-control-label'])!!}
@endforeach
{!! Form::label('opening_time','Opening Time ',['class' => 'col-sm-4 form-control-label'])!!}
{!! Form::input('opening_time','opening_time',isset($station->opening_time) ? $station->opening_time : '',['id'=>'opening_time','style'=>'width: 104%;','class'=>'form-control','placeholder'=>'Opening Time '])!!}
{!! Form::label('closing_time','Closing Time ',['class' => 'col-sm-4 form-control-label'])!!}
{!! Form::input('closing_time','closing_time',isset($station->closing_time) ? $station->closing_time : '',['id'=>'closing_time','style'=>'width: 104%;','class'=>'form-control','placeholder'=>'Closing Time '])!!}
{!! Form::close() !!}
@endsection @section('scripts') @endsection