<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8">
<title>Jewelry Order</title>
</head>

<body style="margin:0;padding:0;background:#f3f4f6;font-family:Arial,sans-serif;">
<table width="840" align="center" cellpadding="0" cellspacing="0" border="0" bgcolor="#ffffff"
    style="width:840px;border-radius:12px;overflow:hidden;"> <!-- Your Full Email Content Here -->
    <tr>
        <td align="center" style="padding:40px 15px;">
            <table width="850" cellpadding="0" cellspacing="0" border="0" bgcolor="#ffffff"
                style="border-radius:12px;overflow:hidden;"> <!-- Header -->
                <tr>
                    <td bgcolor="#111827" style="padding:25px;text-align:center;">
                        <h2 style="margin:0;color:#ffffff;font-size:28px;"> New Jewelry Order </h2>
                    </td>
                </tr> <!-- Customer Details -->
                <tr>
                    <td style="padding:30px;">
                        <table width="100%" cellpadding="10" cellspacing="0" border="0">
                            <tr>
                                <td width="180" bgcolor="#f9fafb" style="border:1px solid #e5e7eb;font-size:14px;">
                                    <strong>Name</strong> </td>
                                <td style="border:1px solid #e5e7eb;font-size:14px;"> <?php echo e($name); ?> </td>
                            </tr>
                            <tr>
                                <td bgcolor="#f9fafb" style="border:1px solid #e5e7eb;font-size:14px;">
                                    <strong>Email</strong> </td>
                                <td style="border:1px solid #e5e7eb;font-size:14px;"> <?php echo e($email); ?> </td>
                            </tr>
                            <tr>
                                <td valign="top" bgcolor="#f9fafb" style="border:1px solid #e5e7eb;font-size:14px;">
                                    <strong>Message</strong> </td>
                                <td style="border:1px solid #e5e7eb;font-size:14px;line-height:24px;"> <?php echo e($userMessage); ?> </td>
                            </tr>
                        </table>
                    </td>
                </tr> <!-- Products Heading -->
                <tr>
                    <td style="padding:0 30px 20px;">
                        <h3 style="margin:0;font-size:22px;color:#111827;"> Ordered Products </h3>
                    </td>
                </tr> <!-- Products -->
            <tr>
<td style="padding:0 30px 30px;">

    <?php $__currentLoopData = $cartItems; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

    <table width="840" align="center" cellpadding="0" cellspacing="0" border="0"
        style="width:840px; border-collapse:collapse; margin-bottom:25px; border:1px solid #d1d5db; font-family:Arial,sans-serif; background:#ffffff;">

        <tr>
            <td colspan="2" bgcolor="#111827"
                style="color:#ffffff; padding:14px; font-size:18px; font-weight:bold;">
                Ordered Product
            </td>
        </tr>

        <tr>
            <!-- LEFT TABLE -->
            <td width="50%" valign="top" style="padding:15px;">

                <table style="font-size: 14px;" width="100%" cellpadding="8" cellspacing="0" border="0"
                    style="border-collapse:collapse;">

                        <tr>
                                <td style="border:1px solid #e5e7eb; background:#f9fafb;">
                                    <strong>Image</strong> </td>
                                <td style="border:1px solid #e5e7eb;"> <img
                                        src="<?php echo e(asset($item->product->image ?? 'public/img/no_image.jpg')); ?>"
                                        width="90"> </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;">
                                    <strong>Collection</strong> </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->collection ?? ''); ?> </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>New SKU</strong>
                                </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->new_triple_sku ?? ''); ?>

                                </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Barcode
                                        WG</strong> </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->barcode_wg ?? ''); ?> </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Barcode
                                        YG</strong> </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->barcode_yg ?? ''); ?> </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Product
                                        Type</strong> </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->product_type ?? ''); ?>

                                </td>
                            </tr>
                            <tr>
                                <td valign="top" style="border:1px solid #e5e7eb;background:#f9fafb;">
                                    <strong>Description</strong> </td>
                                <td style="border:1px solid #e5e7eb;line-height:22px;"> <?php echo e($item->product->description ?? ''); ?> </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Order Qty</strong>
                                </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->order_qty ?? 0); ?> </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Purchase
                                        No</strong> </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->purchase_no ?? ''); ?> </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Purchase
                                        Date</strong> </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->purchase_date ?? ''); ?>

                                </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>PCS</strong> </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->pcs ?? 0); ?> </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Total
                                        Weight</strong> </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->total_weight ?? '0.00'); ?>

                                </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Net
                                        Weight</strong> </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->net_weight ?? '0.00'); ?>

                                </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Metal KT</strong>
                                </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->metal_kt ?? ''); ?> </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Metal
                                        Color</strong> </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->metal_color ?? ''); ?> </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Gross
                                        Weight</strong> </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->gross_weight ?? '0.00'); ?>

                                </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Gold Lock</strong>
                                </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->gold_lock ?? '0.00'); ?>

                                </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Gold Rate</strong>
                                </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->gold_rate ?? '0.00'); ?>

                                </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Gold
                                        Value</strong> </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->gold_value ?? '0.00'); ?>

                                </td>
                            </tr>
                            

                </table>

            </td>

            <!-- RIGHT TABLE -->
            <td width="50%" valign="top" style="padding:15px;">

                <table style="font-size: 14px;" width="100%" cellpadding="8" cellspacing="0" border="0"
                    style="border-collapse:collapse;">

                        <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Finding
                                        Qty</strong> </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->finding_qty ?? 0); ?> </td>
                            </tr>
                                <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Finding
                                        Type</strong> </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->finding_type ?? ''); ?>

                                </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Finding
                                        Weight</strong> </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->finding_weight ?? '0.00'); ?> </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Finding
                                        Rate</strong> </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->finding_rate ?? '0.00'); ?>

                                </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Finding
                                        Value</strong> </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->finding_value ?? '0.00'); ?>

                                </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Diamond
                                        Type</strong> </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->diamond_type ?? ''); ?>

                                </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Diamond
                                        Size</strong> </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->diamond_size ?? ''); ?>

                                </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Diamond
                                        PCS</strong> </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->diamond_pcs ?? 0); ?> </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Diamond
                                        CT</strong> </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->diamond_ct ?? '0.00'); ?>

                                </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Diamond
                                        Rate</strong> </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->diamond_rate ?? '0.00'); ?>

                                </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Diamond
                                        Value</strong> </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->diamond_value ?? '0.00'); ?>

                                </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Joining</strong>
                                </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->joining ?? '0.00'); ?> </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Stamp</strong>
                                </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->stamp ?? '0.00'); ?> </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Finding
                                        Charge</strong> </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->finding_charge ?? '0.00'); ?> </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Handling</strong>
                                </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->handling ?? '0.00'); ?>

                                </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Duty</strong>
                                </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->duty ?? '0.00'); ?> </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>With Duty</strong>
                                </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->with_duty ?? '0.00'); ?>

                                </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Live Gold
                                        Rate</strong> </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->live_gold_rate ?? '0.00'); ?> </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Final
                                        Price</strong> </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->product->final_price ?? '0.00'); ?>

                                </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Qty</strong> </td>
                                <td style="border:1px solid #e5e7eb;"> <?php echo e($item->qty); ?> </td>
                            </tr>
                            <tr>
                                <td style="border:1px solid #e5e7eb;background:#f9fafb;"> <strong>Total</strong>
                                </td>
                                <td style="border:1px solid #e5e7eb;font-weight:bold;"> $<?php echo e(number_format($item->total_price)); ?> </td>
                            </tr>

                </table>

            </td>
        </tr>

    </table>

    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>


    <!-- GRAND TOTAL -->
    <table width="840" align="center" cellpadding="12" cellspacing="0"
        border="0" bgcolor="#111827"
        style="width:840px; border-radius:10px; font-family:Arial,sans-serif;">

        <tr>
            <td align="left" style="color:#ffffff;font-size:20px;">
                <strong>Grand Total</strong>
            </td>

            <td align="right" style="color:#ffffff;font-size:22px;">
                <strong>
                    $<?php echo e(number_format($grandTotal)); ?>

                </strong>
            </td>
        </tr>

    </table>

</td>
</tr>
            </table>
        </td>
    </tr>
</table>
</body>

</html><?php /**PATH /home/braintreeeasysof/public_html/popular/resources/views/frontend/emails/order_mail.blade.php ENDPATH**/ ?>