# SPA MASCOTAS
## LOGICA LOGIN
```plantuml
@startuml
start
:Mostrar pantalla inicio (Form1);
if (txtclave=="") then (Si es vacia)
#pink:Mostar Mensaje *EscribaClave*;
else (no)
if(txtclave=="123") then (Si)
#palegreen:Mostrar pantalla de datos (Form2);
else (no)
#pink:Mostar Mensaje *Error clave errada*;
endif
endif
stop
@enduml
```
## LOGICA VALOR SERVICIO
```plantuml
@startuml
start
:Capturar valor campo **estrato**;
:Capturar valor campo **servicio**;
:Capturar otros campos;
if (servicio == 1) then (Si)
:valor_servicio=**45000**;
else if (Servicio ==2) then (sI)
:valor_servicio=**80000**;
else()
:valor_servicio=**100000**;
endif
if (Estrato==1 or Estrato==2) then (Si)
:**descuento**=0.15;
:**Total**=**valor_servicio***(1-**descuento**);
else if (Estrato==3 or Estrato==4) then (sI)
:**descuento**=0.15;
:**Total**=**valor_servicio***(1-**descuento**);
else(Estrato==3 or Estrato==4)
:**descuento**=0.15;
:**Total**=**valor_servicio***(1-**descuento**);
endif
:Imprimir servicio, descuento, Total;
stop
@enduml
```