@extends('layouts.master') @section('title', 'Installment | Proxima - Medical Management app') @section('title-topbar', 'Installment') @section('css') @endsection @if (Session::has('success'))

Sent Successfully

{{ Session::get('success') }}

@endif @section('content')
Dashboard | Invoice | Installments
Installment @if (request()->date) {{ request()->date }} @else this day @endif
@foreach ($invoice as $item) @endforeach
{{ __('basic.date') }} {{ __('basic.code') }} {{ __('basic.patient') }} {{ __('basic.service') }} {{ __('basic.worker') }} {{ __('basic.amount') }}
{{ date('d M Y', strtotime($item->installment_date)) }} {{ $item->invoice->code }} {{ $item->invoice->receivable->name }} @foreach ($item->invoice->invoice_items as $item_t) {{ $item_t->categorizable->name . ' | ' }} @endforeach {{ $item->worker->name }} {{ $item->amount }}
TOTAL {{ $invoice->sum('amount') }} EGP
@endsection @section('js') @endsection