Facturas de cliente -> Permitir que los abonos tengan importe 0.
git-svn-id: https://192.168.0.254/svn/Proyectos.LuisLeon_FactuGES/trunk@276 c93665c3-c93d-084d-9b98-7d5f4a9c3376
This commit is contained in:
parent
1713b2b4a9
commit
b14718b5ad
@ -615,7 +615,7 @@ begin
|
||||
|
||||
//En caso de ser un Abono no podra tener un importe total positivo
|
||||
if (AFactura.TIPO = CTE_TIPO_ABONO) then
|
||||
if (AFactura.IMPORTE_TOTAL >= 0) then
|
||||
if (AFactura.IMPORTE_TOTAL > 0) then
|
||||
raise Exception.Create('Un abono nunca no puede tener un importe positivo');
|
||||
|
||||
{ Asegurarse de valores en campos "automáticos" tanto
|
||||
|
||||
Reference in New Issue
Block a user