@extends('layouts.default_module') @section('module_name') Pharmacy @stop @section('add_btn') {!! Form::open(['method' => 'get', 'route' => ['pharmacy.create'], 'files'=>true]) !!} {!! Form::submit('Add', ['class' => 'btn btn-success pull-right']) !!} {!! Form::close() !!} @stop @section('table-properties') width="400px" style="table-layout:fixed;" @endsection @section('table') {{-- {!! Form::open(['method' => 'post', 'route' => ['doctor.search'], 'files'=>true]) !!} @include('admin.doctor.partial.searchfilters') {!!Form::close() !!} --}} {{-- @stop --}} Pharmacy ID Name Edit Active / DeActive Delete @foreach($pharmacy as $p) {!! $p->pharmacy_id !!} {!! ucwords($p->name) !!} {!! link_to_action('Admin\PharmacyController@edit', 'Edit', array($p->id), array('class' => 'badge bg-info')) !!} {!! Form::open(['method' => 'POST', 'route' => ['pharmacy.statusUpdate', $p->id]]) !!} {!! $p->deleted_at?'Active':'Deactive' !!} {!! Form::close() !!} {!! Form::open(['method' => 'POST', 'route' => ['pharmacy.delete', $p->id]]) !!} Delete {!! Form::close() !!} @endforeach @section('pagination') {!! $pharmacy->render() !!}
{!! Form::open(['method' => 'get', 'route' => ['dashboard']]) !!} {!! Form::submit('Cancel', ['class' => 'btn btn-default btn-block btn-lg btn-parsley']) !!} {!! Form::close() !!}
@endsection @stop