@extends('_layouts.default')
@section('content')
@include('_layouts.partials.breadcrumbs.company')
{{ Form::open(['route' => 'notes.store']) }}
@include('_layouts.partials.forms.note_condensed')
{{ Form::close() }}
@if(count($company->notes))
@foreach($company->notes as $note)
-
Bejegyzéshez kötődő esemény időpontja: {{{ $note->date_occured }}}
{{{ $note->note }}}
{{ link_to_route('notes.edit', 'Bejegyzés módosítása', $note->id) }}
Ezt kapod majd emlékeztetőként
- Esedékesség: {{{ $note->task->reminder_at or Lang::get('messages.nodata') }}}
- {{{ $note->task->title or Lang::get('messages.nodata') }}}
- {{{ $note->task->description or Lang::get('messages.nodata') }}}
@unless($note->task->closed)
{{ link_to_route('tasks.edit', 'Emlékeztető módosítása', $note->task->id) }}
{{ Form::open(['route' => ['tasks.update', $note->task->id], 'method' => 'put']) }}
{{ Form::hidden('closed', '1') }}
{{ Form::submit( Lang::get('messages.task_finished'), ['class' => 'button tiny success']) }}
{{ Form::close() }}
@endunless
@endforeach
@else
{{{ Lang::get('messages.note_none') }}}
@endif
{{ link_to_route('contacts.create', Lang::get('messages.contact_new_button'), array('company_id' => $company->id), array('class' => 'button')) }}
@if(count($company->contacts))
@foreach($company->contacts as $contact)
-
{{ link_to_route('contacts.show', $contact->name, $contact->id) }}
- {{{ $contact->position }}}
- {{{ $contact->email }}}
- {{{ $contact->phone }}}
@endforeach
@else
{{{ Lang::get('messages.contact_none') }}}
@endif
@stop
@section('sidebar')