@extends('layouts.app') @section('content')
Total Pasien
{{ count($pasien) }}
Pasien Bulan Ini
{{ count($bulan) }}
Pasien Hari Ini
{{ count($HariIni) }}
{{-- Collapse excel --}}
{{csrf_field()}}
{{-- Collapse Pdf --}}
{{csrf_field()}}

Data Pasien Terdaftar

@foreach($pasien as $data) @endforeach
No. ID Nama Alamat Tgl. Periksa Action
{{ $no++ }} {{ $data['id'] }} {{ $data['nama'] }} {{ $data['alamat'] }} {{ date('d-F-Y', strtotime($data['created_at'])) }}
{{-- Modal edit --}} {{-- modal tambah --}} @endsection @section('customJs') @endsection