This repository has been archived on 2026-07-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
HomeIsWhereTheMoneyIs/resources/views/view.blade.php
T
2017-07-16 13:28:43 -05:00

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>