@extends('layouts.adminapp') @section('title') {{ __('lng.Purchase') }} @endsection @section('open_product', 'open') @section('active_product', 'active') @section('active_purchase', 'active') @section('content')

{{ __('lng.Purchase') }}

{{ __('lng.PurchaseTable') }}
@if ($SearchResult) @php echo $SearchResult @endphp @else
@php $si=0; @endphp @foreach ($Purchases as $Purchase) @php $Date = date("d-m-Y",strtotime($Purchase->date));@endphp @endforeach
{{ __('lng.SiNo') }} {{ __('lng.Supplier') }} {{ __('lng.Date') }} {{ __('lng.Invoice') }} {{ __('lng.Amount') }} {{ __('lng.TaxAmount') }} {{ __('lng.TotalAmount') }} {{ __('lng.Action') }}
{{ ++$si }} {{ $Purchase->Supplier->title ?? '' }} {{ $Date }} {{ $Purchase->invoicenumber }} @currency($Purchase->amount) @currency($Purchase->tax_amount) @currency($Purchase->total_amount)
@csrf @method('delete')

{{ __('lng.Showing') }} {{ $Purchases->count() }} {{ __('lng.Items') }}

@endif
@endsection