@extends('admin.layouts.app') @section('language-bar') @include('admin.models.myproject.langbar') @endsection @section('content')

{{ $project->title }}

{{ LaravelLocalization::getCurrentLocale() == 'es' ? 'Obras': 'Artworks'}}

@if(count($project->childProjects)== 0) {{ LaravelLocalization::getCurrentLocale() == 'es' ? 'No hay obras presentadas': 'No artworks presented'}} @else @foreach($project->childProjects as $index=>$p)
#{{ $index + 1}} | {{ $p->work_name }}

@endforeach @endif {{ LaravelLocalization::getCurrentLocale() == 'es' ? 'Añadir': 'Add'}}

{{ LaravelLocalization::getCurrentLocale() == 'es' ? 'Presupuesto': 'Budget'}}

@if(count($project->budgets) == 0 )

{{ LaravelLocalization::getCurrentLocale() == 'es' ? 'Añadir': 'Add'}}
@else
@foreach( $project->budgets as $budget_row ) @endforeach
{{ LaravelLocalization::getCurrentLocale() == 'es' ? 'Requerimiento': 'Requirement'}} {{ LaravelLocalization::getCurrentLocale() == 'es' ? 'Descripción': 'Description'}} {{ LaravelLocalization::getCurrentLocale() == 'es' ? 'Cantidad': 'Quantity'}} {{ LaravelLocalization::getCurrentLocale() == 'es' ? 'Costo total en USD': 'Total cost in USD'}} {{ LaravelLocalization::getCurrentLocale() == 'es' ? 'Proveedor': 'Provider'}}
{{ $budget_row->requirements }} {{ $budget_row->description }} {{ $budget_row->quantity }} {{ $budget_row->cost }} {{ $budget_row->provider }}

Total: U$D {{ $total }}

@endif
{{-- Mensajes --}} {{-- @include('admin.models.myproject.messages');--}} @endsection