Viewing File: /home/ubuntu/vedadeals-backend-base/resources/views/emails/users/order.blade.php

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

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{{ Setting::get('site_name') }}</title>
    <link rel="shortcut icon" href="{{ Setting::get('site_icon') }}" />
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
</head>

<body style=" font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 400; color: #000; margin: 0; padding: 0;">
<div style="margin-top: 30px;">
<div  style=" max-width: 600px; border: none; margin:0 auto; border-radius: 6px; overflow: hidden; background-color: #fff; border: 1px solid rgba(0, 0, 0, 0.1);">
<table cellpadding="0" cellspacing="0">
    <thead>
        <tr style="padding: 3px 0; text-align: center; color: #fff; font-size: 24px; letter-spacing: 1px; ">
            <th scope="col">
                <img src="{{ Setting::get('site_logo') }}" alt="" style="max-width: 10em;padding-top:20px;">
            </th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td style="padding: 25px 24px 0; color: #161c2d; font-size: 18px; font-weight: 800;">
                Hi, {{ $email_data['name'] }}!
            </td>
        </tr>
        <tr>
            <td style="padding: 15px 24px 10px; color: #8492a6;">
                {{ $email_data['content'] }}
            </td>
        </tr>
        <tr>
            <td style="padding: 15px 24px 10px; color: #000; font-weight:600; font-size:16px;">
               {{ tr('total_products')}}:<span style="color:000; padding-left: 0.5em; font-weight: 400;">
                    {{ $email_data['order']['order_products_sum_quantity'] }}
                </span>
            </td>
        </tr>
        <tr>
            <td style="padding: 15px 24px 10px; color: #000; font-weight:600; font-size:16px;">
               {{ tr('status')}}:<span style="color:#fff; padding: 0.3em  0.8em; font-weight: 400; border-radius: 10px; margin-left: 0.5em; font-size: 12px; background-color: #3CCF4E">{{ order_status_formatted($email_data['order']['status']) }}</span>
            </td>
        </tr>
        <tr>

            @if($email_data['order']['status'] == ORDER_COMPLETED)
            <td style="padding: 15px 24px 10px; color: #000; font-weight:600; font-size: 16px;">
               {{ tr('completed_date') }}:
               <span style="color:000; padding-left: 0.5em; font-weight: 400;">
                    {{ common_date($email_data['order']['updated_at'] ?? '', $email_data['order']['user']['timezone'] ?? '', 'd M Y h:i A') }}
                </span>
            </td>
            @elseif($email_data['order']['status'] == ORDER_CANCELLED)
            <td style="padding: 15px 24px 10px; color: #000; font-weight:600; font-size: 16px;">
               {{ tr('cancelled_at') }}:
               <span style="color:000; padding-left: 0.5em; font-weight: 400;">
                    {{ common_date($email_data['order']['updated_at'] ?? '', $email_data['order']['user']['timezone'] ?? '', 'd M Y h:i A') }}
                </span>
            </td>
            @else
            <td style="padding: 15px 24px 10px; color: #000; font-weight:600; font-size: 16px;">
                {{ tr('expected_date') }}:
               <span style="color:000; padding-left: 0.5em; font-weight: 400;">
                    {{ add_days($email_data['order']['created_at'] ?? '', $email_data['order']['user']['timezone'] ?? '', EXPECTED_DAYS) }}
                </span>
            </td>
            @endif
        </tr>
          
        <td style="padding: 0px 24px 20px;width:50%;" align="center">
            <table border="0" cellpadding="0" cellspacing="0" width="100%" style="margin-top:20px;">
                <tr>
                    <td align="left" bgcolor="#ffffff" style="font-size: 16px; line-height: 24px;">
                        <table border="0" cellpadding="0" cellspacing="0" width="100%">
                            <tr>
                                <td align="left" bgcolor="#ffe000" width="75%"
                                    style="padding: 12px;font-size: 16px; line-height: 24px;color:#212529; background-color: #ffd76e;"><strong>Order #</strong>
                                </td>
                                <td align="left" bgcolor="#ffe000" width="25%"
                                    style="padding: 12px;font-size: 16px; line-height: 24px;color:#212529; background-color: #ffd76e;"><strong>{{ $email_data['order']['unique_id']}}</strong>
                                </td>
                            </tr>
                            <tr>
                                <td align="left" width="75%" style="padding: 6px 12px;font-size: 16px; line-height: 24px;">{{ tr('cart_total') }}</td>
                                <td align="left" width="25%" style="padding: 6px 12px;font-size: 16px; line-height: 24px;">{{ $email_data['order_amount']['order_total_amount']}}
                                </td>
                            </tr>
                            <tr>
                                <td align="left" width="75%" style="padding: 6px 12px;font-size: 16px; line-height: 24px;">{{ tr('discount') }}</td>
                                <td align="left" width="25%" style="padding: 6px 12px;font-size: 16px; line-height: 24px;"> - {{ $email_data['order_amount']['order_discount_total']}}
                                </td>
                            </tr>
                            <tr>
                                <td align="left" width="75%"
                                    style="padding: 12px; font-size: 16px; line-height: 24px; border-top: 2px dashed #c0c0c0; border-bottom: 2px dashed #c0c0c0;">
                                    <strong>{{ tr('total') }}</strong></td>
                                <td align="left" width="25%"
                                    style="padding: 12px; font-size: 16px; line-height: 24px; border-top: 2px dashed #c0c0c0; border-bottom: 2px dashed #c0c0c0;">
                                    <strong>{{ $email_data['order_amount']['order_checkout_amount'] }}</strong></td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </td>

        <tr>
            <td style="text-align: center; padding: 1.5em 0 1em;">
                <a href="{{ $email_data['url'] }}" target="_blank" style="text-align: center;background-color: #ffd76e;color: #000; padding: 0.6em 2em; border-radius: 50px; font-size: 1.1em; font-weight: 500; text-decoration: none;"> {{ tr('view_order') }} </a>
            </td>
        </tr>
        @include('emails.users.footer')
    </tbody>
</table>
</div>
</div>
</body>

</html>
Back to Directory File Manager