ultimatepos/Modules/Portal/Resources/views/supplier/payments/index.blade.php

25 lines
1.1 KiB
PHP

@extends('portal::layouts.supplier')
@section('title', __('purchase.payments'))
@section('content')
<section class="content-header"><h1>@lang('purchase.payments')</h1></section>
<section class="content">
<div class="box box-primary"><div class="table-responsive">
<table class="table table-bordered table-striped">
<thead><tr><th>@lang('messages.date')</th><th>@lang('purchase.ref_no')</th><th>@lang('sale.amount')</th><th>@lang('lang_v1.payment_method')</th></tr></thead>
<tbody>
@forelse($payments as $payment)
<tr>
<td>@format_date($payment->paid_on)</td>
<td>{{ $payment->ref_no ?? $payment->invoice_no }}</td>
<td><span class="display_currency" data-currency_symbol="true">{{ $payment->amount }}</span></td>
<td>{{ $payment->method }}</td>
</tr>
@empty
<tr><td colspan="4" class="text-center text-muted">@lang('portal::lang.no_records')</td></tr>
@endforelse
</tbody>
</table>
</div>{{ $payments->links() }}</div>
</section>
@endsection