@extends('purchases.layout') @section('purchases.content')
@foreach($purchases as $purchase) @endforeach
Supplier Items Payment Method Amount Balance Actions
{{$purchase?->supplier?->name ?: "(blank)"}} {{$purchase?->item?->name ?: "(blank)"}} {{$purchase?->payment_method?->name ?: "(blank)"}} {{ $purchase->amount ?: "(blank)" }} {{ $purchase->balance ?: 0 }} @if($purchase->trashed())
@csrf @method('PUT')
@csrf @method('DELETE')
@else @lang('Show')
@endif
{{-- {{ $purchases->withQueryString()->links() }} --}}
@endsection