Commit 962c6df1 by tdgiang

Default new transactions to payType IC (credit card) instead of DC

Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017KPzWwuTEeX2vXGXvyGn4q
parent 37289e81
...@@ -11,7 +11,7 @@ var AdminTransactionSchema = new Schema( ...@@ -11,7 +11,7 @@ var AdminTransactionSchema = new Schema(
customerAddress: { type: String, required: true }, customerAddress: { type: String, required: true },
customerIdCard: { type: String, required: true }, customerIdCard: { type: String, required: true },
amount: { type: Number, required: true }, amount: { type: Number, required: true },
payType: { type: String, default: "DC" }, payType: { type: String, default: "IC" },
status: { status: {
type: String, type: String,
enum: ["pending", "success", "failed"], enum: ["pending", "success", "failed"],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment