@extends('layouts.master') @section('title', 'PetroERP- An ERP for Petrol Pumps') @section('content')
SMS

New Pumps

{!! Form::open(['action' => 'SmsController@search', 'method' => 'GET', 'class' => 'form-horizontal']) !!}
{{Form::text('key', Input::old('key'), ['class'=>'form-control', 'placeholder'=>'Type to search . . .'])}} {{Form::hidden('active', '')}} {{Form::submit('Search . . .', ['class'=>'btn btn-primary col-md-offset-2'])}}
{!! Form::close() !!} @if(count($pumps)>0)
@foreach($pumps as $pump) @endforeach
Pump Name SMS Balance Action
{{$pump->name}} {{$pump->smsBalance}}
{{$pumps->links()}}
@else

No SMS Records Founds.

@endif
@endsection