@extends('layouts/acc_layout') @section('title', '| Edit Budget') @section('content') @php //dd($loadBudgetTableArr['monthsArr']); $months = $data['loadBudgetTableArr']['monthsArr']; // $branch = DB::table('gnr_branch')->where('id',Auth::user()->branchId)->select('id','branchCode')->first(); // $usesrBranchCode = $branch->branchCode; //dd($data) $id = $data['budgetInfo']->id; @endphp

Edit Budget

{{-- div for Company --}}                                        {{ $data['loadBudgetTableArr']['company']->name }}
{{ $data['loadBudgetTableArr']['company']->address }}
Fiscal Year Budget
As on Fiscal Year {{ $data['loadBudgetTableArr']['fiscalYearName'] }}
Project Name:     {{ $data['loadBudgetTableArr']['projectName'] }}
Project Type:     {{ $data['loadBudgetTableArr']['projectTypeName'] }}
Fiscal Year:     {{ $data['loadBudgetTableArr']['fiscalYearName'] }} Branch Name:     {{ $data['loadBudgetTableArr']['branchName'] }}
Account Type:     {{ $data['loadBudgetTableArr']['accountTypeName'] }}

{!! Form::open(array('url' => '', 'id' => 'budget-form', 'role' => 'form')) !!} @foreach( $data['loadBudgetTableArr']['monthsArr'] as $monthsArr) @endforeach @foreach($ledgers as $ledger)
Warning: Undefined variable $ledger in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/microfin/AopBudget/MISYearlyBudget/edit.blade.php on line 192

Warning: Undefined variable $months in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/microfin/AopBudget/MISYearlyBudget/edit.blade.php on line 192

Warning: Undefined variable $id in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/microfin/AopBudget/MISYearlyBudget/edit.blade.php on line 192
@if($child->isGroupHead==1)
Warning: foreach() argument must be of type array|object, null given in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/microfin/AopBudget/MISYearlyBudget/edit.blade.php on line 91
@else
Fatal error: Uncaught Error: Class "DB" not found in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/microfin/AopBudget/MISYearlyBudget/edit.blade.php:98 Stack trace: #0 /home/shikkhaplus/public_html/morning_bird_bk/resources/views/microfin/AopBudget/MISYearlyBudget/edit.blade.php(192): eachRow(NULL, 0, NULL, NULL) #1 {main} thrown in /home/shikkhaplus/public_html/morning_bird_bk/resources/views/microfin/AopBudget/MISYearlyBudget/edit.blade.php on line 98
Transaction Heads Monthly Budget
{{$monthsArr}}Total
{{$child->name}}[{{$child->id}}]