ui and minor changes for payment page

This commit is contained in:
2025-08-14 23:12:00 +05:30
parent 7969234445
commit 8d4aff12a1
8 changed files with 639 additions and 1025 deletions

View File

@@ -1,15 +1,11 @@
import {
PaymentUncheckedCreateInputObjectSchema,
ClaimUncheckedCreateInputObjectSchema,
ServiceLineTransactionCreateInputObjectSchema,
ClaimStatusSchema,
StaffUncheckedCreateInputObjectSchema,
PaymentMethodSchema,
PaymentStatusSchema,
} from "@repo/db/usedSchemas";
import { Prisma } from "@repo/db/generated/prisma";
import { z } from "zod";
import { Decimal } from "decimal.js";
// ========== BASIC TYPES ==========
@@ -30,6 +26,7 @@ export type ServiceLineTransactionRecord =
}>;
// Enum for payment
export { PaymentStatusSchema };
export type PaymentStatus = z.infer<typeof PaymentStatusSchema>;
export type PaymentMethod = z.infer<typeof PaymentMethodSchema>;