@extends('layouts.master') @section('title', 'Debtors | Proxima - Medical Management app') @section('title-topbar', 'Debtors') @section('css') @endsection @section('content')
Dashboard | Invoice | Invoice show
Debtor result

Receiver

{{ $debtor->name }}

ID {{ $debtor->id }}

Company Name

{{ $debtor->company_name }}


@foreach ($invoice as $item) @if ($item->status == 0) @php $text_color_invoice = 'cancel-color-btn'; $msg_invoice = 'Not Paid'; @endphp @elseif ($item->status == 1) @php $text_color_invoice = 'pend-color-btn'; $msg_invoice = __('basic.pending'); @endphp @elseif ($item->status == 2) @php $text_color_invoice = 'done-color-btn'; $msg_invoice = 'Paid'; @endphp @endif @endforeach
Name Branch Amount Status
{{ $item->code }} {{ $item->branch->name }} @if (!empty($item->paid)) {{ $item->paid }} EGP @endif {{ $msg_invoice }}
@endsection @section('js') @endsection