feat(order,dashboard): version order credit lines (#13766)

* feat(): version order credit lines

* undo last change

* adjust where

* remove date on ui

* Create five-donuts-obey.md

* add test

* nit comment

* woops
This commit is contained in:
William Bouchard
2025-10-22 04:26:05 -04:00
committed by GitHub
parent bad0858348
commit fe4e7481a9
9 changed files with 206 additions and 55 deletions

View File

@@ -38,7 +38,6 @@ import {
} from "@medusajs/ui"
import { AdminReservation } from "@medusajs/types/src/http"
import { format } from "date-fns"
import { ActionMenu } from "../../../../../components/common/action-menu"
import DisplayId from "../../../../../components/common/display-id/display-id"
import { Thumbnail } from "../../../../../components/common/thumbnail"
@@ -872,26 +871,6 @@ const DiscountAndTotalBreakdown = ({
<span className="txt-small text-ui-fg-subtle mx-1">
-
</span>
<Tooltip
content={format(
new Date(creditLine.created_at),
"dd MMM, yyyy, HH:mm:ss"
)}
>
<Text
size="small"
leading="compact"
className="txt-small text-ui-fg-subtle"
>
{format(
new Date(creditLine.created_at),
"dd MMM, yyyy"
)}
</Text>
</Tooltip>
<span className="txt-small text-ui-fg-subtle mx-1">
-
</span>
<Text
size="small"
leading="compact"