Programa dia 12 - Sistema de facturación

This commit is contained in:
Manuel Vergara 2023-04-16 10:57:17 +02:00
parent d64aeec0fe
commit 86e4ad9cba
4 changed files with 1102 additions and 0 deletions

19
dia_12/Primer_recibo.txt Normal file
View File

@ -0,0 +1,19 @@
Datos: N# - 1493 16/4/2023 - 10:38
***********************************************
Descripción Cant. Precio
--------------------------------------------------------------------
pollo 1 1.32 €
jugo 1 1.21 €
cerveza1 1 1.1 €
mouse 1 2.14 €
pastel2 2 3.48 €
--------------------------------------------------------------------
Total de la comida: 1.32 €
Total de la bebida: 2.31 €
Total de la postre: 5.62 €
--------------------------------------------------------------------
Subtotal: 9.25 €
Impuestos 10%: 0.93 €
Total: 10.18 €
***********************************************
Le esperamos pronto

3
dia_12/lista_precios.txt Normal file
View File

@ -0,0 +1,3 @@
precios_comida = [1.32, 1.65, 2.31, 3.22, 1.22, 1.99, 2.05, 2.65]
precios_bebida = [0.25, 0.99, 1.21, 1.54, 1.08, 1.10, 2.00, 1.58]
precios_postres = [1.54, 1.68, 1.32, 1.97, 2.55, 2.14, 1.94, 1.74]

1065
dia_12/mi_restaurante.py Normal file

File diff suppressed because it is too large Load Diff

15
dia_12/segundo_recibo.txt Normal file
View File

@ -0,0 +1,15 @@
Datos: N# - 8000 16/4/2023 - 10:39
***********************************************
Descripción Cant. Precio
--------------------------------------------------------------------
jugo 1 1.21 €
--------------------------------------------------------------------
Total de la comida: 0.0 €
Total de la bebida: 1.21 €
Total de la postre: 0.0 €
--------------------------------------------------------------------
Subtotal: 1.21 €
Impuestos 10%: 0.12 €
Total: 1.33 €
***********************************************
Le esperamos pronto