@extends('layouts.manage') @section('title')@lang('Vendor') - {{config('app.name')}}@endsection @section('page-header-title') @lang('View Vendor') @if (Auth::user()->can('read', App\Vendor::class)) @lang('View All') @endif @endsection @section('page-header-description') @lang("View Vendor's earnings and payouts") @endsection @section('styles') @endsection @section('scripts') @if(config('settings.toast_notifications_enable')) @endif @endsection @section('content')
@lang('Product') | @lang('Quantity') | @lang('Total Price') | @lang('Vendor Amount') | @lang('Status') | @lang('Date') |
---|---|---|---|---|---|
{{$vendor_amount->product_name}} | {{ucwords($vendor_amount->product_quantity)}} | {{ucwords($vendor_amount->total_price)}} | {{ucwords($vendor_amount->vendor_amount)}} | {{ucwords($vendor_amount->status)}} | @if($vendor_amount->status == 'outstanding') {{$vendor_amount->outstanding_date->format('d-m-Y h:i A')}} @elseif($vendor_amount->status == 'earned') {{$vendor_amount->earned_date->format('d-m-Y h:i A')}} @elseif($vendor_amount->status == 'paid') {{$vendor_amount->payment_date->format('d-m-Y h:i A')}} @elseif($vendor_amount->status == 'cancelled') {{$vendor_amount->cancel_date->format('d-m-Y h:i A')}} @endif |
@lang('Transaction ID') | @lang('Amount') | @lang('Payment Method') | @lang('Date') |
---|---|---|---|
{{$vendor_payment->payment_id}} | {{currency_format($vendor_payment->amount, $vendor_payment->currency)}} | {{$vendor_payment->payment_method}} | {{$vendor_payment->created_at->format('d-m-Y h:i A')}} |