update ar currency

This commit is contained in:
root
2026-06-02 01:45:05 -04:00
parent 8f57ca9d76
commit 29886c3397
9 changed files with 49 additions and 21 deletions
@@ -1,6 +1,7 @@
'use client'
import { useState } from 'react'
import { formatCurrency } from '@rentaldrivego/types'
import { marketplacePost } from '@/lib/api'
import { useMarketplacePreferences } from '@/components/MarketplaceShell'
@@ -507,7 +508,7 @@ export default function BookingForm({
<p className="text-sm text-stone-600 dark:text-stone-400">
{t.estimatedTotal}:{' '}
<strong className="text-stone-900 dark:text-stone-100">
{(dailyRate * totalDays).toLocaleString()} MAD
{formatCurrency(dailyRate * totalDays, 'MAD', language)}
</strong>{' '}
({totalDays} {t.days})
</p>