@extends('layouts.default') @section('title', 'Edit meeting') @section('new_button') list My Meetings List @endsection @section('content')
{{ Form::model($meeting, ['route'=>['meetings.update', $meeting->id], 'method'=>'PUT', 'role'=>'form', 'id'=>'editForm']) }} Meeting Info
{{ Form::textGroup('subject', 'Meeting Topic', null, ['id'=>'subject', 'required'=>'required']) }}
{{ Form::selectGroup('venue', 'Select Venue', $venues, $meeting->venue, ['class'=>'selectpicker', 'title'=>'Select Venue']) }}
{{ Form::textGroup('number', 'Meeting No.', 'MOM-0'.$meeting->number, ['id'=>'number', 'required'=>'required']) }}
{{ Form::textGroup('organised_by', 'Organised By', ucwords(auth()->user()->name)), ['id'=>'organise', 'readonly'] }}
{{ Form::textGroup('date', 'Date', date('d-m-Y', strtotime($meeting->date)),['id' => 'todaydate', 'class' => 'form-control', 'data-inputmask' => '\'alias\': \'yyyy-mm-dd\'', 'required'=>'required', 'placeholder'=>'yyyy-mm-dd']) }}
Time (24hr's) {{ redStar() }}
{{ Form::selectRange('time1', 1, 12, $meeting->time, ['class'=>'selectpicker']) }}
{{ Form::selectRange('time2', 0, 59, $meeting->time1, ['class'=>'selectpicker']) }}
{{ Form::radio('time3', 1, ($meeting->time2 == 1)?true:false) }} AM {{ Form::radio('time3', 2, ($meeting->time2 == 2)?true:false) }} PM
Select Duration (Min) {{ Form::selectRange('duration', 1, 200, $meeting->duration, ['class'=>'selectpicker', 'title'=>'Select Venue']) }}
{{ Form::selectGroup('participants[]', 'Select Participants', $participants, null, ['class'=>'selectpicker', 'multiple', 'title'=>'Select Participants', 'id'=>'partsSelect', 'data-live-search'=>'true']) }}
Participants:
@foreach ($mparticipants as $p) @if($p->user_id != auth()->user()->id)
{{ ucwords($p->user->name) }} @if($p->status==1)Attended @else Not Attended @endif status == 1) checked @endif id="chk{{ $p->id }}" />
@endif @endforeach @if(count($mparticipants) == 0)
No one selected
@endif
{{-- RECURSION --}}

Recurring

Mon Tue Wed Thu Fri Sat Sun
{{ Form::textGroup('rdate', 'Recurring End Date', $meeting->recursion_end,['id' => 'rdate', 'class' => 'form-control', 'data-inputmask' => '\'alias\': \'yyyy-mm-dd\'', 'placeholder'=>'yyyy-mm-dd']) }}

Meeting Agenda

{!! Form::textareaGroup('agenda', 'Meeting Agenda', $meeting->agenda, ['class' => 'form-ControlTextArea', 'id'=>'agenda']) !!}

Discussion Points

{!! Form::textareaGroup('dpoints', 'Discussion Points', $meeting->dpoints, ['class' => 'form-ControlTextArea', 'id'=>'dpoints']) !!}

Issues Statements

@foreach($issues as $issue)
{{ Form::selectGroup('rparticipants[]', ' Select Participant', $participants, $issue->user_id, ['class'=>'selectpicker rpselect', 'id'=>'select1', 'onchange'=>'changeRadio(1)', 'data-live-search'=>'true', 'title'=>'Select Participnt']) }}

status == 1)?'checked':'' }}/> Yes

status == 0)?'checked':'' }}/> No

@endforeach
{{ Form::button('Add Row', ['class'=>'btn btn-primary pull-right', 'onclick'=>'addRow()']) }}
Cancel
{{ csrf_field() }}
@include('includes.datepicker') {{ Form::hidden('fcontrol', '', ['id'=>'fcontrol']) }} @stop