@extends('layout.main') @section('title', 'Daftar Payroll') @section('prev-page') Home @endsection @section('content') @php $panel_colapse = !empty($input->employee) || isset($input->month) ? '' : 'panel-collapsed'; @endphp
Cari Berdasarkan
@csrf
@php $date = Carbon\Carbon::now(); @endphp
@if (!empty($summary))
Nilai Payroll: Rp{{ number_format($summary->value, 0, ',', '.') }}
Cashbon Digunakan: Rp{{ number_format($summary->cashbon, 0, ',', '.') }}
Total Bayar: Rp{{ number_format($summary->value - $summary->cashbon, 0, ',', '.') }}
@endif
Daftar Payroll
@forelse($payrolls as $payroll) @empty @endforelse
ID Payroll Tanggal Nama Pegawai Total Nilai Cashbon Total Bayar Metode Status  
{{ $payroll->number }} {{ date_format(date_create($payroll->created), 'd M Y H:i:s') }} {{ $payroll->employee->name }} Rp{{ number_format($payroll->total_effective, 0, ',', '.') }} Rp{{ number_format($payroll->total_cashbon, 0, ',', '.') }} Rp{{ number_format($payroll->total_effective - $payroll->total_cashbon, 0, ',', '.') }} @if (!empty($payroll->payment_type->name)) {{ $payroll->payment_type->name }} @endif {{ $payroll->status->name }} @if ($payroll->status->id == 1) @endif
Belum ada data.
@if (!empty($metadata->links)) @endif
@endsection @section('other-scripts') @endsection