@extends('backend.layout.main') @section('content') @if(session()->has('message'))
{{ session()->get('message') }}
@endif @if(session()->has('not_permitted'))
{{ session()->get('not_permitted') }}
@endif

{{trans('file.Purchase List')}}

{!! Form::open(['route' => 'purchases.index', 'method' => 'get']) !!}
{!! Form::close() !!}
@if(in_array("purchases-add", $all_permission)) {{trans('file.Add Purchase')}}  {{trans('file.Import Purchase')}} @endif
@foreach($custom_fields as $fieldName) @endforeach @foreach($custom_fields as $fieldName) @endforeach
{{trans('file.Date')}} {{trans('file.reference')}} {{trans('file.Supplier')}} {{trans('file.Purchase Status')}} {{trans('file.grand total')}} {{trans('file.Returned Amount')}} {{trans('file.Paid')}} {{trans('file.Due')}} {{trans('file.Payment Status')}}{{$fieldName}}{{trans('file.action')}}
{{trans('file.Total')}}
@endsection @push('scripts')