@forelse($history as $key=>$activity)

{!! __($activity->activity) !!}

@if($activity->purchase_payment_id) @lang('purchase::modules.vendorPayment.' . $activity->label)
{{ __('purchase::modules.vendorPayment.' . $activity->details) }} {{$activity->amount}} {{__('purchase::modules.vendorPayment.ofPurchaseOrder')}} {{$activity->purchase_order}} {{__('purchase::modules.vendorPayment.by')}} {{ mb_ucwords($activity->user->name) }} View Details @endif

{{ ($activity->created_at->diffForHumans()) }}

@empty

@lang('messages.noActivityByThisUser')

@endforelse