Quitamos la posibilidad de generar un albaran a partir de un presupuesto, y tambien quitamos el aviso, cuendo elegimos un cliente para el albarán, de que no tiene datos bancarios
git-svn-id: https://192.168.0.254/svn/Proyectos.Acana_FactuGES2/trunk@177 f4e31baf-9722-1c47-927c-6f952f962d4b
This commit is contained in:
parent
96ed6434c2
commit
f35331e504
@ -237,8 +237,8 @@ begin
|
||||
AClientesController := TClientesController.Create;
|
||||
try
|
||||
// Avisar si no hay datos bancarios
|
||||
if not AClientesController.TieneDatosBancarios(FAlbaran.Cliente) then
|
||||
ShowWarningMessage('Este cliente no tiene datos bancarios en su ficha');
|
||||
//if not AClientesController.TieneDatosBancarios(FAlbaran.Cliente) then
|
||||
// ShowWarningMessage('Este cliente no tiene datos bancarios en su ficha');
|
||||
|
||||
// Elegir la dirección de envio
|
||||
case FAlbaran.Cliente.Direcciones.RecordCount of
|
||||
|
||||
@ -2,7 +2,6 @@ inherited fEditorAlbaranesCliente: TfEditorAlbaranesCliente
|
||||
Caption = 'Lista de albaranes de cliente'
|
||||
ClientWidth = 583
|
||||
ExplicitWidth = 591
|
||||
ExplicitHeight = 471
|
||||
PixelsPerInch = 96
|
||||
TextHeight = 13
|
||||
inherited JvNavPanelHeader: TJvNavPanelHeader
|
||||
|
||||
@ -455,7 +455,12 @@ var
|
||||
begin
|
||||
inherited;
|
||||
|
||||
Respuesta := JsNuevoAlbaranDialog.Execute;
|
||||
if FController.Anadir(Albaranes) then
|
||||
FController.Ver(Albaranes);
|
||||
|
||||
//Se deshabilita la funcionalidad para poder generar un albarán a partir de un presupuesto
|
||||
|
||||
{ Respuesta := JsNuevoAlbaranDialog.Execute;
|
||||
|
||||
if Respuesta <> IDCANCEL then
|
||||
begin
|
||||
@ -470,6 +475,7 @@ begin
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
}
|
||||
end;
|
||||
|
||||
procedure TfEditorAlbaranesCliente.PonerTitulos(const ATitulo: string);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user