yammat/templates/buyCash.hamlet

17 lines
586 B
Text

$doctype 5
<h3>_{MsgPurchaseOf $ beverageIdent bev}
<p>
<ul>
<li>
_{MsgPricePerUnit (beveragePrice bev + (appCashCharge $ appSettings master)) (appCurrency $ appSettings master)}
<li>
_{MsgVolume}: #{formatIntVolume (beverageMl bev)}
<form method=post enctype=#{enctype}>
^{buyCashWidget}
<div>
<input type=submit value="_{MsgPurchase}">
<input onclick="crmnt( document.getElementById('crement'), 1 )" value="_{MsgIncrement}" type="button">
<input onclick="crmnt( document.getElementById('crement'), -1 )" value="_{MsgDecrement}" type="button">