@extends('layout.main-nothing') @section('title', $title) @section('content')

Detail Payroll {{ $detail->number }}



Nama Pegawai : {{ $detail->employee->name }}
Tanggal Dibuat: : {{ date_format(date_create($detail->created), 'd M Y') }}

Nilai Payroll

@forelse($items as $item) @empty @endforelse
Komponen Nilai Pengali Pengali Efektif Nilai Efektif Catatan
{{ $item->component->name }} Rp{{ number_format($item->amount, 0, ',', '.') }} {{ $item->factor }} {{ $item->factor_effective }} Rp{{ number_format($item->amount_effective, 0, ',', '.') }} {!! nl2br($item->note) !!}
Data tidak ada

Cashbon Digunakan

@forelse($cashbons as $cashbon) @empty @endforelse
ID Cashbon Keterangan Nilai Sudah Dipakai Digunakan Pada Payroll Ini Sisa Catatan
{{ $cashbon->cashbon->number }} {{ mb_strimwidth(strip_tags($cashbon->cashbon->description), 0, 200, '...') }} Rp{{ number_format($cashbon->cashbon->amount, 0, ',', '.') }} Rp{{ number_format($cashbon->cashbon->used, 0, ',', '.') }} Rp{{ number_format($cashbon->used_here, 0, ',', '.') }} Rp{{ number_format($cashbon->cashbon->amount - $cashbon->cashbon->used, 0, ',', '.') }} {!! nl2br($cashbon->note) !!}
Data tidak ada

Metode Pembayaran : {{ $detail->payment_type->name }}
Catatan : {!! nl2br($detail->note) !!}
Status : {{ $detail->status->name }}
Total Bayar = Nilai Payroll - Cashbon
= Rp{{ number_format($detail->total_effective, 0, ',', '.') }} - Rp{{ number_format($detail->total_cashbon, 0, ',', '.') }}
= Rp{{ number_format($detail->total_effective - $detail->total_cashbon, 0, ',', '.') }}
@endsection @section('other-scripts') @endsection