<!DOCTYPE html>
<html lang="en">

<head>
    <title>{{ $data['title'] }}</title>
</head>

<body>
    # Sales Order for Order {{ $data->sale_order_id }}

    Here is the Sale Order for your order:

    ## Order Details

    * Order ID: {{ $data->sale_order_id }}
    Order Date: {{ $data->transaction_date->format('d/m/Y') }}


    Items:
    @foreach ($data->items as $item)
        {{ $item->item->name }} ({{ $item->quantity }})
    @endforeach

    Sales Order Summary

    * Subtotal: {{ $data->subtotal }}
    * Tax: {{ $data->tax }}
    * Shipping Fee: {{ $data->shipping_charge }}
    * Total: {{ $data->total }}

    Thanks<br>
</body>

</html>
