@extends('layouts.app') @push('css') @endpush @section('content')
| # | Employee No | Name | Amount | Total Amount | Tenure | Start Date | Stop Date | Status | Comment | Action |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $deduction->employee->employee_no }} | {{ $deduction->employee->name }} | {{ number_format($deduction->amount ,2) }} | {{ $deduction->tenure > 0 ? number_format($deduction->total_amount,2) : "" }} | {{ $deduction->tenure > 0 ? $deduction->tenure." Month(s)" : "Infinity" }} | {{ eng_str_date($deduction->start_date) }} | {{ $deduction->tenure > 0 ? eng_str_date($deduction->end_date) : "" }} | {!! $deduction->status == 0 ? label("Pending","default") : ( $deduction->status == 1 ? label("Approved","primary") : label("Completed","success") ) !!} | {{ $deduction->comment }} | @if(userCanView('periods.stop_running_deduction') && $deduction->status == 1) Stop @endif |