@extends('layouts.global') @section('title') List Pasien Umum @endsection @section('csrf') @endsection @section('content')

List Pasien Umum

@foreach ($pasien as $p) @endforeach
No. Tanggal Pendaftaran Nomor RM Nama Nomor KTP Umur Jenis Kelamin Alamat Nomor Telepon Jenis Asuransi Nomor BPJS Aksi
{{ $loop->iteration }} {{ $p->created_at }} {{ str_pad($p->nomor_rm, 6, '0', STR_PAD_LEFT) }} {{ $p->nama }} {{ $p->nomor_ktp }} {{ $p->umur }} tahun {{ $p->jenis_kelamin }} {{ ucfirst($p->alamat) }} {{ $p->nomor_telepon }} {{ ucfirst($p->jenis_asuransi) }} {{ $p->nomor_bpjs == null ? '-' : $p->nomor_bpjs}}
@endsection