@extends('layouts.app') @section('content')
{{ count($resep) }}

Total Resep Obat

{{ count($hariIni) }}

Total Resep Obat Hari Ini

{{-- Collapse excel --}}
{{csrf_field()}}
{{-- Collapse Pdf --}}
{{csrf_field()}}

Data Rekam Medis

@for ($i = 0; $i < count($resep); $i++) @endfor
No. Nama Pasien Tanggal Resep Action
{{ $no++ }} {{ $resep[$i]['pasien']['nama'] }} {{ date('d-m-Y', strtotime($resep[$i]['created_at'])) }} {{-- --}}
{{-- modal detail --}} {{-- modal edit --}} {{-- --}} @endsection @section('customJs') @endsection