Alright {{ $username }}, here is where you can manage the bills you own bills

{!! Form::open(array('action' => 'HomeController@home')) !!} {{ Form::hidden('username', $username) }}

{{ Form::button('user Home', array('style' => 'height:40%;width:70%', 'type' => 'submit')) }}

{!! Form::close() !!} {!! Form::open(array('action' => 'BillController@managebill')) !!} {{ Form::hidden('username', $username) }}

{{ Form::label('datelabel', "enter in yyyymm") }} {{ Form::text('date') }}

{{ Form::label('totallabel', 'total bill amount') }} {{ Form::text('total') }}

{{ Form::label('eachlabel', 'each bill amount') }} {{ Form::text('each') }}

{{ Form::button('Create Bill', array('style' => 'height:40%;width:70%', 'type' => 'submit')) }}

{!! Form::close() !!}

{{ $message }}



Add people to the bill

{!! Form::open(array('action' => 'BillController@addpeople')) !!} {{ Form::hidden('username', $username) }}

{{ Form::label('datelabel', 'date in yyyymm') }} {{ Form::text('date') }}

{{ Form::label('amountpaidlabel', 'amount paid') }} {{ Form::text('amountpaid') }}

{{ Form::button('Add person', array('style' => '', 'type' => 'submit')) }}

{!! Form::close() !!}


Manage a bill

{!! Form::open(array('action' => 'BillController@calcbill')) !!} {{ Form::hidden('username', $username) }}

{{ Form::label('amountpaidlabel', 'amount paid') }} {{ Form::text('amountpaid') }}

{{ Form::button('Add person', array('style' => '', 'type' => 'submit')) }}

{!! Form::close() !!}


Who owes you cash

{!! Form::open(array('action' => 'BillController@debt')) !!} {{ Form::hidden('username', $username) }}

{{ Form::button('check', array('style' => '', 'type' => 'submit')) }}

{!! Form::close() !!} {{ $empt = isset($payer) }} @if (!$empt) nothing @endif @if ($empt) @for ($i = 0; $i < $count; ++$i) {{ $payer }} {{ $bills[$i] }} {{ $amountpaids[$i] }} {{ $totals[$i] }}
@endfor @endif