Use as unit symbol

This commit is contained in:
ekzyis 2023-09-09 22:52:51 +02:00
parent a01d4488cc
commit de42a7435b
2 changed files with 6 additions and 6 deletions

View File

@ -52,7 +52,7 @@
<td> <td>
<div class="flex yes"> <div class="flex yes">
<span class="align-left">YES</span> <span class="align-left">YES</span>
<span style="width: 100%" class="align-right">{{.Quantity}} @ {{.Price}}</span> <span style="width: 100%" class="align-right">{{.Quantity}} @ {{.Price}}</span>
</div> </div>
</td> </td>
{{ else }} {{ else }}
@ -62,7 +62,7 @@
<td> <td>
<div class="flex no" style="width: 100%"> <div class="flex no" style="width: 100%">
<span class="align-left">{{.Share.Description}}</span> <span class="align-left">{{.Share.Description}}</span>
<span style="width: 100%" class="align-right">{{.Quantity}} @ {{.Price}}</span> <span style="width: 100%" class="align-right">{{.Quantity}} @ {{.Price}}</span>
</div> </div>
</td> </td>
{{ else }} {{ else }}
@ -72,7 +72,7 @@
<td> <td>
<div class="flex yes"> <div class="flex yes">
<span class="align-left">NO</span> <span class="align-left">NO</span>
<span style="width: 100%" class="align-right">{{.Quantity}} @ {{.Price}}</span> <span style="width: 100%" class="align-right">{{.Quantity}} @ {{.Price}}</span>
</div> </div>
</td> </td>
{{ else }} {{ else }}
@ -97,7 +97,7 @@
</select> </select>
<label>quantity</label> <label>quantity</label>
<input id="quantity" type="number" name="quantity" placeholder="quantity" /> <input id="quantity" type="number" name="quantity" placeholder="quantity" />
<label>price [sats]</label> <label>price [sats]</label>
<input id="price" type="number" name="price" placeholder="price" /> <input id="price" type="number" name="price" placeholder="price" />
<label id="submit-label"></label> <label id="submit-label"></label>
<button type="submit">SUBMIT</button> <button type="submit">SUBMIT</button>

View File

@ -56,7 +56,7 @@
</td> </td>
<td class="align-center">{{.Side}}</td> <td class="align-center">{{.Side}}</td>
<td class="align-center">{{.Share.Description}}</td> <td class="align-center">{{.Share.Description}}</td>
<td class="align-right">{{.Quantity}} @ {{.Price}}</td> <td class="align-right">{{.Quantity}} @ {{.Price}}</td>
</tr> </tr>
{{ end }} {{ end }}
{{ end }} {{ end }}
@ -80,7 +80,7 @@
</td> </td>
<td class="align-center">{{.Side}}</td> <td class="align-center">{{.Side}}</td>
<td class="align-center">{{.Share.Description}}</td> <td class="align-center">{{.Share.Description}}</td>
<td class="align-right">{{.Quantity}} @ {{.Price}}</td> <td class="align-right">{{.Quantity}} @ {{.Price}}</td>
<td class="align-right"><a href="/invoice/{{.InvoiceId}}">invoice</a></td> <td class="align-right"><a href="/invoice/{{.InvoiceId}}">invoice</a></td>
</tr> </tr>
{{ end }} {{ end }}