@extends('admin.layouts.layout') @section('title', 'Services & Pay - ' . $employee->full_name) @section('content')
| Service | Pay Type | Per Inspection | Inspection From | Status | Actions | ||
|---|---|---|---|---|---|---|---|
|
@php
$serviceName = $setting->service->service_name ?? 'N/A';
$initials = strtoupper(substr($serviceName, 0, 2));
@endphp
{{ $initials }}
{{ $serviceName }}
|
@if($setting->pay_type == 'fixed') Fixed Payout @elseif($setting->pay_type == 'hourly') Hourly @elseif($setting->pay_type == 'percentage') Percentage @else {{ ucfirst($setting->pay_type) }} @endif | @if(!is_null($setting->amount_per_inspection)) @if($setting->pay_type == 'percentage') {{ number_format($setting->amount_per_inspection, 1) }}% @else ${{ number_format($setting->amount_per_inspection, 2) }} @endif @else N/A @endif | @if($setting->inspection_from == 'company') Via Company @else Via Personal @endif | @if($setting->is_active) Active @else Inactive @endif | |||
|
No service & pay settings found for this employee.
@if($permission['create'] ?? true)
Add First Service & Pay Setting
@endif
|
|||||||