@extends('layouts.default_module') @section('module_name') Shipping @stop @section('add_btn') {!! Form::open(['method' => 'get', 'route' => ['shipping.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') name price from quantity upto quantity box length box width box height edit delete @foreach($shipping as $key=>$sh) {!! $sh->name !!} ${!! $sh->price !!}.00 {!! $sh->from_quantity !!} {!! $sh->upto_quantity !!} {!! $sh->dimention_length !!} {!! $sh->dimention_width !!} {!! $sh->dimention_height !!} {!! link_to_action('ShippingController@edit', 'Edit', array($sh->id), array('class' => 'badge bg-info')) !!} {!! Form::open(['method' => 'POST', 'route' => ['shipping.delete', $sh->id]]) !!} {!! $sh->deleted_at?'Activate':'Delete' !!} {!! Form::close() !!} @endforeach @section('pagination') {!! $shipping->render() !!}
{!! Form::open(['method' => 'get', 'route' => ['dashboard']]) !!} {!! Form::submit('Cancel', ['class' => 'btn btn-default btn-block btn-lg btn-parsley']) !!} {!! Form::close() !!}
@endsection @stop