{{-- Tempel di resources/views/pages/orders/show.blade.php bagian Aksi/Cetak --}}

<div class="rounded-xl border border-gray-200 bg-white p-4 dark:border-gray-800 dark:bg-gray-900">
    <h3 class="mb-3 text-sm font-bold text-gray-900 dark:text-white">
        Cetak Invoice
    </h3>

    <div class="grid grid-cols-1 gap-2 sm:grid-cols-3">
        <a target="_blank"
           href="{{ route('orders.invoice-print', ['order' => $order, 'paper' => 'a4']) }}"
           style="display:inline-flex !important;align-items:center !important;justify-content:center !important;background:#2563eb !important;color:#ffffff !important;border:1px solid #1d4ed8 !important;border-radius:10px !important;padding:10px 12px !important;font-size:13px !important;font-weight:800 !important;text-decoration:none !important;">
            Cetak A4
        </a>

        <a target="_blank"
           href="{{ route('orders.invoice-print', ['order' => $order, 'paper' => 'a5']) }}"
           style="display:inline-flex !important;align-items:center !important;justify-content:center !important;background:#2563eb !important;color:#ffffff !important;border:1px solid #1d4ed8 !important;border-radius:10px !important;padding:10px 12px !important;font-size:13px !important;font-weight:800 !important;text-decoration:none !important;">
            Cetak A5
        </a>

        <a target="_blank"
           href="{{ route('orders.invoice-print', ['order' => $order, 'paper' => '215x165']) }}"
           style="display:inline-flex !important;align-items:center !important;justify-content:center !important;background:#2563eb !important;color:#ffffff !important;border:1px solid #1d4ed8 !important;border-radius:10px !important;padding:10px 12px !important;font-size:13px !important;font-weight:800 !important;text-decoration:none !important;">
            Cetak 21,5 × 16,5
        </a>
    </div>

    <div class="mt-3 grid grid-cols-1 gap-2 sm:grid-cols-2">
        <a target="_blank"
           href="{{ route('orders.invoice-print', ['order' => $order, 'paper' => 'a4', 'ppn' => 1]) }}"
           style="display:inline-flex !important;align-items:center !important;justify-content:center !important;background:#ffffff !important;color:#1d4ed8 !important;border:1px solid #93c5fd !important;border-radius:10px !important;padding:9px 12px !important;font-size:12px !important;font-weight:800 !important;text-decoration:none !important;">
            A4 + PPN
        </a>

        <a target="_blank"
           href="{{ route('orders.invoice-print', ['order' => $order, 'paper' => 'a4', 'ppn' => 0]) }}"
           style="display:inline-flex !important;align-items:center !important;justify-content:center !important;background:#ffffff !important;color:#374151 !important;border:1px solid #d1d5db !important;border-radius:10px !important;padding:9px 12px !important;font-size:12px !important;font-weight:800 !important;text-decoration:none !important;">
            A4 Tanpa PPN
        </a>
    </div>
</div>
