@extends('hr_main') @section('title', '| ' . $data['pageTitle']) @section('stylesheets') @endsection @section('content')
| SL# | Employee | Company | Project | Branch | Total Amount | Effect Month | Status | Action |
|---|---|---|---|---|---|---|---|---|
| {{ ++$loop->index }} | {{ $salaryDeductionInfo->employee->emp_id ?? '' }} - {{ $salaryDeductionInfo->employee->emp_name_english ?? '' }} | {{ $salaryDeductionInfo->employee->organization->company->name ?? '' }} | {{ $salaryDeductionInfo->employee->organization->project->name ?? '' }} | {{ $salaryDeductionInfo->employee->organization->branch->name ?? '' }} | {{ $salaryDeductionInfo->total_amount ?? '' }} | {{ date('M Y',strtotime($salaryDeductionInfo->effect_month_date))}} | @if ($salaryDeductionInfo->totalCollection() > 0 && $salaryDeductionInfo->totalCollection() < $salaryDeductionInfo->total_amount) Running @elseif($salaryDeductionInfo->totalCollection() >= $salaryDeductionInfo->total_amount ) Paid @else Unpaid @endif | isSalaryApprovedForThisDeductionInfo()) disabled @endif class="btn btn-xs btn-info "> {!! Form::open(['method' => 'post', 'url' => route('salaryDeduction.destroy',[ 'id' => $salaryDeductionInfo->id]), "onsubmit" => "return confirmDelete()",'style'=>'display: inline-block;']) !!} {!! Form::close() !!} |