<?php } ?> <!-- Display The Tax Amount --> <?php if ($invoice->tax_percent) { ?> <tr> <td>Tax (<?php echo $invoice->tax_percent; ?> %)</td> <td> </td> <td><?php echo Cashier::formatAmount($invoice->tax); ?> </td> </tr> <?php } ?> <!-- Display The Final Total --> <tr style="border-top:2px solid #000;"> <td> </td> <td style="text-align: right;"><strong>Total</strong></td> <td><strong><?php echo $invoice->total(); ?> </strong></td>
/** * Get the Stripe supported currency used by the entity. * * @return string */ public function preferredCurrency() { return Cashier::usesCurrency(); }
/** * Format the given amount into a string based on the user's preferences. * * @param int $amount * * @return string */ protected function formatAmount($amount) { return Cashier::formatAmount($amount); }