@extends('layouts/microfin_layout') @section('title', 'MIS Yearly Plan Details') @section('content') @include('microfin.AopBudget.misYearlyPlan.entry.style') @php $productCatCount = count($productCategories); // $productCatCount = 1; $productCatCount > 1 ? $colSpan = 2 : $colSpan = 1; @endphp

Edit Plan

{{ $companyInfo->name }}
{{ $companyInfo->address }}
Annual Operation Plan {{ $fiscalYears[$fiscalYearId] }} ({{ ucfirst($budgetTypes[$typeId]) }})
Project Name : {{ $projects[$projectId] }} Branch Name : {{ $branches[$branchId] }}
Project Type : {{ $projectTypes[$projectTypeIdFk] }} Print Date : {{ date("d-m-Y") }}
{!! 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 @foreach($fyMonths as $i => $month) @endforeach @endforeach @endforeach @if ($productCatCount > 1) @foreach($particularsName as $opKey => $opName) @if($opKey == 'add') @endif @if($opKey == 'add') @endif @php if($opKey == 'add') $totalLastFy = $total_lastFy_add; if($opKey == 'cancellation') $totalLastFy = $total_lastFy_cancellation; if($opKey == 'net') $totalLastFy = $total_lastFy_net; if($opKey == 'closing') $totalLastFy = $total_lastFy_closing; @endphp @if($opKey == 'closing') @endif @for ($i = 1; $i <= 12; $i++) @endfor @endforeach @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['category'] }} {{ $particularsName[$opKey] }} $i) readonly @endif onclick='checkelement(this)' value="{{ $item[$opKey][$month] }}" id="{{ $opKey }}_{{ $key }}_{{ $i }}" name="{{ $opKey }}_{{ $key }}_{{ $i }}" class="form-control {{ $textStyle }}" {{ $isEdit && ($opKey == 'add' || $opKey == 'cancellation') ? '' : 'readonly' }} />
Total {{ $particularsName[$opKey] }} {{ number_format($total_prevLastFy_closing) }}{{ number_format($totalLastFy) }}00 0
{!! Form::submit('Save', ['id' => 'budgetSubmit', 'class' => 'btn btn-primary btn-md', 'style'=>'font-size:12px']); !!}
{!! Form::close() !!}
@endsection