add item share to transaction item
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.0 on 2025-09-30 08:25
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('pos_device', '0074_stakeholders_default'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='posfreeproducts',
|
||||
name='company_fee',
|
||||
field=models.IntegerField(default=0),
|
||||
),
|
||||
]
|
||||
@@ -327,6 +327,7 @@ class POSFreeProducts(BaseModel):
|
||||
)
|
||||
balance = models.PositiveIntegerField(default=0)
|
||||
price = models.PositiveIntegerField(default=0)
|
||||
company_fee = models.IntegerField(default=0)
|
||||
|
||||
def __str__(self):
|
||||
return f'{self.product.name}-{self.organization.name}'
|
||||
|
||||
Reference in New Issue
Block a user