yammat/templates/buyCash.hamlet

18 lines
586 B
Plaintext
Raw Normal View History

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