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

List Pasien

@foreach ($pasien as $p) @endforeach
No. Nomor RM Nama Nomor KTP Asal Ruangan Kelas Umur Jenis Kelamin Alamat Nomor Telepon Jenis Asuransi Nomor BPJS Aksi
{{ $loop->iteration }} {{ str_pad($p->nomor_rm, 6, '0', STR_PAD_LEFT) }} {{ $p->nama }} {{ $p->nomor_ktp }} {{ $p->ruangan->nama_ruangan }} {{ $p->ruangan->kelas }} {{ $p->umur }} tahun {{ $p->jenis_kelamin }} {{ ucfirst($p->alamat) }} {{ $p->nomor_telepon }} {{ ucfirst($p->jenis_asuransi) }} {{ $p->nomor_bpjs == null ? '-' : $p->nomor_bpjs}}
@endsection @push('scripts') @if (Session::has('store_succeed')) @endif @if (Session::has('update_succeed')) @endif @if (Session::has('login_succeed')) @endif @endpush