@php $productCatCount = count($productCategories); $productCatCount > 1 ? $colSpan = 2 : $colSpan = 1; @endphp
{!! Form::open(array('url' => '', 'id' => 'budget-form', 'role' => 'form')) !!} @foreach($productCategories as $key => $item) @foreach($particularsName as $opKey => $opName) @if ($productCatCount > 1) @if($opKey == 'add') @endif @endif @if($opKey == 'add') @endif @php if($opKey == 'add') { $prevLastFyClosing = 0; $lastFyClosing = $openingData[$key]['lastFyAdd']; } if($opKey == 'cancellation') { $prevLastFyClosing = 0; $lastFyClosing = $openingData[$key]['lastFyCancellation']; } if($opKey == 'net') { $prevLastFyClosing = 0; $lastFyClosing = $openingData[$key]['lastFyNet']; } if($opKey == 'closing') { $prevLastFyClosing = $openingData[$key]['prevLastFyClosing']; $lastFyClosing = $openingData[$key]['lastFyClosing']; } @endphp @if($opKey == 'closing') @else @endif @for ($i = 1; $i <= 12; $i++) @endfor @endforeach @endforeach {{-- @if($typeId != 'samity') --}} @if ($productCatCount > 1) @foreach($particularsName as $opKey => $opName) @if($opKey == 'add') @endif @if($opKey == 'add') @endif @php if($opKey == 'add') $totalLastFy = $totalLastFyAdd; if($opKey == 'cancellation') $totalLastFy = $totalLastFyCancellation; if($opKey == 'net') $totalLastFy = $totalLastFyNet; if($opKey == 'closing') $totalLastFy = $totalLastFyClosing; @endphp @if($opKey == 'closing') @endif @for ($i = 1; $i <= 12; $i++) @endfor @endforeach @endif {{-- @endif --}}
Components {{ $prevLastFy }} {{ $lastFy }} {{ $fiscalyear }} {{ $fiscalyear }}
Jul, {{ $partOfyear[0] }} Aug, {{ $partOfyear[0] }} Sep, {{ $partOfyear[0] }} Oct, {{ $partOfyear[0] }} Nov, {{ $partOfyear[0] }} Dec, {{ $partOfyear[0] }} Jan, {{ $partOfyear[1] }} Feb, {{ $partOfyear[1] }} Mar, {{ $partOfyear[1] }} Apr, {{ $partOfyear[1] }} May, {{ $partOfyear[1] }} Jun, {{ $partOfyear[1] }} Total
{{ $item }} {{ $particularsName[$opKey] }} $i) readonly @endif onclick='checkelement(this)' value="0" id="{{ $opKey }}_{{ $key }}_{{ $i }}" name="{{ $opKey }}_{{ $key }}_{{ $i }}" class="form-control {{ $textStyle }}" {{ ($opKey == 'add' || $opKey == 'cancellation') ? '' : 'readonly' }} />
Total {{ $particularsName[$opKey] }}{{ number_format($totalPrevLastFyClosing) }}{{ number_format($totalLastFy) }}00 0
{!! Form::submit('Save', ['id' => 'budgetSubmit', 'class' => 'btn btn-primary btn-md', 'style'=>'font-size:12px']); !!}
{!! Form::close() !!}