feat: add inventoryId to SalesInvoice and related models; implement createOrder functionality in POS service
This commit is contained in:
+1
-1
@@ -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}`,
|
||||
|
||||
Reference in New Issue
Block a user