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:
David Arranz 2008-08-05 14:10:27 +00:00
parent 1713b2b4a9
commit b14718b5ad

View File

@ -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