Created
July 28, 2021 10:28
-
-
Save biscuitrainbow/ecf4a7cdd07f9fb136bc092ba88d294f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@extends('layouts.main') | |
@section('title', 'Payment - Result') | |
@section('content') | |
<main> | |
<table> | |
<tr> | |
<td><b>Price Exclude VAT</b></td> | |
<td><span class='blue'>::</span></td> | |
<td><span class='design'>{{number_format($priceExcludeVat , 2)}}</span></td> | |
</tr> | |
@if($hasVat) | |
<tr> | |
<td><b>VAT Cost(7%)</b></td> | |
<td><span class='blue'>::</span></td> | |
<td><span class='design'>{{number_format($VatCost, 2)}}</span></td> | |
</tr> | |
<tr> | |
<td><b>Price Include Vat</b></td> | |
<td><span class='blue'>::</span></td> | |
<td><span class='design design-n'>{{number_format($priceIncludeVat , 2)}}</span></td> | |
</tr> | |
@else | |
<tr> | |
<td colspan="3" class='center'><em>No VAT</em></td> | |
</tr> | |
@endif | |
@if($hasTax) | |
<tr> | |
<td><b>Tax Cost <span>({{$tax}}%)</span></b></td> | |
<td><span class='blue'>::</span></td> | |
<td> <span class='design'>{{number_format($taxCost)}}</span> </td> | |
</tr> | |
@else | |
<tr> | |
<td colspan="3" class='center'><em>NO Tax</em></td> | |
</tr> | |
@endif | |
<tr> | |
<td><b>Payment</b></td> | |
<td><span class='blue'>::</span></td> | |
<td><span class='design design-n'>{{number_format($payment , 2)}}</span> </td> | |
</tr> | |
</table> | |
</main><br> | |
@endsection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment