{!! Form::open(array('action' => 'HomeController@home')) !!} {{ Form::hidden('username', $username) }}
{{ Form::button('user home', array('style' => 'height:15%;width:100%;font-size:500%;background-color:#000000;color:#eee', '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) }}
@foreach ($grass as $record)
{{ $record }}
@endforeach
{{ Form::button('view bills', array('style' => 'height:40%;width:70%', 'type' => 'submit')) }}
{!! Form::close() !!}
bill name
amount paid
total
owner
{{ $billname }}
{{ $amountpaid }}
{{ $total }}
{{ $owner }}