<commit_before><?php
defined('BASEPATH') OR exit('No direct script access allowed');
?><!DOCTYPE html>

<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>WhoPay</title>
	<meta name="description" content="Creating a new Bill">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="/assets/dist/css/paper.min.css">
  <link rel="stylesheet" href="/assets/assets/css/style.css">
</head>
<body>
	<div class="container">
		<div class="row" style="margin-top: 50px;">
			<div class="col-md-6 col-md-offset-3">
				<form action="/main/receipt" method="post">
					
					<!-- Name Field -->
					<div class ="form-group">
						<label for="name">Name</label>
						<input type="text" class="form-control" id="name" name="name" placeholder="Enter your name">
					</div>

					<!-- Item Field -->
					<div class="form-group">
						<div id="itemlist">
							<label>Items:</label><br>
							<input type="text" class="form-control itemname" name="items[]" placeholder="Item name"><input type="text" class="form-control itemcost" name="itemcosts[]" placeholder="Price of Item">
						</div>
						<br>
						<!-- Button to add Items -->
						<button type="button" class="btn btn-default btn-sm" id="additem">Add item</button>
					</div>

					<!-- Tax and Service Charge -->
					<p class="help-block">Check if the prices you entered does not include Tax and/or Service Charge.</p>
					<div class="form-group">
						<div class="checkbox">
							<label>
								<input type="checkbox">Include Service Charge 
								<input type="number" class="form-control" name="servicecharge" value="10">
							</label>
						</div>
						<div class="checkbox">
							<label>
								<input type="checkbox">Include Tax 
								<input type="number" class="form-control" name="tax" value="7">
							</label>
					</div>

					<!-- Button to submit -->
					<button type="submit" class="btn btn-default" value="Submit"> Submit </button>
				</form>
			</div>
		</div>
	</div>

	<script type="text/javascript" src="/assets/dist/js/vendor/jquery.min.js"></script><commit_msg>Made input boxes for Tax and Service Charge to be inline Change the default values from 7 and 10 to 7% and 10%<commit_after><?php
defined('BASEPATH') OR exit('No direct script access allowed');
?><!DOCTYPE html>

<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>WhoPay</title>
	<meta name="description" content="Creating a new Bill">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="/assets/dist/css/paper.min.css">
  <link rel="stylesheet" href="/assets/assets/css/style.css">
</head>
<body>
	<div class="container">
		<div class="row" style="margin-top: 50px;">
			<div class="col-md-6 col-md-offset-3">
				<form action="/main/receipt" method="post">
					
					<!-- Name Field -->
					<div class ="form-group">
						<label for="name">Name</label>
						<input type="text" class="form-control" id="name" name="name" placeholder="Enter your name">
					</div>

					<!-- Item Field -->
					<div class="form-group">
						<div id="itemlist">
							<label>Items:</label><br>
							<input type="text" class="form-control itemname" name="items[]" placeholder="Item name"><input type="text" class="form-control itemcost" name="itemcosts[]" placeholder="Price of Item">
						</div>
						<br>
						<!-- Button to add Items -->
						<button type="button" class="btn btn-default btn-sm" id="additem">Add item</button>
					</div>

					<!-- Tax and Service Charge -->
					<p class="help-block">Check if the prices you entered does not include Tax and/or Service Charge.</p>
					<div class="form-group form-inline">
						<div class="checkbox">
							<label>
								<input type="checkbox">Service Charge 
								<input type="text" class="form-control" name="servicecharge" value="10%" style="width:30%">
							</label>
						</div>
						<div class="checkbox">
							<label>
								<input type="checkbox">Tax 
								<input type="text" class="form-control" name="tax" value="7%" style="width:40%">
							</label>
						</div>
					</div>

					<!-- Button to submit -->
					<button type="submit" class="btn btn-default" value="Submit"> Submit </button>
				</form>
			</div>
		</div>
	</div>

	<script type="text/javascript" src="/assets/dist/js/vendor/jquery.min.js"></script>
{'fraction_non_alphanumeric': 0.18901890189018902, 'fraction_numerical': 0.0063006300630063005, 'mean_word_length': 3.3535749265426054, 'pattern_counts': {'":': 0, '<': 130, '<?xml version=': 0, '>': 130, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '490731', 'n_tokens_mistral': 1791, 'n_tokens_neox': 1383, 'n_words': 349}