| @@ -470,9 +470,9 @@ | ||
| 470 | 470 | <div class="yatra-group-discount-badge"> |
| 471 | 471 | <svg width="14" height="14" fill="currentColor" viewBox="0 0 20 20"> |
| 472 | 472 | <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd"/> |
| 473 | 473 | </svg> |
| 474 | - Group discount applied: -${window.yatraTripData?.currencySymbol || '$'}${discountAmount.toFixed(2)} | |
| 474 | + Group discount applied: -${typeof window.yatra_format_price_js === 'function' ? window.yatra_format_price_js(discountAmount) : (window.yatraTripData?.currencySymbol || '$') + discountAmount.toFixed(2)} | |
| 475 | 475 | </div> |
| 476 | 476 | `; |
| 477 | 477 | } else if (indicator) { |
| 478 | 478 | indicator.remove(); |