@extends('master.app') @section('title', 'Supplier Advances') @section('body')
{{-- TOP BAR --}}
Supplier Advances
Manage advances & target cash records
{{-- Report --}} @include('general.filter-button') Add Advance
@include('general.valert') {{-- FILTER FORM --}} {{-- @include('purchase.advances.filter-form') --}}
@forelse($advances as $row) @empty @endforelse
# Number Supplier Title Date Amount Target Action
{{ $loop->iteration }} {{ $row->invoice_number }}
{{ $row->supplier->name ?? 'N/A' }}
{{ $row->currency->title_en ?? '-' }} @if(!empty($row->ex_rate) && (float)$row->ex_rate != 1) {{ $row->ex_rate }} @endif
{{ $row->title }} {{ $row->date }} {{ number_format((float)$row->amount, 2) }} {{ $row->currency->title_en ?? '' }} @if($row->c_target == 1) Yes @else No @endif
No advances found.
{{ $advances->links('pagination::bootstrap-4') }}
@include('purchase.advances.filter-modal') @endsection @section('pageJs') @endsection