feat: end-point for pdf of all deal's barcodes, client and marketplace info in bill of payment
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
from abc import abstractmethod
|
||||
from typing import List, Dict
|
||||
|
||||
from models import ProductBarcode, Product, BarcodeTemplate
|
||||
from models import BarcodeTemplate, Product
|
||||
|
||||
|
||||
class BaseBarcodeGenerator:
|
||||
|
||||
@abstractmethod
|
||||
def generate(self,
|
||||
barcode: ProductBarcode,
|
||||
product: Product,
|
||||
template: BarcodeTemplate):
|
||||
def generate(self, data: List[Dict[str, str | Product | BarcodeTemplate | int]]):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user