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

{{ Form::button('user home', array('class' => 'userhome', 'type' => 'submit')) }}

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

Alright {{ $username }}, here is where you can view bills that you need to pay...

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

{{ Form::button('view bills', array('class' => 'viewdebts', 'type' => 'submit')) }}

{!! Form::close() !!}
bill name amount paid total owner
{{ $billname }} {{ $amountpaid }} {{ $total }} {{ $owner }}