<html>
    <head></head>
    <body>
        <p>
        Hi Sir/ Madam,<br>

         Your below mentioned product has been ordered through buyonlineclasses.com. Kindly make the shipment at the student's address and update the courier tracking no at support@buyonlineclasses.com. In case of online delivery of intangible product, kindly email the student the required media. 
        </p>
        <p> 
            <br>
        	Order Id :{{$order_id}}<br>
            Order Status  : {{ ($order_status) ?  $order_status : 'Failed' }}<br>
        	Product Image : <a href"{{ $url }}"><img src="{{ $product_image}}" width="100px"></a><br>
            Product Name : <a href"{{ $url }}">{{$package_name}}</a><br>
        	Faculty Name: {{ $faculty_name}}<br>
            Qty : {{ $quantity}}<br>
            Final Selling Price : Rs.{{ $price}}<br>
            Discounted Selling Price : Rs.{{ $discounted_price}}<br>
           
        	
        	<br>
        	Billing Details:
            @php
            $billing_address = json_decode($billing_address);
            foreach ($billing_address as $key3 => $value3) {
                $key3 = str_replace("billing", "", $key3);
                echo ucwords(str_replace("_"," ",$key3)).' : '.$value3.'<br>';

            }
            @endphp
            <br>
            Shipping Details:
            @php
                $shipping_address = json_decode($shipping_address);
                foreach ($shipping_address as $key2 => $value2) {
                    $key2 = str_replace("shipping", "", $key2);
                    $key2 = str_replace("delivery", "", $key2);
                    echo ucwords(str_replace("_"," ",$key2)).' : '.$value2.'<br>';

                }
            @endphp
            <br>            
        </p>
         <p>Thanks,<br> Team BOC</p>
    </body>
</html>