removed extra gateways

This commit is contained in:
Mamalizz
2025-09-22 14:16:48 +03:30
parent 7b55681b0c
commit 5589015cd9
+1 -37
View File
@@ -9,7 +9,7 @@ useSeoMeta({
definePageMeta({
layout: "cart",
middleware: "check-is-logged-in",
middleware: ["check-is-logged-in", "check-has-selected-address"],
prevPage: { name: "cart-delivery", label: "انتخاب آدرس" },
nextPage: { name: "payment", label: "پرداخت" },
});
@@ -19,48 +19,12 @@ definePageMeta({
const router = useRouter();
const paymentGateways = ref<PaymentGateway[]>([
{
id: 1,
picture: "/img/gateways/zarinpal.png",
title: "زرین پال",
type: "ZARINPAL",
},
{
id: 2,
picture: "/img/gateways/sep.png",
title: "سپ",
type: "SEP",
},
{
id: 3,
picture: "/img/gateways/mellat-bank.png",
title: "بانک ملت",
type: "MELLAT",
},
{
id: 4,
picture: "/img/gateways/idpay.png",
title: "آی دی پی",
type: "IDPAY",
},
{
id: 5,
picture: "/img/gateways/zibal.png",
title: "زیبال",
type: "ZIBAL",
},
{
id: 6,
picture: "/img/gateways/bahamta.png",
title: "باهمتا",
type: "BAHAMTA",
},
{
id: 7,
picture: "/img/gateways/bmi.png",
title: "بانک ملی",
type: "BMI",
},
]);
const selectedGateway = computed({