@extends('layouts.app') @section('content')

REGISTRO PARA LABORATORIOS

@php $total = 0; @endphp @foreach ($pacientes as $pl) @php $total += $pl->total; @endphp @endforeach
Fecha Laboratorio Paciente Descripcion de Pago Total
{{$pl->created_at}} {{$pl->nombre}} {{$pl->paciente}} {{$pl->descripcion}}Q. {{number_format($pl->total, 2)}}

TOTAL DEUDA: Q. {{number_format($total, 2)}}

@endsection @section('scripts') @endsection