File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 77 Lightning rhash: <strong><?php echo $ invoice ->rhash ?> </strong>
88 </li>
99 <li>
10- Invoice amount: <strong><?php echo number_format ($ invoice ->msatoshi /100000000 , 8 ) ?> mBTC</strong>
10+ Invoice amount: <strong><?php echo rtrim ( number_format ($ invoice ->msatoshi /100000000 , 8 ), " 0. " ) ?> mBTC</strong>
1111 </li>
1212 <li>
1313 Payment request: <strong><?php echo $ invoice ->payreq ?> </strong>
Original file line number Diff line number Diff line change 55
66<div class="ln-pay">
77 <h1>Pay with Lightning</h1>
8- <h3><?php echo $ order ->get_formatted_order_total () ?> = <?php echo number_format ($ invoice ->msatoshi /100000000 , 8 ) ?> mBTC</h3>
8+ <h3>
9+ <?php if ($ order ->get_currency () !== 'BTC ' ): ?> <?php echo $ order ->get_total () ?> <?php echo $ order ->get_currency () ?> = <?php endif ?>
10+ <?php echo rtrim (number_format ($ invoice ->msatoshi /100000000 , 8 ), "0. " ) ?> mBTC
11+ </h3>
912 <img class="qr" src="<?php echo $ qr_uri ?> ">
1013 <code class="payreq"><?php echo $ invoice ->payreq ?> </code>
1114 <p>
You can’t perform that action at this time.
0 commit comments