Untitled
unknown
plain_text
3 years ago
4.8 kB
5
Indexable
<!DOCTYPE html> <html lang="en"> <link rel="stylesheet" href="{{asset('receipt.css')}}" /> <div class="container"> <div class="row gutters"> <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12"> <div class="card"> <div class="card-body p-0"> <div class="invoice-container"> <div class="invoice-header"> <!-- Row start --> <div class="row gutters"> <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12"> <div class="custom-actions-btns mb-5"> <a href=" /send-email/{{$booking->id}}" class="btn btn-primary"> <i class="icon-download"></i> Email </a> </div> </div> </div> <!-- Row end --> <!-- Row start --> <div class="row gutters"> <div class="col-xl-6 col-lg-6 col-md-6 col-sm-6"> <a href="{{'/home'}}" class="invoice-logo"> Holiday Crown </a> </div> </div> <!-- Row end --> <!-- Row start --> <div class="row gutters"> <div class="col-xl-9 col-lg-9 col-md-12 col-sm-12 col-12"> <div class="invoice-details"> <address> {{ $booking->name }}<br> {{ $booking->email }}<br> </address> </div> </div> <div class="col-xl-3 col-lg-3 col-md-12 col-sm-12 col-12"> <div class="invoice-details"> <div class="invoice-num"> <div>Invoice - {{ $booking->id }}</div> <div>{{ $booking->created_at }}</div> </div> </div> </div> </div> <!-- Row end --> </div> <div class="invoice-body"> <!-- Row start --> <div class="row gutters"> <div class="col-lg-12 col-md-12 col-sm-12"> <div class="table-responsive"> <table class="table custom-table m-0"> <thead> <tr> <th>Product ID</th> <th>No of Adult</th> <th>Check-in Date</th> <th>Check-out Date</th> <th>Phone Number</th> <th>Email</th> <th>Room Type</th> <th>Utilities</th> <th>No of Room</th> <th>Price</th> <th>Sub Total</th> </tr> </thead> <tbody> <tr> <td>{{ $booking->id }}</td> <td>{{ $booking->No_of_Adult}}</td> <td>{{ $booking->check_In_Date}}</td> <td>{{ $booking->check_Out_Date}}</td> <td>{{ $booking->phoneNumber }}</td> <td>{{ $booking->email }}</td> <td>{{ $booking->roomType }}</td> <td>{{ $booking->utilities }}</td> <td>{{ $booking->No_of_Room}}</td> <td>{{ $booking->price }}</td> <input type="hidden" value=" {{ $totalRoom = $booking->No_of_Room }} {{ $totalPrice = $booking->price }} {{ $totalPrice = $booking->price }} {{ $subTotal = $totalRoom * $totalPrice }} {{ $tax = $subTotal * 0.06 }} {{ $grandTotal = $subTotal + $tax }}"> </tr> <tr> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td> </td> <td colspan="2"> <p> Subtotal<br> </p> <p> Tax<br> </p> <h5 class="text-success"><strong>Grand Total</strong></h5> </td> <td> <p> {{ $subTotal }}<br> </p> <p> {{ $tax }}<br> </p> <h5 class="text-success"><strong>{{ $grandTotal }}</strong></h5> </td> </tr> </tbody> </table> </div> </div> </div> <!-- Row end --> </div> <div class="invoice-footer"> Thank you for your Business. </div> </div> </div> </div> </div> </div> </div>
Editor is loading...