@section('content')
@php $startMonthIndex = json_decode($payrollSetting->finance_month); $endMonthIndex = ($startMonthIndex - 1) <= 0 ? 12 : ($startMonthIndex - 1); $result = Carbon\CarbonPeriod::create( Carbon\Carbon::createFromDate(null, $startMonthIndex)->format('Y-m'), '1 month', Carbon\Carbon::createFromDate(null, $endMonthIndex)->addYear()->format('Y-m') ); @endphp
@lang('payroll::modules.payroll.monthlyTDS')
@lang('app.month') @lang('payroll::modules.payroll.tds') @foreach($result as $date) {{ $date->translatedFormat('F Y') }} @if(isset($totalArr[$date->format('n')])) {{ currency_format($totalArr[$date->format('n')], ($currency->currency ? $currency->currency->id : company()->currency->id )) }} @else - @endif @endforeach
@endsection @push('scripts') @endpush