payments.html (960B)
1 $def with (payments) 2 $var payments = payments 3 $ link = '' 4 </div> 5 <h2>payments</h2> 6 <table> 7 $for i in payments: 8 $if i.payment == 'Bitcoin': 9 $ link = "/paybtc/" + i.invoice_key 10 $if i.payment == 'Bitcoin Lightning': 11 $ link = "/payln/" + i.invoice_key 12 <pre> 13 <b>status: $i.status</b> 14 <a href=$link>$i.invoice_key</a> 15 $i.payment 16 $i.btc 17 $i.ln 18 $i.products | $float(i.amount/100) € | Satoshis: $i.totsats 19 order $i.timestamp 20 $if i.datepaid: 21 paid $i.datepaid 22 $else: 23 not paid! 24 $i.email 25 $i.firstname $i.lastname 26 $i.address 27 $i.postalcode 28 $i.town 29 $i.country 30 <a href='/payments?status=thankyou&key=$i.invoice_key'>thank you</a> | <a href='/payments?status=shipped&key=$i.invoice_key'>shipped</a> | <a href='/payments?status=paynotice&key=$i.invoice_key'>payment notice</a> | <a href='/payments?status=remove&key=$i.invoice_key'>remove</a> 31 </pre> 32 </table> 33