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

DIARIO DE {{$tipo}}: {{$paciente->nombre}} @if ($tipo !== 'ORTODONCIA') @endif

@foreach ($data as $d) {{-- Conditionally render row based on $tipo --}} /* Si $tipo es ORTODONCIA, solo mostramos las filas que tambien tengan tipo ORTODONCIA. Si $tipo NO es ORTODONCIA, solo mostramos las filas que NO tengan tipo ORTODONCIA */ @if (($tipo !== 'ORTODONCIA' && $d->tipo !== 'ORTODONCIA') || ($tipo === 'ORTODONCIA' && $d->tipo === 'ORTODONCIA')) @endif @endforeach
# ESTA CITA Doctor PIEZA PROXIMA CITA FECHA
#{{$d->id}} / {{$d->tipo}} {{$d->descripcion}} {{$d->doctor}} {{$d->piezas}} {{$d->proxima}} {{$d->created_at}}
@csrf @method('DELETE')
@endsection