yammat/templates/buyCash.hamlet

18 lines
586 B
Plaintext
Raw Normal View History

2015-04-04 04:46:33 +00:00
$doctype 5
2015-04-09 22:40:58 +00:00
<h3>_{MsgPurchaseOf $ beverageIdent bev}
2015-04-04 04:46:33 +00:00
<p>
2015-04-24 10:28:45 +00:00
<ul>
<li>
_{MsgPricePerUnit (beveragePrice bev + (appCashCharge $ appSettings master)) (appCurrency $ appSettings master)}
2015-04-24 10:28:45 +00:00
<li>
_{MsgVolume}: #{formatIntVolume (beverageMl bev)}
2015-04-04 04:46:33 +00:00
<form method=post enctype=#{enctype}>
^{buyCashWidget}
<div>
2015-04-09 22:40:58 +00:00
<input type=submit value="_{MsgPurchase}">
2015-04-13 12:09:47 +00:00
<input onclick="crmnt( document.getElementById('crement'), 1 )" value="_{MsgIncrement}" type="button">
<input onclick="crmnt( document.getElementById('crement'), -1 )" value="_{MsgDecrement}" type="button">