summaryrefslogtreecommitdiffstats
path: root/templates/products/restock.html
blob: 70926c559998b153119aaefdaa14520c66e84f4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<h2>Restock: {{{NAME}}}</h2>

<div id="restock-successful" class="alert" style="display: {{{RESTOCK.OK}}};">
	<p>Successfully restocked:</p>

	<table class="table table-hover">
		<tr><th>Name</th><td>{{{NAME}}}</td></tr>
		<tr><th>Amount</th><td>{{{AMOUNT}}}</td></tr>
		<tr><th>Price</th><td>{{{PRICE}}}</td></tr>
		<tr><th>Supplier</th><td>{{{SUPPLIER}}}</td></tr>
		<tr><th>Best Before Date</th><td>{{{BESTBEFORE}}}</td></tr>
	</table>
</div>

<div id="restock-failed" class="alert alert-error" style="display: {{{RESTOCK.FAIL}}};">
	<h4>Error</h4>
	Restocking <b>{{{NAME}}}</b> failed. Please make sure you
	have sufficient permissions and gave valid values
	for amount and price.
</div>

<a href=".">Back to {{{NAME}}}</a>