update ar currency
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user