add item to invoice

This commit is contained in:
2026-01-24 11:47:44 +03:30
parent 49390ce62e
commit bdc76689a5
4 changed files with 122 additions and 43 deletions
@@ -100,6 +100,9 @@ export class Order extends BaseEntity {
@Property({ type: 'json', nullable: true })
attachments?: string[]
@Property({ type: 'string', nullable: true })
paymentMethod?: string;
@BeforeCreate()
async generateOrderNumber(args: EventArgs<Order>) {
const em = args.em;