@foreach ($project->budgets as $budget) @endforeach
Έτος Προϋπολογισμός Αρχείο Ενέργειες
{{$budget->budget_year}} {{$budget->budget_total}} {{$budget->filename}} @include('budget.columns.actions')
@component('budget.components.create') @slot('projectid') {{$project->id}} @endslot @slot('flagid') editproject @endslot @endcomponent {!! Form::model($budget, [ 'route' => ['update.budget', $budget->id], 'method' => 'PUT', 'class'=> 'form-horizontal', 'id'=>'form-post', 'files' => true]) !!} @component('budget.components.edit') @slot('budgetid') {{$budget->id}} @endslot @slot('budgetyear') {{$budget->budget_year}} @endslot @slot('flagid') editproject @endslot @if($budget->filename) @slot('budgetfile') 1 @endslot @slot('budgetpath') {{ asset('/files/projects/'.$budget->project_id.'/' . $budget->filename)}}@endslot @slot('budgetfilename') {{$budget->filename}} @endslot @else @slot('budgetpath') # @endslot @slot('budgetfile') 0 @endslot @slot('budgetfilename') 0 @endslot @endif @endcomponent {!! Form::close() !!} @component('budget.components.delete') @slot('budgetid') {{$budget->id}} @endslot @slot('budgetcost') {{$budget->budget_total}} @endslot @slot('budgetyear') {{$budget->budget_year}} @endslot @slot('flagid') editproject @endslot @endcomponent