Merge pull request #410 from Tria-plc/freight/feat/fixes-v1

fix: merge marker in invoice detial page
This commit is contained in:
Nathnael Wondisha
2026-07-02 17:14:40 +03:00
committed by GitHub

View File

@@ -10,7 +10,6 @@ import {
Group,
Loader,
Paper,
Select,
SimpleGrid,
Stack,
Table,
@@ -24,7 +23,6 @@ import {
ExternalLink,
Receipt,
} from "lucide-react";
import { useState } from "react";
import toast from "react-hot-toast";
import { api } from "@/services/api";
@@ -67,7 +65,9 @@ function MetaItem({ label, value }: { label: string; value: string }) {
export default function InvoiceDetailPage() {
const { id = "" } = useParams();
const navigate = useNavigate();
const [paymentMethod, setPaymentMethod] = useState<"TELEBIRR" | "WAAFI">("TELEBIRR");
const [paymentMethod, setPaymentMethod] = useState<"TELEBIRR" | "WAAFI">(
"TELEBIRR",
);
const {
data: invoice,