@extends('layouts.acc_layout') @section('title', '| '. $pageTitle) @section('stylesheets') @endsection @section('content')
@include('hr_partials._message')
{{ $pageTitle }}
{{-- Table --}}
@foreach($salaryGenerateList->all() as $salaryGenerateItem) @php $isDissableGenerateBtn = false; $sofDate = $softDateUtility->getAccountingSoftwareDateByBranchId($salaryGenerateItem->branch_id_fk); if( date('Y-m-d',strtotime($sofDate)) < date('Y-m-d',strtotime($salaryGenerateItem->created_at)) ){ $isDissableGenerateBtn = true; } @endphp @endforeach
#SL Salary Month Company Project Branch Generate Date Action
{{ ++$loop->index }} {{ date('F Y', strtotime($salaryGenerateItem->target_month)) }} {{ $mCompany->find($salaryGenerateItem->company_id_fk)->name ?: '' }} {{ $mProject->find($salaryGenerateItem->project_id_fk)->name ?: '' }} {{ $mBranch->find($salaryGenerateItem->branch_id_fk)->name ?: '' }} {{ date('d-m-Y', strtotime($salaryGenerateItem->created_at)) }}
{{-- ./panel-body --}}
{{-- ./col-md-12 --}}
{{-- .row --}}
{{-- ./panel-body --}}
{{-- ./panel --}}
{{-- ./col-md-10 --}}
@endsection @section('script') @endsection