@extends('layouts.app') @section('title', 'Arus Kas Apotek - MCU Klinik Mustika') @section('breadcrumb')
| No. | @include('partials.tables.sort_link', ['column' => 'flow_date', 'label' => 'Tanggal']) | @include('partials.tables.sort_link', ['column' => 'flow_number', 'label' => 'Nomor']) | @include('partials.tables.sort_link', ['column' => 'flow_type', 'label' => 'Jenis']) | Lokasi | Keterangan | @include('partials.tables.sort_link', ['column' => 'amount', 'label' => 'Nominal']) | @include('partials.tables.sort_link', ['column' => 'status', 'label' => 'Status']) | Dicatat Oleh | Aksi |
|---|---|---|---|---|---|---|---|---|---|
| {{ $flows->firstItem() + $loop->index }} | {{ \App\Helpers\DateHelper::formatShort($flow->flow_date) }} | {{ $flow->flow_number }} |
{{ $flow->flow_type === 'in' ? 'Masuk' : 'Keluar' }}
{{ $flow->is_system_generated ? 'Otomatis' : 'Manual' }}
|
{{ $flow->location?->name ?? '-' }} |
{{ $flow->description }}
@if ($flow->reference_number)
Ref: {{ $flow->reference_number }}
@endif
|
Rp {{ number_format($flow->amount, 0, ',', '.') }} | {{ ['pending' => 'Menunggu', 'approved' => 'Disetujui', 'rejected' => 'Ditolak'][ $flow->status ] }} | {{ $flow->creator->name }} |
@if ($flow->status === 'pending' && !$flow->is_system_generated && (int) $flow->created_by !== (int) auth()->id())
@can ('approve-cash-flow')
|
| Tidak ada data yang cocok dengan pencarian. | |||||||||