@extends('layout.main') @section('title', 'Detail Payroll ' . $detail->number) @section('prev-page') Home - Daftar Payroll @endsection @section('content')
Detail Payroll {{ $detail->number }}
{{ $detail->employee->name }}
{{ date_format(date_create($detail->created), 'd M Y H:i:s') }}
Nilai Payroll
@if ($detail->status->id <= 1) Tambah Komponen @endif
@include('admin.payroll.detail_value')
Cashbon Digunakan
@if ($detail->status->id <= 1) Potong Cashbon @endif
@include('admin.payroll.detail_cashbon')
@if ($detail->status->id <= 3) @else
{{ $detail->payment_type->name }}
@endif
@if ($detail->status->id <= 3) @else
{!! nl2br($detail->note) !!}
@endif
@if ($detail->status->id <= 4) @else
{{ $detail->status->name }}
@endif
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