@extends('layouts.yellow') @push('styles') @endpush @section('content')
{{ __('Referencia') }}: {{ $model->reference }}
{{ __('com-form-payment.userReference') }}: {{ $model->user_reference }}
| {{ __('Servicio') }} | {{ __('Costo') }} | {{ __('Moneda') }} | {{ __('Fecha de Registro') }} |
|---|---|---|---|
| {{ $service->name }} | {{ number_format($service->pivot->cost ?? $service->cost, 2) }} | {{ $model->currency->code ?? 'USD' }} | {{ $model->created_at->format('d/m/Y H:i') }} |
| {{ __('Total') }}: | {{ number_format($model->medicalServices->sum(function($item) { return $item->pivot->cost ?? $item->cost; }), 2) }} | {{ $model->currency->code ?? 'USD' }} |
| {{ __('Fecha') }} | {{ __('Monto') }} | {{ __('Moneda') }} | {{ __('Método') }} | {{ __('Referencia') }} | {{ __('Registrado por') }} |
|---|---|---|---|---|---|
| {{ $child->created_at->format('d/m/Y H:i') }} | {{ number_format($child->amount, 2) }} | {{ $child->currency->title ?? 'N/A' }} | {{ $child->paymentMethod->title ?? 'N/A' }} | @if($child->reference) {{ $child->reference }} @else N/A @endif |
{{ substr(($child->user->profile->firstname ?? 'U')[0], 0, 1) }}
{{ $child->user->profile->firstname ?? 'Usuario' }}
{{ $child->user->profile->lastname ?? '' }}
{{ $child->created_at->diffForHumans() }}
|
{{ __('Total Pagado en Adicionales') }}: |
{{ number_format($childPayments->sum('amount'), 2) }} {{ $model->currency->code ?? '' }} |
||||