Bug where the correct amount paid and total due for a bill was not showing up properly for those viewing bills they belong to

This commit is contained in:
amazing-username
2017-07-30 13:54:08 -05:00
parent 3e994db966
commit e0bdc6863d
8 changed files with 148 additions and 161 deletions
+39 -41
View File
@@ -1,4 +1,4 @@
<!doctype>
<html>
<head>
<title>HomeIsWhereTheMoneyIs</title>
@@ -10,53 +10,51 @@
<!-- 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>
<div>
<a href="/"><h1 class="logomaxipad">Home</h1></a>
</div>
<div class="jumbotron text-center maincontentarea">
<h1 class="sectiontitle">Registration Page</h1>
<br>
<h1 class="sectiontitle">Registration Page</h1><br>
{{ Form::open(array('action' => 'HomeController@registerUser', 'method' => 'post')) }}
<p>
{{ Form::label('firstnamelabel', 'first name') }}
<br>
{{ Form::text('firstname', '') }}
</p>
<p>
{{ Form::label('lastnamelabel', 'last name') }}
<br>
{{ Form::text('lastname', '') }}
</p>
<p>
{{ Form::label('usernamelabel', 'username') }}
<br>
{{ Form::text('username', '') }}
</p>
<p>
{{ Form::label('passwordlabel', 'password') }}
<br>
{{ Form::password('password') }}
</p>
<p>
{{ Form::label('confirmlabel', 'confirm') }}
<br>
{{ Form::password('confirm') }}
</p>
<p>
{{ Form::label('roomlabel', 'room') }}
<br>
<select name="room" class="registeraccounttype">
<option>single</option>
<option>double</option>
</select>
</p>
<p>
<br>
{{ Form::submit('register me', array('class' => 'registeraccount')) }}
</p>
<p>
{{ Form::label('firstnamelabel', 'first name') }}
<br>
{{ Form::text('firstname', '') }}
</p>
<p>
{{ Form::label('lastnamelabel', 'last name') }}
<br>
{{ Form::text('lastname', '') }}
</p>
<p>
{{ Form::label('usernamelabel', 'username') }}
<br>
{{ Form::text('username', '') }}
</p>
<p>
{{ Form::label('passwordlabel', 'password') }}
<br>
{{ Form::password('password') }}
</p>
<p>
{{ Form::label('confirmlabel', 'confirm') }}
<br>
{{ Form::password('confirm') }}
</p>
<p>
{{ Form::label('roomlabel', 'room') }}
<br>
<select name="room" class="registeraccounttype">
<option>single</option>
<option>double</option>
</select>
</p>
<p>
<br>
{{ Form::submit('register me', array('class' => 'registeraccount')) }}
</p>
{{ Form::close() }}
<h1>{{ $message }}</h1>
</div>