<?php $__env->startComponent('mail::message'); ?>
# Hello <?php if($data['type'] == 'decline'): ?> <?php echo e($data['first_name']); ?> <?php elseif($data['type'] == 'checkout'): ?> <?php echo e($data['first_name']); ?> <?php elseif($data['type'] == 'approve'): ?> <?php echo e($data['first_name']); ?> <?php elseif($data['type'] == 'decline'): ?> <?php echo e($data['first_name']); ?> <?php elseif($data['type'] == 'withdraw'): ?> Admin <?php else: ?> There! <?php endif; ?>

<br>




<?php if($data['type'] == 'checkout'): ?>
Your Order Request with tracking code <b><?php echo e($data['ref_id']); ?></b> has been submitted and would be reviewed and approved upon confirmation of your payment. 
<br>
Please take note of your tracking code, as it’ll be requested of you at the delivery venue, to claim your goods.
<br><br>
<b>Products Ordered:</b><br>
    <ul>
        <?php $__currentLoopData = $cart; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $prod): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <li>Product: <?= $prod['name']; ?></li>
            <li>Price: &#8358;<?= number_format($prod['price']); ?></li>
            <li>Quanity: <?= $prod['quantity']; ?></li>
            <hr>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
     </ul>
<b>Total:</b> &nbsp; &nbsp; <b>&#8358;<?php echo e(number_format($data['total'])); ?></b>
<hr>
<br><br>

<?php elseif($data['type'] == 'approve'): ?>
Your Order Request <b><?php echo e($data['ref_id']); ?></b> has been reviewed and is now Approved. <br>
Our dispatch Team will get to you through your submitted mobile number for further instructions on receiving your Products paid for. <br>
In case of any issues faced, please kindly click the button below to contact us.
<br><br>

<?php elseif($data['type'] == 'decline'): ?>
Your purchase request with tracking code <b><?php echo e($data['ref_id']); ?></b> has been declined, due to a discontinued/unsuccessful payment from your end. 
<br>
To make a new order, please kindly click the button below and follow the process to completion.
<br><br>

<?php elseif($data['type'] == 'withdraw'): ?>
<?php echo e($data['first_name']); ?> has made a withdrawal request, the details are below:
<br><br>
<b>Withdrawal Details:</b><br>
    <ul>
            <li>User's Name: <?php echo e($data['first_name']); ?> <?php echo e($data['last_name']); ?></li>
            <li>User's Email: <?php echo e($data['email']); ?></li>
            <li>Amount To Withdraw: &#8358;<?php echo e(number_format($data['amount'])); ?></li>
            <li>Date: <?php echo e(date('M j Y', strtotime($data['date']))); ?></li>
            <hr>
     </ul>
<br><br>

<?php else: ?>
<?php echo e($data['message']); ?>

<?php endif; ?>





<?php if($data['type'] == 'checkout'): ?>

<?php elseif($data['type'] == 'withdraw'): ?>

<?php elseif($data['type'] == 'approve'): ?>
<?php $__env->startComponent('mail::button', ['url' => 'https://www.malabargolds.com/contact']); ?>
Contact Us
<?php echo $__env->renderComponent(); ?>

<?php elseif($data['type'] == 'decline'): ?>
<?php $__env->startComponent('mail::button', ['url' => 'https://www.malabargolds.com/shop-home']); ?>
Shop More
<?php echo $__env->renderComponent(); ?>

<?php else: ?>
<?php $__env->startComponent('mail::button', ['url' => 'https://malabargolds.com/investment-plans']); ?>
Click Here
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>

Thanks,<br>
<?php echo e(config('app.name')); ?>

<?php echo $__env->renderComponent(); ?>
<?php /**PATH /home/jangodri/public_html/resources/views/emails/spam.blade.php ENDPATH**/ ?>