@extends( 'layouts.app' ) @section('title') All Purchases @stop @section('breadcrumb') @stop @section('content')

All Purchases

@foreach($allPurchases as $purchase) @endforeach
# Date Product Supplier Rate Quantity Total Tax Net Action
{{$count++}} {{date('d-m-Y', strtotime($purchase->date)) }} {{$purchase->product}} {{$purchase->supplier}} {{number_format($purchase->rate)}} {{$purchase->qty}} {{number_format($purchase->total)}} {{number_format(($purchase->tax / 100) * $purchase->total)}} [{{$purchase->tax}}%] {{number_format($purchase->net)}}
@stop @section('js') @stop