@extends($activeTemplate . 'layouts.master') @section('content')
@if ($buyHistories->count()) @if (count($buyHistories) > 0 && $vat > 0) @endif @foreach ($buyHistories as $buyHistory) @if (count($buyHistories) > 0 && $vat > 0) @endif @endforeach
@lang('Date Time') @lang('Category') @lang('Quantity') @lang('Amount') @lang('Charge')@lang('Vat')
{{ showDateTime($buyHistory->created_at) }} {{ $buyHistory->category->name }} {{ showAmount($buyHistory->quantity, 4, currencyFormat: false) }} @lang('gram') {{ showAmount($buyHistory->amount) }} {{ showAmount($buyHistory->charge) }}{{ showAmount($buyHistory->vat) }}
@else @endif
{{ paginateLinks($buyHistories) }}
@endsection @section('pageTitleIcon') image @endsection @push('pageHeaderButton') @lang('Buy Gold') @endpush