@extends('backend.partials.master') @section('title') {{ ___('vendor.Vendor payouts') }} @endsection @section('maincontent')
{{ ___('vendor.Download approved payouts (bank file)') }} @if(hasPermission('vendor_update'))
@csrf
@endif
@forelse($payouts as $p) @empty@endforelse
{{ ___('vendor.Ref') }}{{ ___('vendor.Vendor') }}{{ ___('vendor.Amount') }}{{ ___('vendor.Tax withheld') }}{{ ___('vendor.Net paid') }}{{ ___('vendor.Method / account') }}{{ ___('vendor.Status') }}{{ ___('vendor.Requested') }}
{{ $p->reference }}{{ $p->vendor?->company_name }} {{ currency_symbol() }}{{ number_format($p->amount, 2) }}@if($p->auto) {{ ___('vendor.auto') }}@endif{{ currency_symbol() }}{{ number_format($p->tds, 2) }}{{ currency_symbol() }}{{ number_format($p->netPaid(), 2) }}{{ $p->method }}
{{ $p->account_details }}
{{ ___('vendor.'.$p->status) }}{{ $p->requested_on?->format('d M Y') }} @if($p->isOpen() && hasPermission('vendor_update'))
@csrf @if($p->status === 'requested')@endif
@endif
{{ ___('vendor.No payout requests.') }}
@endsection