@extends('layouts.app_rest') @section('content')
Total Purchase

{{number_format($purchases->sum('final_total'), 2)}}

Paid Amount

{{number_format($purchases->sum('amount_paid'), 2)}}

Payables

{{number_format($purchases->sum('due'), 2)}}

@can('purchase.create') Add New @endcan @can('purchase.update') @endcan @can('purchase.view') @endcan @can('purchase.delete') @endif @can('purchase-payment.create') @endcan
@can('purchase.view')
{!! Form::text('date_range', null, ['placeholder' => __('Select Date Range'), 'class' => 'form-control', 'id' => 'product_sr_date_filter', 'readonly']); !!}
Date Ref No. Location Supplier Total Qty. Total Amt. Paid Due Payment Status
@endcan
@endsection @section('javascript') @endsection