@extends('../layout/' . $layout)
@section('subhead')
Atarud MIS - Bill Payments
@endsection
@section('subcontent')
# |
Bill |
Account |
Year |
Month |
Payment Date |
Amount |
Description |
ACTIONS |
@foreach ($billPayments as $row)
@php
$account = App\Models\ChartofAccount::where('id', $row->account_id)->first();
$accountName = $account != null ? $account->name :'';
$bill = App\Models\BillPayments::where('id', $row->bill_id)->first();
$billTitle = $bill!= null? $bill->description :'';
@endphp
#{{ $loop->index + 1 }} |
{{ $billTitle }} |
{{ $accountName }} |
{{ $row->bill_year }} |
{{ $months[$row->bill_month - 1] }} |
{{ $row->payment_date }} |
{{ $row->amount }} |
{{ $row->description }} |
Edit
Delete
|
@endforeach
{{-- @include('../pages/billings/create') --}}
@include('../pages/account/edit')
@include('../pages/account/delete')
@endsection
@section('script')
@endsection