@extends('layouts.manage') @section('title')@lang('Vendor Dashboard') - {{config('app.name')}}@endsection @section('styles') @endsection @section('page-header-title') @lang('Vendor Dashboard') @endsection @section('page-header-description') @lang('View your earnings and payouts') @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 |