chore: Delete numerous application modules, templates, static assets, documentation, and build files.

This commit is contained in:
2026-02-25 17:09:27 -03:00
parent 7ddaa2d1f9
commit 2fc4fafed7
562 changed files with 17 additions and 6810 deletions

15
payments/serializers.py Normal file
View File

@@ -0,0 +1,15 @@
from rest_framework import serializers
from .models import Payments
class PaymentsSerializer(serializers.ModelSerializer):
type_pay_name = serializers.ReadOnlyField(source='type_pay.name')
comanda_name = serializers.ReadOnlyField(source='comanda.name')
client_name = serializers.ReadOnlyField(source='client.name')
class Meta:
model = Payments
fields = [
'id', 'value', 'type_pay', 'type_pay_name',
'comanda', 'comanda_name', 'client', 'client_name',
'description', 'datetime'
]