59 lines
1.9 KiB
PHP
59 lines
1.9 KiB
PHP
|
|
<html>
|
|
<head>
|
|
<title>HomeIsWhereTheMoneyIs</title>
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
|
|
|
<!-- Optional theme -->
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
|
|
|
|
<!-- Latest compiled and minified JavaScript -->
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
|
|
<link rel="stylesheet" type="text/css" href="http://108.255.70.130/css/scc.css">
|
|
|
|
</head>
|
|
<body>
|
|
{!! Form::open(array('action' => 'HomeController@home')) !!}
|
|
{{ Form::hidden('username', $username) }}
|
|
<p>
|
|
<div>
|
|
{{ Form::button('user home', array('class' => 'userhome', 'type' => 'submit')) }}
|
|
</div>
|
|
</p>
|
|
{!! Form::close() !!}
|
|
<div class="jumbotron text-center maincontentarea">
|
|
<h1>Alright {{ $username }}, here is where you can view bills that you need to pay...</h1>
|
|
|
|
{!! Form::open(array('action' => 'BillController@viewbill')) !!}
|
|
{{ Form::hidden('username', $username) }}
|
|
<p>
|
|
<select name='tough'>
|
|
@foreach ($grass as $record)
|
|
<option value={{ $record }}>{{ $record }}</option>
|
|
@endforeach
|
|
</select>
|
|
</p>
|
|
<p>
|
|
{{ Form::button('view bills', array('class' => 'viewdebts', 'type' => 'submit')) }}
|
|
</p>
|
|
{!! Form::close() !!}
|
|
<div>
|
|
<table>
|
|
<tr>
|
|
<th>bill name</th>
|
|
<th>amount paid</th>
|
|
<th>total</th>
|
|
<th>owner</th>
|
|
</tr>
|
|
<tr>
|
|
<td>{{ $billname }}</td>
|
|
<td>{{ $amountpaid }}</td>
|
|
<td>{{ $total }}</td>
|
|
<td>{{ $owner }}</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|