feat: add inventoryId to SalesInvoice and related models; implement createOrder functionality in POS service

This commit is contained in:
2025-12-16 10:03:49 +03:30
parent 687c89c3e1
commit d514267f58
16 changed files with 776 additions and 38 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ async function main() {
if ((await prisma.supplier.count()) === 0) {
await prisma.supplier.createMany({
data: Array.from({ length: 20 }, (_, i) => ({
data: Array.from({ length: 9 }, (_, i) => ({
firstName: 'تامین‌',
lastName: `کننده ${i + 1}`,
mobileNumber: `0912000000${i + 1}`,