Bổ sung người thanh toán vào thêm địa điểm

This commit is contained in:
2026-06-14 15:59:27 +07:00
parent 65a9b39966
commit 71007bd9a1
23 changed files with 245 additions and 449 deletions
+3 -2
View File
@@ -79,13 +79,14 @@ async function main() {
});
console.log('--- Đang tạo chi phí mẫu... ---');
await prisma.expense.create({
const expense1 = await prisma.expense.create({
data: {
legId: leg1.id,
category: 'FOOD',
amount: 500000,
currency: 'VND',
description: 'Ăn trưa đặc sản Quận 1',
note: 'Đặt trước cho 3 người',
paidById: owner.id,
},
});