<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Payment Receipt</title>
    <style>
        /* Basic Reset */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Roboto', sans-serif;
            background-color: #f4f4f4;
            padding: 20px;
        }

        .receipt-container {
            width: 100%;
            max-width: 95%;
            background-color: #fff;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            margin: 0 auto;
            border: 1px solid #ddd;
        }

        /* Transaction Details */
        .transaction-details {
            margin-top: 30px;
        }

        .transaction-details h2 {
            font-size: 20px;
            color: #2e3d49;
            margin-bottom: 20px;
        }

        table {
            width: 100%;
            border-collapse: collapse;
        }

        th, td {
            padding: 10px;
            text-align: left;
            border-bottom: 1px solid #ddd;
        }

        th {
            background-color: #f9f9f9;
            color: #333;
            font-size: 16px;
        }

        td {
            color: #555;
            font-size: 14px;
        }

        .total {
            font-weight: bold;
            background-color: #f9f9f9;
        }

        /* Footer */
        .footer {
            text-align: center;
            margin-top: 30px;
        }

        .footer p {
            font-size: 14px;
            color: #777;
        }

        /* Button (for generating PDF) */
        #generate-pdf {
            margin-top: 20px;
            padding: 10px 20px;
            background-color: #007bff;
            color: #fff;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        #generate-pdf:hover {
            background-color: #0056b3;
        }
    </style>
</head>
<body>

    <div class="receipt-container">
        <div class="header" style="width: 100%; margin-bottom: 86px;">
            <!-- Left Logo -->
            <div class="left" style="float: left; width: 35%; text-align: left;">
                <img src="<?php echo e(public_path('images/19384040.png')); ?>" alt="Left Logo" style="max-width: 100%; height: auto;">
            </div>

            <!-- Title -->
            <div class="title" style="float: left; width: 30%; text-align: center; vertical-align: middle;">
                <h1 style="font-size: 35px; color: #2e3d49;">RECEIPT</h1>
            </div>

            <!-- Right Logo -->
            <div class="right" style="float: right; width: 35%; text-align: right;">
                <img src="<?php echo e(public_path('images/trust logo2-1.png')); ?>" alt="Right Logo" style="max-width: 100%; height: auto;">
            </div>
        </div>


        <!-- Transaction Details Section -->
        <div class="transaction-details">
            
            <table>
                <tbody>
                    <tr>
                        <td colspan="2" style="text-align: center;"><strong style="font-size: 25px;">Transaction details</strong></td>
                    </tr>
                    <tr>
                        <td><strong>Transaction Date</strong></td>
                        <td><?php echo e(\Carbon\Carbon::parse($postData['TRAN_DATE'])->format('d-m-Y') ?? ''); ?></td>
                    </tr>
                    <tr>
                        <td><strong>Transaction Type</strong></td>
                        <td><?php echo e($postData['CARD_TYPE'] ?? ''); ?></td>
                    </tr>
                    <tr>
                        <td><strong>Payment Platform</strong></td>
                        <td><?php echo e($postData['CARD_ISSUER'] ?? ''); ?></td>
                    </tr>
                    <tr>
                        <td><strong>Policy Name</strong></td>
                        <td><?php echo e($postData['POLICY_NAME'] ?? ''); ?></td>
                    </tr>
                    <tr>
                        <td><strong>Policy Number</strong></td>
                        <td><?php echo e($postData['POLICYNO'] ?? ''); ?></td>
                    </tr>
                    <tr>
                        <td><strong>Transaction ID</strong></td>
                        <td>#<?php echo e($postData['TRAN_ID'] ?? ''); ?></td>
                    </tr>
                    <tr class="total">
                        <td><strong>Paid Installment</strong></td>
                        <td><?php echo e($postData['PAID_INSTALLMENT'] ?? ''); ?></td>
                    </tr>
                    <tr class="total">
                        <td><strong>Total Amount</strong></td>
                        <td><?php echo e($postData['PAID_AMOUNT'] ?? ''); ?> Taka</td>
                    </tr>
                </tbody>
            </table>
        </div>

        <!-- Footer -->
        <div class="footer">
            <p>The receipt has been generated electronically</p>
        </div>
    </div>

</body>
</html>
<?php /**PATH C:\laragon\www\insurance\resources\views/payment_reciept.blade.php ENDPATH**/ ?>