@extends('admin.layouts.app') @section('panel')
@forelse($sales as $sale) @empty @endforelse
@lang('Product | Purchase Date') @lang('Author') @lang('Buyer') @lang('Purchase Code') @lang('Product Price') @lang('Seller Fee') @lang('Buyer Fee') @lang('Refunded') @lang('Action')
{{ __(strLimit($sale->product->title, 20)) }}
{{showDateTime($sale->created_at)}}
{{ __(@$sale->product->author->fullname) }}
{{ @$sale->product->author->username }}
{{ __(@$sale->buyer->fullname) }}
{{ @$sale->buyer->username }}
{{ $sale->purchase_code }} {{ showAmount($sale->product_price) }} {{ showAmount($sale->seller_fee) }} {{ showAmount($sale->buyer_fee) }} @php echo $sale->refundedBadge; @endphp
{{ __($emptyMessage) }}
@if ($sales->hasPages()) @endif
@endsection @push('breadcrumb-plugins') @endpush