feat: implement flexible payment processing with partial cash payments and automatic balance deduction in reports
This commit is contained in:
@@ -52,6 +52,7 @@ model Submission {
|
||||
order_id String
|
||||
user_id String
|
||||
bill Int?
|
||||
paid_amount Int?
|
||||
payment_status String @default("BELUM_BAYAR")
|
||||
order Order @relation(fields: [order_id], references: [id], onDelete: Cascade)
|
||||
user User @relation(fields: [user_id], references: [id], onDelete: Cascade)
|
||||
|
||||
Reference in New Issue
Block a user