<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Invoice - <?php echo e($booking->cntr_no); ?></title>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Noto+Nastaliq+Urdu:wght@400;700&display=swap');
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

        /* Responsive Design */
        @media print {
            body { margin: 0; padding: 0; }
            .no-print { display: none !important; }
            .container { width: 100% !important; max-width: 210mm; }
        }

        @media screen and (max-width: 768px) {
            body { padding-bottom: 90px; }
            .container { width: 100% !important; max-width: 100%; margin: 0; padding-bottom: 100px !important; }
            .no-print:not(.mobile-actions) { display: none !important; }
            .mobile-actions { display: block !important; }
            .header { flex-direction: column !important; text-align: center; padding: 15px 20px !important; }
            .logo-section { margin-bottom: 15px; }
            .company-info h1 { font-size: 20px !important; }
            .qr-section { margin: 15px auto 0 !important; }
            .office-grid { flex-direction: column !important; gap: 10px !important; }
            .office-box { margin: 0 !important; }
            .info-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
            .content { padding: 0 15px !important; }
            .footer { padding: 0 15px 20px !important; margin-bottom: 20px !important; }
            .dates-grid { flex-direction: column !important; gap: 15px !important; }
            .totals-box { width: 100% !important; }
            .table-container { overflow-x: auto !important; }
            .invoice-table { min-width: 600px !important; }
            .terms { margin-bottom: 20px !important; }
        }

        body {
            font-family: 'Inter', sans-serif;
            font-size: 10px;
            color: #334155;
            margin: 0;
            padding: 0;
            background: #fff;
            line-height: 1.3;
        }

        .urdu-font {
            font-family: 'Noto Nastaliq Urdu', serif;
            direction: rtl;
        }

        .container {
            width: 160mm;
            margin: 0 auto;
            padding: 0;
            background: white;
            min-height: auto;
            position: relative;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
        }

        /* Header */
        .header {
            background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
            color: white;
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .logo-section {
            margin-right: 15px;
        }

        .logo-section img {
            max-height: 60px;
            background: white;
            padding: 5px;
            border-radius: 4px;
        }

        .company-info {
            flex: 1;
        }

        .company-info h1 {
            font-size: 20px;
            font-weight: 800;
            margin: 0 0 5px 0;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: #fff;
        }

        .company-details {
            color: #bfdbfe;
            font-size: 10px;
            line-height: 1.4;
        }

        .qr-section {
            text-align: center;
            background: white;
            padding: 5px;
            border-radius: 4px;
            margin-left: 15px;
        }

        /* Content Padding */
        .content {
            padding: 0 20px;
        }

        /* Office Locations */
        .office-grid {
            display: flex;
            justify-content: space-between;
            gap: 10px;
            margin-bottom: 20px;
        }

        .office-box {
            flex: 1;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            padding: 10px;
            text-align: center;
        }

        .office-title {
            font-weight: 700;
            color: #1e3a8a;
            margin-bottom: 8px;
            text-transform: uppercase;
            font-size: 11px;
            letter-spacing: 0.5px;
            border-bottom: 2px solid #e2e8f0;
            padding-bottom: 5px;
            display: inline-block;
        }

        .office-content {
            color: #475569;
            font-size: 11px;
            line-height: 1.4;
        }

        /* Invoice Meta & Client Info */
        .info-grid {
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            gap: 20px;
            margin-bottom: 20px;
        }

        .section-title {
            font-size: 11px;
            font-weight: 700;
            color: #94a3b8;
            text-transform: uppercase;
            margin-bottom: 5px;
            letter-spacing: 1px;
        }

        .client-card {
            background: #fff;
        }

        .client-name {
            font-size: 16px;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 2px;
        }

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

        .meta-table td {
            padding: 4px 0;
            border-bottom: 1px solid #f1f5f9;
        }

        .meta-label {
            color: #64748b;
            font-weight: 500;
            width: 90px;
        }

        .meta-value {
            color: #0f172a;
            font-weight: 600;
            text-align: right;
        }

        /* Main Table */
        .items-table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }

        .items-table th {
            background-color: #1e3a8a;
            color: white;
            font-weight: 600;
            text-transform: uppercase;
            font-size: 10px;
            padding: 8px 10px;
            text-align: center;
            letter-spacing: 0.5px;
        }

        .items-table th:first-child { text-align: left; }
        .items-table th:last-child { text-align: right; }

        .items-table td {
            padding: 8px 10px;
            border-bottom: 1px solid #e2e8f0;
            color: #334155;
        }

        .items-table td:first-child { text-align: left; font-weight: 600; color: #0f172a; }
        .items-table td:last-child { text-align: right; font-weight: 700; }
        
        .items-table tr:nth-child(even) { background-color: #f8fafc; }
        .items-table tr:last-child td { border-bottom: none; }

        /* Totals Section */
        .totals-section {
            display: flex;
            justify-content: flex-end;
            margin-bottom: 20px;
        }

        .totals-box {
            width: 250px;
            background: #f8fafc;
            border-radius: 8px;
            padding: 15px;
            border: 1px solid #e2e8f0;
        }

        .total-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
            font-size: 11px;
        }

        .total-row.final {
            border-top: 2px dashed #cbd5e1;
            padding-top: 10px;
            margin-top: 10px;
            margin-bottom: 0;
            font-size: 14px;
            color: #1e3a8a;
        }

        .total-label { color: #64748b; font-weight: 600; }
        .total-value { font-weight: 700; color: #0f172a; }
        .total-row.final .total-value { color: #1e3a8a; }

        /* Footer */
        .footer {
            padding: 0 20px 20px;
        }

        .dates-grid {
            display: flex;
            gap: 20px;
            margin-bottom: 15px;
            border-top: 1px solid #e2e8f0;
            padding-top: 15px;
        }

        .date-item {
            flex: 1;
        }
        
        .date-label {
            font-size: 10px;
            text-transform: uppercase;
            color: #94a3b8;
            font-weight: 700;
            margin-bottom: 4px;
        }
        
        .date-value {
            font-size: 13px;
            font-weight: 600;
            color: #0f172a;
        }

        .terms {
            background-color: #fff1f2;
            border: 1px solid #fecdd3;
            border-radius: 8px;
            padding: 15px;
            text-align: right;
            font-size: 10px;
            line-height: 1.8;
            color: #881337;
            direction: rtl;
        }

        .watermark {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(-45deg);
            font-size: 100px;
            color: rgba(30, 58, 138, 0.03);
            font-weight: 900;
            pointer-events: none;
            z-index: 0;
            white-space: nowrap;
        }

        @media print {
            body { -webkit-print-color-adjust: exact; }
            .no-print { display: none; }
            .container { width: 100%; height: auto; box-shadow: none; margin: 0; }
            .header, .items-table th { -webkit-print-color-adjust: exact; }
        }
    </style>
</head>
<body>
    <div class="no-print" style="position: fixed; top: 20px; right: 20px; z-index: 100; display: flex; gap: 10px;">
        <button onclick="shareInvoiceWhatsApp('<?php echo e($booking->customer->phone ?? ''); ?>', '<?php echo e(route('bookings.invoice', $booking)); ?>', '<?php echo e($booking->cntr_no); ?>', '<?php echo e(\App\Helpers\CurrencyHelper::format($booking->total_amount)); ?>', '<?php echo e($booking->customer->name); ?>', '<?php echo e(\App\Helpers\CurrencyHelper::format($booking->advance_payment)); ?>', '<?php echo e(\App\Helpers\CurrencyHelper::format($booking->due_payment)); ?>', '<?php echo e($booking->pickup_location); ?>', '<?php echo e($booking->delivery_location); ?>', '<?php echo e($booking->status); ?>')" style="background: #25D366; color: white; padding: 12px 24px; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);">
            <span style="margin-right: 8px;">�</span> Share on WhatsApp
        </button>
        <a href="<?php echo e(route('bookings.pdf', $booking)); ?>" download style="background: #059669; color: white; padding: 12px 24px; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); text-decoration: none; display: inline-flex; align-items: center;">
            <span style="margin-right: 8px;">�</span> Download PDF
        </a>
        <button onclick="window.print()" style="background: #1e3a8a; color: white; padding: 12px 24px; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);">
            <span style="margin-right: 8px;">🖨️</span> Print Invoice
        </button>
    </div>

    <!-- Mobile Action Buttons (Bottom) -->
    <div class="no-print mobile-actions" style="position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; background: white; padding: 15px; box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1); display: none;">
        <div style="display: flex; gap: 8px; max-width: 600px; margin: 0 auto;">
            <button onclick="shareInvoiceWhatsApp('<?php echo e($booking->customer->phone ?? ''); ?>', '<?php echo e(route('bookings.invoice', $booking)); ?>', '<?php echo e($booking->cntr_no); ?>', '<?php echo e(\App\Helpers\CurrencyHelper::format($booking->total_amount)); ?>', '<?php echo e($booking->customer->name); ?>', '<?php echo e(\App\Helpers\CurrencyHelper::format($booking->advance_payment)); ?>', '<?php echo e(\App\Helpers\CurrencyHelper::format($booking->due_payment)); ?>', '<?php echo e($booking->pickup_location); ?>', '<?php echo e($booking->delivery_location); ?>', '<?php echo e($booking->status); ?>')" style="flex: 1; background: #25D366; color: white; padding: 14px 16px; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 13px;">
                <span style="margin-right: 6px; font-size: 18px;">�</span> WhatsApp
            </button>
            <a href="<?php echo e(route('bookings.pdf', $booking)); ?>" download style="flex: 1; background: #059669; color: white; padding: 14px 16px; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; text-decoration: none; display: flex; align-items: center; justify-content: center; font-size: 13px;">
                <span style="margin-right: 6px; font-size: 18px;">📥</span> Download
            </a>
            <button onclick="window.print()" style="flex: 1; background: #1e3a8a; color: white; padding: 14px 16px; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-center; font-size: 13px;">
                <span style="margin-right: 6px; font-size: 18px;">🖨️</span> Print
            </button>
        </div>
    </div>

    <script>
    function shareInvoiceWhatsApp(phone, invoiceUrl, cntrNo, totalAmount, customerName, advancePaid, dueAmount, pickupLocation, deliveryLocation, status) {
        // Clean phone number (remove spaces, dashes, etc.)
        let cleanPhone = phone.replace(/[^0-9+]/g, '');
        
        // If phone doesn't start with country code, add Pakistan code
        if (cleanPhone && !cleanPhone.startsWith('+') && !cleanPhone.startsWith('92')) {
            cleanPhone = '92' + cleanPhone.replace(/^0+/, '');
        }
        
        // Build complete invoice URL
        let fullInvoiceUrl = invoiceUrl;
        if (!invoiceUrl.startsWith('http')) {
            fullInvoiceUrl = window.location.origin + invoiceUrl;
        }
        
        // Get company name from settings or use default
        const companyName = '<?php echo e(\App\Models\Setting::get("company_name", "BAKHT RAWAN TRADING CO.")); ?>';
        const companyPhone = '<?php echo e(\App\Models\Setting::get("company_phone", "051-5530940")); ?>';
        
        // Create professional message with all details
        const message = `*${companyName}*
━━━━━━━━━━━━━━━━━━━━

السلام علیکم ${customerName}!

📋 *INVOICE DETAILS*

🔖 Booking No: *${cntrNo}*
👤 Customer: *${customerName}*
📍 Route: ${pickupLocation} → ${deliveryLocation}
📦 Status: *${status}*

━━━━━━━━━━━━━━━━━━━━

💰 *PAYMENT SUMMARY*

Total Amount: *${totalAmount}*
Advance Paid: *${advancePaid}*
Balance Due: *${dueAmount}*

━━━━━━━━━━━━━━━━━━━━

📄 *VIEW/DOWNLOAD INVOICE*
${fullInvoiceUrl}

━━━━━━━━━━━━━━━━━━━━

📞 Contact Us: ${companyPhone}

Thank you for choosing our services!
جزاک اللہ خیر`;
        
        // Encode message for URL
        const encodedMessage = encodeURIComponent(message);
        
        // Create WhatsApp URL
        let whatsappUrl;
        if (cleanPhone && cleanPhone.length > 5) {
            // Send to specific number
            whatsappUrl = `https://wa.me/${cleanPhone}?text=${encodedMessage}`;
        } else {
            // Open WhatsApp with message (user can choose contact)
            whatsappUrl = `https://wa.me/?text=${encodedMessage}`;
        }
        
        // Open WhatsApp in new window
        window.open(whatsappUrl, '_blank');
    }
    </script>

    <div class="container">
        <div class="watermark">PAID</div>

        <!-- Colorful Header -->
        <div class="header">
            <div class="logo-section">
                <?php if(\App\Models\Setting::get('company_logo')): ?>
                    <img src="<?php echo e(asset('uploads/' . \App\Models\Setting::get('company_logo'))); ?>" alt="Company Logo">
                <?php endif; ?>
            </div>
            <div class="company-info">
                <h1><?php echo e(\App\Models\Setting::get('company_name', 'BAKHT RAWAN TRADING CO.')); ?></h1>
                <div class="company-details">
                    <?php if(\App\Models\Setting::get('company_address')): ?>
                        <div><?php echo e(\App\Models\Setting::get('company_address')); ?></div>
                    <?php endif; ?>
                    <?php if(\App\Models\Setting::get('company_phone')): ?>
                        <div>Phone: <?php echo e(\App\Models\Setting::get('company_phone')); ?></div>
                    <?php endif; ?>
                    <div>Email: <?php echo e(\App\Models\Setting::get('company_email', 'fazeer0301@gmail.com')); ?></div>
                    <div>Tracking: <?php echo e(\App\Models\Setting::get('company_website', 'www.bakhttrd.com')); ?></div>
                </div>
            </div>
            
            <div class="qr-section">
                <!-- SVG QR Code -->
                <?php echo QrCode::size(80)->generate(url('/print.php?id=' . $booking->id)); ?>

                <div style="font-size: 8px; color: #333; margin-top: 4px; font-weight: 600;">Scan to Track</div>
            </div>
        </div>

        <div class="content">
            <!-- Dynamic Office Locations -->
            <div class="office-grid">
                <?php if(\App\Models\Setting::get('office_rawalpindi_status', '1')): ?>
                <div class="office-box">
                    <div class="office-title"><?php echo e(\App\Models\Setting::get('office_rawalpindi_title', 'Rawalpindi Office')); ?></div>
                    <div class="office-content">
                        <div class="urdu-font"><?php echo nl2br(e(\App\Models\Setting::get('office_rawalpindi_address', 'بالمقابل القمر فلور مل ریلوے ورکشاپ روڈ'))); ?></div>
                        <div><?php echo nl2br(e(\App\Models\Setting::get('office_rawalpindi_phone', "051-5530940, 051-5558105\n0301-5559072, 0334-5559072"))); ?></div>
                    </div>
                </div>
                <?php endif; ?>

                <?php if(\App\Models\Setting::get('office_peshawar_status', '1')): ?>
                <div class="office-box">
                    <div class="office-title"><?php echo e(\App\Models\Setting::get('office_peshawar_title', 'Peshawar Office')); ?></div>
                    <div class="office-content">
                        <div class="urdu-font"><?php echo nl2br(e(\App\Models\Setting::get('office_peshawar_address', 'بالمقابل اٹک پٹرول پمپ نزد نیشنل کانٹا رنگ روڈ'))); ?></div>
                        <div><?php echo nl2br(e(\App\Models\Setting::get('office_peshawar_phone', '0312-3366411'))); ?></div>
                        <div style="margin-top: 5px; font-weight: 600;">Guangzhou Warehouse</div>
                    </div>
                </div>
                <?php endif; ?>

                <?php if(\App\Models\Setting::get('office_lahore_status', '1')): ?>
                <div class="office-box">
                    <div class="office-title"><?php echo e(\App\Models\Setting::get('office_lahore_title', 'Lahore Office')); ?></div>
                    <div class="office-content">
                        <div class="urdu-font"><?php echo nl2br(e(\App\Models\Setting::get('office_lahore_address', 'باجوہ ہاؤس، پی ایس او پمپ لنک، حضرت علی روڈ'))); ?></div>
                        <div><?php echo nl2br(e(\App\Models\Setting::get('office_lahore_phone', "042-37339922, 042-37339921\n0331-4444630, 0301-1851177"))); ?></div>
                    </div>
                </div>
                <?php endif; ?>
            </div>

            <!-- Client & Shipment Meta -->
            <div class="info-grid">
                <div>
                    <div class="section-title">Bill To</div>
                    <div class="client-card">
                        <div class="client-name"><?php echo e($booking->customer->name); ?></div>
                        <div style="color: #64748b;"><?php echo e($booking->customer->address); ?>, <?php echo e($booking->customer->city); ?></div>
                        <div style="color: #64748b; margin-top: 4px;"><?php echo e($booking->customer->phone); ?></div>
                    </div>
                </div>
                <div>
                    <div class="section-title">Invoice Details</div>
                    <table class="meta-table">
                        <tr>
                            <td class="meta-label">Invoice No:</td>
                            <td class="meta-value">#<?php echo e($booking->id); ?></td>
                        </tr>
                        <tr>
                            <td class="meta-label">Date:</td>
                            <td class="meta-value"><?php echo e(\Carbon\Carbon::parse($booking->booking_date)->format('d M, Y')); ?></td>
                        </tr>
                        <tr>
                            <td class="meta-label">Container:</td>
                            <td class="meta-value"><?php echo e($booking->cntr_no); ?></td>
                        </tr>
                        <tr>
                            <td class="meta-label">Destination:</td>
                            <td class="meta-value"><?php echo e($booking->destination_city ?? '-'); ?></td>
                        </tr>
                    </table>
                </div>
            </div>

            <!-- Items Table -->
            <table class="items-table">
                <thead>
                    <tr>
                        <th>Description</th>
                        <th>Quantity</th>
                        <th>Unit</th>
                        <th>Rate</th>
                        <th>Amount</th>
                    </tr>
                </thead>
                <tbody>
                    <?php
                        $totalAmount = 0;
                        $unitTotals = ['KG' => 0, 'PCS' => 0, 'CTN' => 0, 'CBM' => 0];
                    ?>
                    <?php $__currentLoopData = $booking->items; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php
                            $totalAmount += $item->amount;
                            $unit = strtoupper($item->unit ?? 'PCS');
                            if (isset($unitTotals[$unit])) {
                                $unitTotals[$unit] += $item->quantity;
                            }
                        ?>
                        <tr>
                            <td><?php echo e($item->description); ?></td>
                            <td style="text-align: center;"><?php echo e(number_format($item->quantity, 2)); ?></td>
                            <td style="text-align: center; font-weight: 600; color: #1e3a8a;"><?php echo e(strtoupper($item->unit ?? 'PCS')); ?></td>
                            <td style="text-align: right;"><?php echo e(number_format($item->rate, 0)); ?></td>
                            <td><?php echo e(number_format($item->amount, 2)); ?></td>
                        </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    
                    <!-- Total Row -->
                    <tr style="background-color: #e0e7ff; font-weight: bold;">
                        <td style="color: #1e3a8a;">TOTALS</td>
                        <td style="text-align: center; color: #1e3a8a;">
                            <?php $__currentLoopData = $unitTotals; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $unit => $total): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <?php if($total > 0): ?>
                                    <?php echo e(number_format($total, 2)); ?> <?php echo e($unit); ?>

                                    <?php if(!$loop->last && array_sum(array_slice($unitTotals, $loop->index + 1)) > 0): ?>, <?php endif; ?>
                                <?php endif; ?>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </td>
                        <td></td>
                        <td></td>
                        <td style="color: #1e3a8a;"><?php echo e(number_format($totalAmount, 0)); ?></td>
                    </tr>
                </tbody>
            </table>

            <!-- Financial Summary -->
            <div class="totals-section">
                <div class="totals-box">
                    <div class="total-row">
                        <span class="total-label">Subtotal</span>
                        <span class="total-value"><?php echo e(number_format($totalAmount, 0)); ?></span>
                    </div>
                    <div class="total-row">
                        <span class="total-label">Discount</span>
                        <span class="total-value" style="color: #ef4444;">-<?php echo e(number_format($booking->discount ?? 0, 0)); ?></span>
                    </div>
                    <div class="total-row final">
                        <span class="total-label">Total Payable</span>
                        <span class="total-value"><?php echo e(number_format($booking->total_amount, 0)); ?></span>
                    </div>
                    <div style="margin-top: 15px; border-top: 1px solid #e2e8f0; padding-top: 10px;">
                        <div class="total-row">
                            <span class="total-label">Advance Paid</span>
                            <span class="total-value"><?php echo e(number_format($booking->advance_payment, 0)); ?></span>
                        </div>
                        <div class="total-row">
                            <span class="total-label">Balance Due</span>
                            <span class="total-value" style="color: #ef4444;"><?php echo e(number_format($booking->due_payment, 0)); ?></span>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- Footer -->
        <div class="footer">
            <div class="dates-grid">
                <div class="date-item">
                    <div class="date-label">Loading Date</div>
                    <div class="date-value"><?php echo e($booking->loading_date ? \Carbon\Carbon::parse($booking->loading_date)->format('d M, Y') : '-'); ?></div>
                </div>
                <div class="date-item">
                    <div class="date-label">Shipping Date</div>
                    <div class="date-value"><?php echo e($booking->shipping_date ? \Carbon\Carbon::parse($booking->shipping_date)->format('d M, Y') : '-'); ?></div>
                </div>
                <div class="date-item" style="text-align: right;">
                    <div class="date-label">Authorized Signature</div>
                    <div style="margin-top: 20px; border-bottom: 1px solid #94a3b8; width: 150px; display: inline-block;"></div>
                </div>
            </div>

            <!-- Terms -->
            <div class="terms urdu-font">
                نوٹ: تمام کسٹمرز کو مطلع کیا جاتا ہے کے مال لوڈنگ کے بعد کسی بھی آئٹم کے اوپر نیا رولنگ یا ڈیوٹی جاری ہو تو اتنے ریٹ کے مطابق دوسرا بلٹی بنانا ہوگا اور کسٹمر پابند ہوگا۔ بیوپاری کو چاہیے کے مال وصول کرتے وقت اچھی طرح ملاحظہ کریں ورنہ بعد میں کوئی شکایت نہیں سنی جائے گی۔ مال گودام سے لے جانے کے بعد میں مال کی کمی پیشی قبول نہیں ہوگی۔ خلاف قانون مال کا کمپنی ذمہ دار نہ ہوگی۔ غلط بیانی کی صورت میں مال ضبط کیا جائیگا یا جرمانہ کیا جائیگا۔ جرمانے کی حد کرانے کا دوسرا حصہ ہوگا۔ قدرتی آفات کی کمپنی ذمہ دار نہیں ہوگی مثلاً جہاز ڈوب جانا، آگ لگ جانا، روڈ پر ایکسیڈنٹ ہونا یا بارش سے مال خراب ہونا۔
            </div>
        </div>
    </div>
</body>
</html>
<?php /**PATH C:\Users\al-wasi\Downloads\cargomanagement-system\cargo-management-system\resources\views/bookings/invoice.blade.php ENDPATH**/ ?>