@extends('layouts.master') @section('title', 'Invoice | Alboosh - Timeless authenticity, born of the desert') @section('title-topbar', $invoice_type) @section('css') @endsection @section('fixedcontent') @if (Session::has('success'))
@endif @endsection @section('content'){{ __('basic.patient') }}
type == 0) href="{{ route('sett.patient.show', $invoice->receivable->id) }}" @else @if ($invoice->receivable_type === 'App\Models\Invoice\Debtor') href="{{ route('sett.invo_debtor', $invoice->receivable->id) }}" @else href=" {{ route('sett.invo_debtor_doctor', $invoice->receivable->id) }}" @endif @endif >{{ $invoice->receivable->full_name }}{{ __('basic.id') }} {{ $invoice->receivable->id }}
{{ $invoice->code }}
{{ $invoice->branch->name }} @if ($invoice->worker) | {{ $invoice->worker->name }} @endif
{{ date('d M Y', strtotime($invoice->created_at)) }}
No attached
@endif{{ date('d M Y', strtotime($invoice->paid_date)) }} | {{ $payment_method_txt }}
| {{ __('basic.item') }} | {{ __('basic.description') }} | {{ __('basic.unit price') }} | {{ __('basic.quantity') }} | {{ __('basic.amount') }} |
|---|---|---|---|---|
| {{ $item->categorizable->name }} @if ($item->days) for {{ $item->days }} days @endif | {{ $item->description }} |
{{ $item->price }}
{{ $invoice->currency->code }}
|
{{ $item->qty }} |
{{ $item->final_price }}
{{ $invoice->currency->code }}
|
@endforeach
Basic Costs
Materials
{{ __('basic.payments') }}
| {{ __('basic.date') }} | {{ __('basic.entry') }} | {{ __('basic.payment') }} | {{ __('basic.treasury') }} | {{ __('basic.amount') }} |
|---|---|---|---|---|
|
{{ date('d M Y', strtotime($item_p->paid_date)) }}
@if ($item_p->worker)
worker: {{ $item_p->worker->full_name }} @endif |
{{ $item_p->acc_entry_id }}
|
{{ $item_p->id }}
|
{{ $item_p->treasury->name }}
|
{{ $item_p->amount }}
{{ $invoice->currency->code }}
|
{{ __('basic.not paid') }}
@elseif (in_array($invoice->status, [1, 2])){{ $invoice->final_price - $invoice->sum_payment }} {{ $invoice->currency->code }}
@else{{ $invoice->final_price }} {{ $invoice->currency->code }}
@endif