@extends('layout.main') @section('title', 'Daftar Cashbon') @section('prev-page') Home @endsection @section('content')
@php $panel_colapse = !empty($input->key) || !empty($input->employee) || isset($input->status) ? '' : 'panel-collapsed'; @endphp @if (!empty($summary))Nilai Cashbon: Rp{{ number_format($summary->value, 0, ',', '.') }}
Cashbon Digunakan: Rp{{ number_format($summary->used, 0, ',', '.') }}
Sisa: Rp{{ number_format($summary->value - $summary->used, 0, ',', '.') }}
ID Cashbon | Nama Pegawai | Tanggal | Keterangan | Nilai | Sudah Digunakan | Sisa | Status | Dibuat Oleh | |
---|---|---|---|---|---|---|---|---|---|
{{ $cashbon->number }} | {{ $cashbon->employee->name }} | {{ date_format(date_create($cashbon->created), 'd M Y H:i:s') }} | @if (empty($cashbon->description)) {{ '-' }} @else @php $description = str_replace("\"", "\'\'", $cashbon->description); $description = nl2br($description); @endphp {{ mb_strimwidth(strip_tags($cashbon->description), 0, 30, '...') }} @endif | Rp{{ number_format($cashbon->amount, 0, ',', '.') }} | Rp{{ number_format($cashbon->used, 0, ',', '.') }} | Rp{{ number_format($cashbon->amount - $cashbon->used, 0, ',', '.') }} | {{ $cashbon->status->name }} | {{ $cashbon->creator->name }} | @if ($cashbon->used == 0 && strtotime($cashbon->created) > strtotime('-12 hours')) @endif |
Belum ada data. |