@extends('layouts.app') @section('content')

Total Quantity

{{ number_format($purchaseTotalSums->overall_total_quantity, 2) }}

Total Cost

{{ number_format($purchaseTotalSums->overall_total_cost, 2) }}

Total Paid

{{ number_format($purchaseTotalSums->overall_total_paid, 2) }}

Balance

{{ number_format($purchaseTotalSums->overall_total_cost - $purchaseTotalSums->overall_total_paid, 2) }}

{{-- @php $percentageChange = $Expenses > 0 ? (($pettyCash - $Expenses) / $Expenses) * 100 : 0; @endphp --}} @if (($purchaseTotalSums->overall_total_cost - $purchaseTotalSums->overall_total_paid) > 0) @else @endif
{{-- --}}

Data table

Id # Purchase Id Date Supplier total Quantity total Cost total Paid Status view
Facebook

813 friends

Twitter

9000 followers

Google plus

780 friends

Linkedin

1090 connections

@endsection