feat(privacy): drop the office phone from the public doctor page

The number is no longer part of the public API payload, so the line under each
address would have rendered a bare "تلفن:" label with nothing after it. The
address and the routing button stay — those are what a visitor came for. In the
dashboard the phone is still shown, now only when the venue actually has one.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
hamed
2026-08-18 16:32:02 +03:30
co-authored by Claude Opus 5
parent 45f94743fd
commit 6293c64c25
3 changed files with 24 additions and 20 deletions
@@ -50,10 +50,9 @@ function Item({ data, bookable = true }) {
<p className="text-[#525252] text-[16px] font-normal">
آدرس: {data.address}
</p>
<div className="flex w-full items-center justify-between">
<p className="text-[#525252] text-[16px] font-normal">
تلفن: {data.telephone}
</p>
{/* شمارهٔ مطب اینجا نمی‌آید: دادهٔ عمومی نیست و API هم دیگر آن را برنمی‌گرداند.
بیمار شماره را در «جزئیات نوبت شما» — بعد از گرفتن نوبت — می‌بیند. */}
<div className="flex w-full items-center justify-end">
{data?.map?.latitude && data?.map?.longitude && (
<ModalOpenLocation
open={open}