@extends('layouts.app') @section('pageTitle', 'Cash Bon - Detail') @section('content') @include('notify')
View Data Cash Bon
@php $tanggal = \Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $cashbon->data->created_at); @endphp @if($tanggal->addDays(3) > (\Carbon\Carbon::now())) @endif
{{$cashbon->data->cashbon_number}}
{{$cashbon->data->staf}}
{{date('d-M-Y H:m', strtotime($cashbon->data->created_at))}}
{{number_format($cashbon->data->amount, 0,",",".")}}
{{number_format($cashbon->data->nilai_digunakan, 0,",",".")}}
{{number_format($cashbon->data->nilai_sisa, 0,",",".")}}
{!! nl2br($cashbon->data->note) !!}
{{$cashbon->data->status}}
@endsection