@extends('layouts.app') @section('style') @stop @section('content')
  @if($duplicate) @lang('layout.BudgetsCreate') @else @lang('layout.BudgetsEdit') @endif
@if($duplicate) {{Form::open(['route' => 'budgets.store','method' => 'POST','class' => 'form-horizontal','id'=>'bill-submit'])}} @else {!! Form::model($budget, ['method' => 'PATCH','class'=>'form-horizontal','route' => ['budgets.update',$budget->id]]) !!} @endif {{ csrf_field() }}

# @lang('layout.Account') @lang('layout.BudgetTotals') @{{ m.all }} @lang('layout.TotalBudget')
@lang('layout.Income')
@{{index+1}} @{{(!item)?null:item.name}}
{{-- --}}
@{{myRound(totalBugetRow((!item && !m)?null:item.month))}}
@lang('layout.CostOfGoodSold')
@{{index+1}} @{{(!item)?null:item.name}}
@{{myRound(totalBugetRow((!item && !m)?null:item.month))}}
@lang('layout.Expense')
@{{index+1}} @{{(!item)?null:item.name}}
@{{myRound(totalBugetRow((!item && !m)?null:item.month))}}
@lang('layout.OtherExpense')
@{{index+1}} @{{(!item)?null:item.name}}
@{{myRound(totalBugetRow((!item && !m)?null:item.month))}}
@lang('layout.OtherIncome')
@{{index+1}} @{{(!item)?null:item.name}}
@{{myRound(totalBugetRow((!item && !m)?null:item.month))}}
# @lang('layout.Account') @lang('layout.BudgetTotals') @{{ m.all }}
@lang('layout.CurrentAssets')
@{{index+1}} @{{(!item)?null:item.name}}
@{{myRound(totalBugetRow((!item && !m)?null:item.month))}}
@lang('layout.NoneCurrentAssets') / @lang('layout.FixedAsset')
@{{index+1}} @{{(!item)?null:item.name}}
@{{myRound(totalBugetRow((!item && !m)?null:item.month))}}
@lang('layout.Liabilities')
@{{index+1}} @{{(!item)?null:item.name}}
@{{myRound(totalBugetRow((!item && !m)?null:item.month))}}
@lang('layout.Equity')
@{{index+1}} @{{(!item)?null:item.name}}
@{{myRound(totalBugetRow((!item && !m)?null:item.month))}}
@lang('layout.Cancel')
{!! Form::close() !!}
@endsection @push('scripts') @endpush