diff --git a/app/features/admin/services/payment_service.py b/app/features/admin/services/payment_service.py
index 7eb3b85..30d2cee 100644
--- a/app/features/admin/services/payment_service.py
+++ b/app/features/admin/services/payment_service.py
@@ -420,6 +420,7 @@ class AdminPaymentService:
+
Tax Invoice - {inv_number}
@@ -431,6 +432,18 @@ class AdminPaymentService:
padding: 0;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}}
+ /* Prevent iOS WebKit / Safari automatic data detector and link underlining */
+ a,
+ a[x-apple-data-detectors],
+ a[href^="mailto:"],
+ a[href^="tel:"] {{
+ color: inherit !important;
+ text-decoration: none !important;
+ font-size: inherit !important;
+ font-family: inherit !important;
+ font-weight: inherit !important;
+ line-height: inherit !important;
+ }}
body {{
background-color: #f8fafc;
color: #1e293b;
@@ -557,7 +570,8 @@ class AdminPaymentService:
margin-bottom: 24px;
border: 1px solid #e2e8f0;
border-radius: 10px;
- overflow: hidden;
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
}}
table {{
width: 100%;
@@ -618,6 +632,73 @@ class AdminPaymentService:
color: #94a3b8;
line-height: 1.6;
}}
+ .payment-id-val {{
+ word-break: break-all;
+ display: inline-block;
+ }}
+ @media (max-width: 640px) {{
+ body {{
+ padding: 12px 8px;
+ }}
+ .no-print-bar {{
+ flex-direction: column;
+ align-items: stretch;
+ gap: 12px;
+ padding: 12px 14px;
+ text-align: center;
+ }}
+ .no-print-actions {{
+ display: flex;
+ gap: 8px;
+ width: 100%;
+ }}
+ .no-print-actions .btn {{
+ flex: 1;
+ justify-content: center;
+ padding: 10px 8px;
+ font-size: 13px;
+ }}
+ .invoice-card {{
+ padding: 24px 16px;
+ border-radius: 12px;
+ }}
+ .header {{
+ flex-direction: column;
+ align-items: flex-start;
+ gap: 16px;
+ padding-bottom: 18px;
+ margin-bottom: 20px;
+ }}
+ .invoice-badge-box {{
+ text-align: left;
+ width: 100%;
+ }}
+ .grid-details {{
+ grid-template-columns: 1fr;
+ gap: 20px;
+ margin-bottom: 24px;
+ }}
+ .grid-payment-overview {{
+ text-align: left !important;
+ }}
+ .detail-text {{
+ word-break: break-word;
+ overflow-wrap: anywhere;
+ }}
+ .table-wrap table {{
+ min-width: 480px;
+ }}
+ th, td {{
+ padding: 10px 12px;
+ font-size: 13px;
+ }}
+ .summary-wrap {{
+ justify-content: stretch;
+ }}
+ .summary-card {{
+ width: 100%;
+ }}
+ }}
@media print {{
body {{
background-color: #ffffff !important;
@@ -640,7 +721,7 @@ class AdminPaymentService:
Acupedia Official Tax Invoice • {inv_number}
-
+
-
+
Payment Overview
-
Gateway Reference: {payment_id}
+
Payment ID: {payment_id}
Payment Method: {pay_method}
Currency: {currency}
-
Status: Completed / Captured