Tareas #1274: Poder elegir tanto albaranes como ordenes de devolucion al generar facturas
Tareas #1330: En pedidos y albaranes de cliente sale importe total cuando deberia salir base_imponible ya que lo presentamos sin iva git-svn-id: https://192.168.0.254/svn/Proyectos.LuisLeon_FactuGES2/trunk@219 b2cfbe5a-eba1-4a0c-8b32-7feea0a119f2
This commit is contained in:
parent
2c4509fbb2
commit
2f69ce945e
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<TfrxReport Version="4.7.71" DotMatrixReport="False" EngineOptions.DoublePass="True" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PrintOptions.Printer="Por defecto" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="39065,8724234954" ReportOptions.Description.Text="" ReportOptions.LastChange="41527,7481448032" ScriptLanguage="PascalScript" ScriptText.Text=" procedure DireccionEnvioOnBeforePrint(Sender: TfrxComponent); var ACadena : String; begin ACadena := ''; DireccionEnvio.Lines.Clear; if (<frxDBCabecera."REFERENCIA_CLIENTE"> <> '') then ACadena := <frxDBCabecera."REFERENCIA_CLIENTE">; if (<frxDBCabecera."PERSONA_CONTACTO"> <> '') then ACadena := ACadena + ' ' + <frxDBCabecera."PERSONA_CONTACTO">; DireccionEnvio.Lines.Add(ACadena); ACadena := ''; DireccionEnvio.Lines.Add(<frxDBCabecera."CALLE">); if (<frxDBCabecera."CODIGO_POSTAL"> <> '') then ACadena := <frxDBCabecera."CODIGO_POSTAL"> + ' '; if (<frxDBCabecera."POBLACION"> <> '') then ACadena := ACadena + <frxDBCabecera."CODIGO_POSTAL">; if (ACadena <> '') then DireccionEnvio.Lines.Add(ACadena); if (<frxDBCabecera."PROVINCIA"> <> '') then DireccionEnvio.Lines.Add(<frxDBCabecera."PROVINCIA">); if (<frxDBCabecera."TELEFONO"> <> '') then DireccionEnvio.Lines.Add(<frxDBCabecera."TELEFONO">); end; procedure PageHeader1OnBeforePrint(Sender: TfrxComponent); begin if not Engine.FinalPass then Set('TotalPaginas', (<TotalPaginas> + 1)); if Engine.FinalPass then Set('Pagina', (<Pagina> + 1)); end; procedure frxReportOnStartReport(Sender: TfrxComponent); begin Set('Pagina', 0); Set('TotalPaginas', 0); end; procedure eImporteUnidadOnBeforePrint(Sender: TfrxComponent); begin if <ImprimirPrecio> then begin eImporteUnidad.Visible := True; lImporteUnidad.Visible := True; eImporteTotal.Visible := True; lImporteTotal.Visible := True; ImporteUnidad.Visible := True; ImporteTotal.Visible := True; end else begin eImporteUnidad.Visible := False; lImporteUnidad.Visible := False; eImporteTotal.Visible := False; lImporteTotal.Visible := False; ImporteUnidad.Visible := False; ImporteTotal.Visible := False; eConcepto.Width := eConcepto.Width + ImporteTotal.Width + ImporteUnidad.Width; Concepto.Width :=eConcepto.Width - 10; end end; procedure Overlay1OnBeforePrint(Sender: TfrxComponent); begin if <ShowLogotipo> then begin Overlay1.Visible := True; end else begin Overlay1.Visible := False; end end; begin end." ShowProgress="False" StoreInDFM="False" OnStartReport="frxReportOnStartReport" PropData="044C65667403890003546F70021008446174617365747301010C3400000020446174615365743D22667278444243616265636572612220446174615365744E616D653D22667278444243616265636572612200010C3400000020446174615365743D226672784442446574616C6C65732220446174615365744E616D653D226672784442446574616C6C6573220000095661726961626C657301010C13000000204E616D653D2220506167696E6163696F6E2200010C0E000000204E616D653D22506167696E612200010C14000000204E616D653D22546F74616C506167696E61732200010C10000000204E616D653D2220496E666F726D652200010C16000000204E616D653D22496D7072696D697250726563696F2200010C1C000000204E616D653D22496D7072696D697252656650726F766565646F722200010C14000000204E616D653D2253686F774C6F676F7469706F220000055374796C650100">
|
<TfrxReport Version="4.7.71" DotMatrixReport="False" EngineOptions.DoublePass="True" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PrintOptions.Printer="Por defecto" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="39065,8724234954" ReportOptions.Description.Text="" ReportOptions.LastChange="41705,4905878935" ScriptLanguage="PascalScript" ScriptText.Text=" procedure DireccionEnvioOnBeforePrint(Sender: TfrxComponent); var ACadena : String; begin ACadena := ''; DireccionEnvio.Lines.Clear; if (<frxDBCabecera."REFERENCIA_CLIENTE"> <> '') then ACadena := <frxDBCabecera."REFERENCIA_CLIENTE">; if (<frxDBCabecera."PERSONA_CONTACTO"> <> '') then ACadena := ACadena + ' ' + <frxDBCabecera."PERSONA_CONTACTO">; DireccionEnvio.Lines.Add(ACadena); ACadena := ''; DireccionEnvio.Lines.Add(<frxDBCabecera."CALLE">); if (<frxDBCabecera."CODIGO_POSTAL"> <> '') then ACadena := <frxDBCabecera."CODIGO_POSTAL"> + ' '; if (<frxDBCabecera."POBLACION"> <> '') then ACadena := ACadena + <frxDBCabecera."CODIGO_POSTAL">; if (ACadena <> '') then DireccionEnvio.Lines.Add(ACadena); if (<frxDBCabecera."PROVINCIA"> <> '') then DireccionEnvio.Lines.Add(<frxDBCabecera."PROVINCIA">); if (<frxDBCabecera."TELEFONO"> <> '') then DireccionEnvio.Lines.Add(<frxDBCabecera."TELEFONO">); end; procedure PageHeader1OnBeforePrint(Sender: TfrxComponent); begin if not Engine.FinalPass then Set('TotalPaginas', (<TotalPaginas> + 1)); if Engine.FinalPass then Set('Pagina', (<Pagina> + 1)); end; procedure frxReportOnStartReport(Sender: TfrxComponent); begin Set('Pagina', 0); Set('TotalPaginas', 0); end; procedure eImporteUnidadOnBeforePrint(Sender: TfrxComponent); begin if <ImprimirPrecio> then begin eImporteUnidad.Visible := True; lImporteUnidad.Visible := True; eImporteTotal.Visible := True; lImporteTotal.Visible := True; ImporteUnidad.Visible := True; ImporteTotal.Visible := True; end else begin eImporteUnidad.Visible := False; lImporteUnidad.Visible := False; eImporteTotal.Visible := False; lImporteTotal.Visible := False; ImporteUnidad.Visible := False; ImporteTotal.Visible := False; eConcepto.Width := eConcepto.Width + ImporteTotal.Width + ImporteUnidad.Width; Concepto.Width :=eConcepto.Width - 10; end end; procedure Overlay1OnBeforePrint(Sender: TfrxComponent); begin if <ShowLogotipo> then begin Overlay1.Visible := True; end else begin Overlay1.Visible := False; end end; begin end." ShowProgress="False" StoreInDFM="False" OnStartReport="frxReportOnStartReport" PropData="044C65667403890003546F70021008446174617365747301010C3400000020446174615365743D22667278444243616265636572612220446174615365744E616D653D22667278444243616265636572612200010C3400000020446174615365743D226672784442446574616C6C65732220446174615365744E616D653D226672784442446574616C6C6573220000095661726961626C657301010C13000000204E616D653D2220506167696E6163696F6E2200010C0E000000204E616D653D22506167696E612200010C14000000204E616D653D22546F74616C506167696E61732200010C10000000204E616D653D2220496E666F726D652200010C16000000204E616D653D22496D7072696D697250726563696F2200010C1C000000204E616D653D22496D7072696D697252656650726F766565646F722200010C14000000204E616D653D2253686F774C6F676F7469706F220000055374796C650100">
|
||||||
<TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000"/>
|
<TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000"/>
|
||||||
<TfrxReportPage Name="Page1" PaperWidth="215,00041667" PaperHeight="297,00008333" PaperSize="256" LeftMargin="10,00125" RightMargin="10,00125" TopMargin="10,00125" BottomMargin="10,00125" ColumnWidth="0" ColumnPositions.Text="" LargeDesignHeight="True" HGuides.Text="" VGuides.Text="">
|
<TfrxReportPage Name="Page1" PaperWidth="215,00041667" PaperHeight="297,00008333" PaperSize="256" LeftMargin="10,00125" RightMargin="10,00125" TopMargin="10,00125" BottomMargin="10,00125" ColumnWidth="0" ColumnPositions.Text="" LargeDesignHeight="True" HGuides.Text="" VGuides.Text="">
|
||||||
<TfrxMasterData Name="MasterData1" Height="21" Left="0" Top="326" Width="737,000475991765" ColumnWidth="0" ColumnGap="0" DataSet="frxDBDetalles" DataSetName="frxDBDetalles" RowCount="0" Stretched="True">
|
<TfrxMasterData Name="MasterData1" Height="21" Left="0" Top="326" Width="737,000475991765" ColumnWidth="0" ColumnGap="0" DataSet="frxDBDetalles" DataSetName="frxDBDetalles" RowCount="0" Stretched="True">
|
||||||
@ -11,7 +11,7 @@
|
|||||||
</TfrxMasterData>
|
</TfrxMasterData>
|
||||||
<TfrxPageFooter Name="PageFooter1" Font.Charset="1" Font.Color="0" Font.Height="-7" Font.Name="Arial" Font.Style="0" Height="88" Left="0" ParentFont="False" Top="1549" Width="737,000475991765">
|
<TfrxPageFooter Name="PageFooter1" Font.Charset="1" Font.Color="0" Font.Height="-7" Font.Name="Arial" Font.Style="0" Height="88" Left="0" ParentFont="False" Top="1549" Width="737,000475991765">
|
||||||
<TfrxLineView Name="Line4" Align="baRight" Left="17,0004759917651" Top="0" Width="720" Height="0" ShowHint="False" Frame.Typ="4"/>
|
<TfrxLineView Name="Line4" Align="baRight" Left="17,0004759917651" Top="0" Width="720" Height="0" ShowHint="False" Frame.Typ="4"/>
|
||||||
<TfrxMemoView Name="Memo9" Left="638" Top="1" Width="97,03148874" Height="27" ShowHint="False" StretchMode="smMaxHeight" DataSet="frxDBDetalles" DataSetName="frxDBDetalles" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" GapY="3" HAlign="haRight" HideZeros="True" LineSpacing="4" ParentFont="False" Style="Concepto normal" Text="[frxDBCabecera."IMPORTE_TOTAL"]"/>
|
<TfrxMemoView Name="Memo9" Left="638" Top="1" Width="97,03148874" Height="27" ShowHint="False" StretchMode="smMaxHeight" DataSet="frxDBDetalles" DataSetName="frxDBDetalles" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" GapY="3" HAlign="haRight" HideZeros="True" LineSpacing="4" ParentFont="False" Style="Concepto normal" Text="[frxDBCabecera."BASE_IMPONIBLE"]"/>
|
||||||
<TfrxMemoView Name="Memo15" Left="517" Top="1" Width="117" Height="35,45669291" ShowHint="False" Color="16777215" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Color="8421504" HAlign="haCenter" ParentFont="False" Text="Importe total (IVA no incluido)"/>
|
<TfrxMemoView Name="Memo15" Left="517" Top="1" Width="117" Height="35,45669291" ShowHint="False" Color="16777215" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Color="8421504" HAlign="haCenter" ParentFont="False" Text="Importe total (IVA no incluido)"/>
|
||||||
</TfrxPageFooter>
|
</TfrxPageFooter>
|
||||||
<TfrxPageHeader Name="PageHeader1" Height="250" Left="0" Top="16" Width="737,000475991765" OnBeforePrint="PageHeader1OnBeforePrint">
|
<TfrxPageHeader Name="PageHeader1" Height="250" Left="0" Top="16" Width="737,000475991765" OnBeforePrint="PageHeader1OnBeforePrint">
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<TfrxReport Version="4.7.71" DotMatrixReport="False" EngineOptions.DoublePass="True" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PrintOptions.Printer="Por defecto" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="39065,8724234954" ReportOptions.Description.Text="" ReportOptions.LastChange="41527,743482419" ScriptLanguage="PascalScript" ScriptText.Text=" procedure DireccionEnvioOnBeforePrint(Sender: TfrxComponent); var ACadena : String; begin ACadena := ''; DireccionEnvio.Lines.Clear; if (<frxDBCabecera."REFERENCIA_CLIENTE"> <> '') then ACadena := <frxDBCabecera."REFERENCIA_CLIENTE">; if (<frxDBCabecera."PERSONA_CONTACTO"> <> '') then ACadena := ACadena + ' ' + <frxDBCabecera."PERSONA_CONTACTO">; DireccionEnvio.Lines.Add(ACadena); ACadena := ''; DireccionEnvio.Lines.Add(<frxDBCabecera."CALLE">); if (<frxDBCabecera."CODIGO_POSTAL"> <> '') then ACadena := <frxDBCabecera."CODIGO_POSTAL"> + ' '; if (<frxDBCabecera."POBLACION"> <> '') then ACadena := ACadena + <frxDBCabecera."CODIGO_POSTAL">; if (ACadena <> '') then DireccionEnvio.Lines.Add(ACadena); if (<frxDBCabecera."PROVINCIA"> <> '') then DireccionEnvio.Lines.Add(<frxDBCabecera."PROVINCIA">); if (<frxDBCabecera."TELEFONO"> <> '') then DireccionEnvio.Lines.Add(<frxDBCabecera."TELEFONO">); end; procedure PageHeader1OnBeforePrint(Sender: TfrxComponent); begin if not Engine.FinalPass then Set('TotalPaginas', (<TotalPaginas> + 1)); if Engine.FinalPass then Set('Pagina', (<Pagina> + 1)); end; procedure frxReportOnStartReport(Sender: TfrxComponent); begin Set('Pagina', 0); Set('TotalPaginas', 0); end; procedure eImporteUnidadOnBeforePrint(Sender: TfrxComponent); begin if <ImprimirPrecio> then begin eImporteUnidad.Visible := True; lImporteUnidad.Visible := True; eImporteTotal.Visible := True; lImporteTotal.Visible := True; ImporteUnidad.Visible := True; ImporteTotal.Visible := True; end else begin eImporteUnidad.Visible := False; lImporteUnidad.Visible := False; eImporteTotal.Visible := False; lImporteTotal.Visible := False; ImporteUnidad.Visible := False; ImporteTotal.Visible := False; eConcepto.Width := eConcepto.Width + ImporteTotal.Width + ImporteUnidad.Width; Concepto.Width :=eConcepto.Width - 10; end end; procedure Overlay1OnBeforePrint(Sender: TfrxComponent); begin if <ShowLogotipo> then begin Overlay1.Visible := True; end else begin Overlay1.Visible := False; end end; begin end." ShowProgress="False" StoreInDFM="False" OnStartReport="frxReportOnStartReport" PropData="044C65667403890003546F70021008446174617365747301010C3400000020446174615365743D22667278444243616265636572612220446174615365744E616D653D22667278444243616265636572612200010C3400000020446174615365743D226672784442446574616C6C65732220446174615365744E616D653D226672784442446574616C6C6573220000095661726961626C657301010C13000000204E616D653D2220506167696E6163696F6E2200010C0E000000204E616D653D22506167696E612200010C14000000204E616D653D22546F74616C506167696E61732200010C10000000204E616D653D2220496E666F726D652200010C16000000204E616D653D22496D7072696D697250726563696F2200010C1C000000204E616D653D22496D7072696D697252656650726F766565646F722200010C14000000204E616D653D2253686F774C6F676F7469706F220000055374796C650100">
|
<TfrxReport Version="4.7.71" DotMatrixReport="False" EngineOptions.DoublePass="True" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PrintOptions.Printer="Por defecto" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="39065,8724234954" ReportOptions.Description.Text="" ReportOptions.LastChange="41705,4908940625" ScriptLanguage="PascalScript" ScriptText.Text=" procedure DireccionEnvioOnBeforePrint(Sender: TfrxComponent); var ACadena : String; begin ACadena := ''; DireccionEnvio.Lines.Clear; if (<frxDBCabecera."REFERENCIA_CLIENTE"> <> '') then ACadena := <frxDBCabecera."REFERENCIA_CLIENTE">; if (<frxDBCabecera."PERSONA_CONTACTO"> <> '') then ACadena := ACadena + ' ' + <frxDBCabecera."PERSONA_CONTACTO">; DireccionEnvio.Lines.Add(ACadena); ACadena := ''; DireccionEnvio.Lines.Add(<frxDBCabecera."CALLE">); if (<frxDBCabecera."CODIGO_POSTAL"> <> '') then ACadena := <frxDBCabecera."CODIGO_POSTAL"> + ' '; if (<frxDBCabecera."POBLACION"> <> '') then ACadena := ACadena + <frxDBCabecera."CODIGO_POSTAL">; if (ACadena <> '') then DireccionEnvio.Lines.Add(ACadena); if (<frxDBCabecera."PROVINCIA"> <> '') then DireccionEnvio.Lines.Add(<frxDBCabecera."PROVINCIA">); if (<frxDBCabecera."TELEFONO"> <> '') then DireccionEnvio.Lines.Add(<frxDBCabecera."TELEFONO">); end; procedure PageHeader1OnBeforePrint(Sender: TfrxComponent); begin if not Engine.FinalPass then Set('TotalPaginas', (<TotalPaginas> + 1)); if Engine.FinalPass then Set('Pagina', (<Pagina> + 1)); end; procedure frxReportOnStartReport(Sender: TfrxComponent); begin Set('Pagina', 0); Set('TotalPaginas', 0); end; procedure eImporteUnidadOnBeforePrint(Sender: TfrxComponent); begin if <ImprimirPrecio> then begin eImporteUnidad.Visible := True; lImporteUnidad.Visible := True; eImporteTotal.Visible := True; lImporteTotal.Visible := True; ImporteUnidad.Visible := True; ImporteTotal.Visible := True; end else begin eImporteUnidad.Visible := False; lImporteUnidad.Visible := False; eImporteTotal.Visible := False; lImporteTotal.Visible := False; ImporteUnidad.Visible := False; ImporteTotal.Visible := False; eConcepto.Width := eConcepto.Width + ImporteTotal.Width + ImporteUnidad.Width; Concepto.Width :=eConcepto.Width - 10; end end; procedure Overlay1OnBeforePrint(Sender: TfrxComponent); begin if <ShowLogotipo> then begin Overlay1.Visible := True; end else begin Overlay1.Visible := False; end end; begin end." ShowProgress="False" StoreInDFM="False" OnStartReport="frxReportOnStartReport" PropData="044C65667403890003546F70021008446174617365747301010C3400000020446174615365743D22667278444243616265636572612220446174615365744E616D653D22667278444243616265636572612200010C3400000020446174615365743D226672784442446574616C6C65732220446174615365744E616D653D226672784442446574616C6C6573220000095661726961626C657301010C13000000204E616D653D2220506167696E6163696F6E2200010C0E000000204E616D653D22506167696E612200010C14000000204E616D653D22546F74616C506167696E61732200010C10000000204E616D653D2220496E666F726D652200010C16000000204E616D653D22496D7072696D697250726563696F2200010C1C000000204E616D653D22496D7072696D697252656650726F766565646F722200010C14000000204E616D653D2253686F774C6F676F7469706F220000055374796C650100">
|
||||||
<TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000"/>
|
<TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000"/>
|
||||||
<TfrxReportPage Name="Page1" PaperWidth="215,00041667" PaperHeight="297,00008333" PaperSize="256" LeftMargin="10,00125" RightMargin="10,00125" TopMargin="10,00125" BottomMargin="10,00125" ColumnWidth="0" ColumnPositions.Text="" LargeDesignHeight="True" HGuides.Text="" VGuides.Text="">
|
<TfrxReportPage Name="Page1" PaperWidth="215,00041667" PaperHeight="297,00008333" PaperSize="256" LeftMargin="10,00125" RightMargin="10,00125" TopMargin="10,00125" BottomMargin="10,00125" ColumnWidth="0" ColumnPositions.Text="" LargeDesignHeight="True" HGuides.Text="" VGuides.Text="">
|
||||||
<TfrxMasterData Name="MasterData1" Height="21" Left="0" Top="326" Width="737,000475991765" ColumnWidth="0" ColumnGap="0" DataSet="frxDBDetalles" DataSetName="frxDBDetalles" RowCount="0" Stretched="True">
|
<TfrxMasterData Name="MasterData1" Height="21" Left="0" Top="326" Width="737,000475991765" ColumnWidth="0" ColumnGap="0" DataSet="frxDBDetalles" DataSetName="frxDBDetalles" RowCount="0" Stretched="True">
|
||||||
@ -11,7 +11,7 @@
|
|||||||
</TfrxMasterData>
|
</TfrxMasterData>
|
||||||
<TfrxPageFooter Name="PageFooter1" Font.Charset="1" Font.Color="0" Font.Height="-7" Font.Name="Arial" Font.Style="0" Height="88" Left="0" ParentFont="False" Top="1549" Width="737,000475991765">
|
<TfrxPageFooter Name="PageFooter1" Font.Charset="1" Font.Color="0" Font.Height="-7" Font.Name="Arial" Font.Style="0" Height="88" Left="0" ParentFont="False" Top="1549" Width="737,000475991765">
|
||||||
<TfrxLineView Name="Line4" Align="baRight" Left="17,0004759917651" Top="0" Width="720" Height="0" ShowHint="False" Frame.Typ="4"/>
|
<TfrxLineView Name="Line4" Align="baRight" Left="17,0004759917651" Top="0" Width="720" Height="0" ShowHint="False" Frame.Typ="4"/>
|
||||||
<TfrxMemoView Name="Memo9" Left="638" Top="1" Width="97,03148874" Height="27" ShowHint="False" StretchMode="smMaxHeight" DataSet="frxDBDetalles" DataSetName="frxDBDetalles" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" GapY="3" HAlign="haRight" HideZeros="True" LineSpacing="4" ParentFont="False" Style="Concepto normal" Text="[frxDBCabecera."IMPORTE_TOTAL"]"/>
|
<TfrxMemoView Name="Memo9" Left="638" Top="1" Width="97,03148874" Height="27" ShowHint="False" StretchMode="smMaxHeight" DataSet="frxDBDetalles" DataSetName="frxDBDetalles" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="%2.2m" DisplayFormat.Kind="fkNumeric" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="0" GapY="3" HAlign="haRight" HideZeros="True" LineSpacing="4" ParentFont="False" Style="Concepto normal" Text="[frxDBCabecera."BASE_IMPONIBLE"]"/>
|
||||||
<TfrxMemoView Name="Memo15" Left="517" Top="1" Width="117" Height="35,45669291" ShowHint="False" Color="16777215" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Color="8421504" HAlign="haCenter" ParentFont="False" Text="Importe total (IVA no incluido)"/>
|
<TfrxMemoView Name="Memo15" Left="517" Top="1" Width="117" Height="35,45669291" ShowHint="False" Color="16777215" Font.Charset="0" Font.Color="-16777208" Font.Height="-12" Font.Name="Tahoma" Font.Style="1" Frame.Color="8421504" HAlign="haCenter" ParentFont="False" Text="Importe total (IVA no incluido)"/>
|
||||||
</TfrxPageFooter>
|
</TfrxPageFooter>
|
||||||
<TfrxPageHeader Name="PageHeader1" Height="250" Left="0" Top="16" Width="737,000475991765" OnBeforePrint="PageHeader1OnBeforePrint">
|
<TfrxPageHeader Name="PageHeader1" Height="250" Left="0" Top="16" Width="737,000475991765" OnBeforePrint="PageHeader1OnBeforePrint">
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -317,7 +317,9 @@ var
|
|||||||
begin
|
begin
|
||||||
ShowHourglassCursor;
|
ShowHourglassCursor;
|
||||||
try
|
try
|
||||||
Result := BuscarAlbaranesNormales;
|
// Result := BuscarAlbaranesNormales;
|
||||||
|
// Se requiere poder seleccionar tanto albaranes como ordenes de devolución para generar una factura
|
||||||
|
Result := BuscarTodos;
|
||||||
|
|
||||||
with Result.DataTable.DynamicWhere do
|
with Result.DataTable.DynamicWhere do
|
||||||
begin
|
begin
|
||||||
|
|||||||
@ -231,7 +231,13 @@ inherited fEditorAlbaranCliente: TfEditorAlbaranCliente
|
|||||||
ExplicitTop = 0
|
ExplicitTop = 0
|
||||||
ExplicitWidth = 186
|
ExplicitWidth = 186
|
||||||
end
|
end
|
||||||
inherited ToolButton13: TToolButton [7]
|
inherited UpDown1: TUpDown
|
||||||
|
Left = 730
|
||||||
|
Top = 0
|
||||||
|
ExplicitLeft = 730
|
||||||
|
ExplicitTop = 0
|
||||||
|
end
|
||||||
|
inherited ToolButton13: TToolButton
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
Wrap = True
|
Wrap = True
|
||||||
@ -239,52 +245,46 @@ inherited fEditorAlbaranCliente: TfEditorAlbaranCliente
|
|||||||
ExplicitTop = 0
|
ExplicitTop = 0
|
||||||
ExplicitHeight = 27
|
ExplicitHeight = 27
|
||||||
end
|
end
|
||||||
inherited UpDown1: TUpDown [8]
|
inherited ToolButton6: TToolButton
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 27
|
Top = 27
|
||||||
ExplicitLeft = 0
|
ExplicitLeft = 0
|
||||||
ExplicitTop = 27
|
ExplicitTop = 27
|
||||||
end
|
end
|
||||||
inherited ToolButton6: TToolButton
|
|
||||||
Left = 17
|
|
||||||
Top = 27
|
|
||||||
ExplicitLeft = 17
|
|
||||||
ExplicitTop = 27
|
|
||||||
end
|
|
||||||
inherited ToolButton7: TToolButton
|
inherited ToolButton7: TToolButton
|
||||||
Left = 83
|
Left = 66
|
||||||
Top = 27
|
Top = 27
|
||||||
ExplicitLeft = 83
|
ExplicitLeft = 66
|
||||||
ExplicitTop = 27
|
ExplicitTop = 27
|
||||||
end
|
end
|
||||||
inherited ToolButton8: TToolButton
|
inherited ToolButton8: TToolButton
|
||||||
Left = 150
|
Left = 133
|
||||||
Top = 27
|
Top = 27
|
||||||
ExplicitLeft = 150
|
ExplicitLeft = 133
|
||||||
ExplicitTop = 27
|
ExplicitTop = 27
|
||||||
end
|
end
|
||||||
inherited ToolButton12: TToolButton
|
inherited ToolButton12: TToolButton
|
||||||
Left = 233
|
Left = 216
|
||||||
Top = 27
|
Top = 27
|
||||||
ExplicitLeft = 233
|
ExplicitLeft = 216
|
||||||
ExplicitTop = 27
|
ExplicitTop = 27
|
||||||
end
|
end
|
||||||
inherited ToolButton9: TToolButton
|
inherited ToolButton9: TToolButton
|
||||||
Left = 241
|
Left = 224
|
||||||
Top = 27
|
Top = 27
|
||||||
ExplicitLeft = 241
|
ExplicitLeft = 224
|
||||||
ExplicitTop = 27
|
ExplicitTop = 27
|
||||||
end
|
end
|
||||||
inherited ToolButton10: TToolButton
|
inherited ToolButton10: TToolButton
|
||||||
Left = 386
|
Left = 369
|
||||||
Top = 27
|
Top = 27
|
||||||
ExplicitLeft = 386
|
ExplicitLeft = 369
|
||||||
ExplicitTop = 27
|
ExplicitTop = 27
|
||||||
end
|
end
|
||||||
inherited ToolButton11: TToolButton
|
inherited ToolButton11: TToolButton
|
||||||
Left = 511
|
Left = 494
|
||||||
Top = 27
|
Top = 27
|
||||||
ExplicitLeft = 511
|
ExplicitLeft = 494
|
||||||
ExplicitTop = 27
|
ExplicitTop = 27
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -392,52 +392,52 @@ inherited fEditorAlbaranCliente: TfEditorAlbaranCliente
|
|||||||
ExplicitHeight = 78
|
ExplicitHeight = 78
|
||||||
inherited Bevel3: TBevel
|
inherited Bevel3: TBevel
|
||||||
Left = 428
|
Left = 428
|
||||||
Top = 11
|
Top = -129
|
||||||
Width = 7
|
Width = 7
|
||||||
Height = 54
|
Height = 54
|
||||||
ExplicitLeft = 428
|
ExplicitLeft = 428
|
||||||
ExplicitTop = 11
|
ExplicitTop = -129
|
||||||
ExplicitWidth = 7
|
ExplicitWidth = 7
|
||||||
ExplicitHeight = 54
|
ExplicitHeight = 54
|
||||||
end
|
end
|
||||||
inherited Bevel4: TBevel
|
inherited Bevel4: TBevel
|
||||||
Left = 544
|
Left = 544
|
||||||
Top = 53
|
Top = -87
|
||||||
Width = 192
|
Width = 192
|
||||||
ExplicitLeft = 544
|
ExplicitLeft = 544
|
||||||
ExplicitTop = 53
|
ExplicitTop = -87
|
||||||
ExplicitWidth = 192
|
ExplicitWidth = 192
|
||||||
end
|
end
|
||||||
inherited Bevel1: TBevel
|
inherited Bevel1: TBevel
|
||||||
Left = 544
|
Left = 544
|
||||||
Top = 169
|
Top = 29
|
||||||
Width = 73
|
Width = 73
|
||||||
ExplicitLeft = 544
|
ExplicitLeft = 544
|
||||||
ExplicitTop = 169
|
ExplicitTop = 29
|
||||||
ExplicitWidth = 73
|
ExplicitWidth = 73
|
||||||
end
|
end
|
||||||
inherited Bevel2: TBevel
|
inherited Bevel2: TBevel
|
||||||
Left = 120
|
Left = 120
|
||||||
Top = 171
|
Top = 31
|
||||||
Width = 368
|
Width = 368
|
||||||
ExplicitLeft = 120
|
ExplicitLeft = 120
|
||||||
ExplicitTop = 171
|
ExplicitTop = 31
|
||||||
ExplicitWidth = 368
|
ExplicitWidth = 368
|
||||||
end
|
end
|
||||||
inherited ImporteDto: TcxDBCurrencyEdit
|
inherited ImporteDto: TcxDBCurrencyEdit
|
||||||
Left = 191
|
Left = 191
|
||||||
Top = 38
|
Top = -102
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 191
|
ExplicitLeft = 191
|
||||||
ExplicitTop = 38
|
ExplicitTop = -102
|
||||||
end
|
end
|
||||||
inherited ImporteIVA: TcxDBCurrencyEdit
|
inherited ImporteIVA: TcxDBCurrencyEdit
|
||||||
Left = 615
|
Left = 615
|
||||||
Top = 88
|
Top = -52
|
||||||
DataBinding.DataField = ''
|
DataBinding.DataField = ''
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
@ -445,37 +445,37 @@ inherited fEditorAlbaranCliente: TfEditorAlbaranCliente
|
|||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 615
|
ExplicitLeft = 615
|
||||||
ExplicitTop = 88
|
ExplicitTop = -52
|
||||||
ExplicitWidth = 182
|
ExplicitWidth = 182
|
||||||
Width = 182
|
Width = 182
|
||||||
end
|
end
|
||||||
inherited ImporteTotal: TcxDBCurrencyEdit
|
inherited ImporteTotal: TcxDBCurrencyEdit
|
||||||
Left = 545
|
Left = 545
|
||||||
Top = 142
|
Top = 2
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 545
|
ExplicitLeft = 545
|
||||||
ExplicitTop = 142
|
ExplicitTop = 2
|
||||||
ExplicitWidth = 252
|
ExplicitWidth = 252
|
||||||
Width = 252
|
Width = 252
|
||||||
end
|
end
|
||||||
inherited edtDescuento: TcxDBSpinEdit
|
inherited edtDescuento: TcxDBSpinEdit
|
||||||
Left = 120
|
Left = 120
|
||||||
Top = 38
|
Top = -102
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 120
|
ExplicitLeft = 120
|
||||||
ExplicitTop = 38
|
ExplicitTop = -102
|
||||||
end
|
end
|
||||||
inherited edtIVA: TcxDBSpinEdit
|
inherited edtIVA: TcxDBSpinEdit
|
||||||
Left = 544
|
Left = 544
|
||||||
Top = 88
|
Top = -52
|
||||||
DataBinding.DataField = ''
|
DataBinding.DataField = ''
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
@ -483,24 +483,24 @@ inherited fEditorAlbaranCliente: TfEditorAlbaranCliente
|
|||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 544
|
ExplicitLeft = 544
|
||||||
ExplicitTop = 88
|
ExplicitTop = -52
|
||||||
end
|
end
|
||||||
inherited ImporteBase: TcxDBCurrencyEdit
|
inherited ImporteBase: TcxDBCurrencyEdit
|
||||||
Left = 544
|
Left = 544
|
||||||
Top = 11
|
Top = -129
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 544
|
ExplicitLeft = 544
|
||||||
ExplicitTop = 11
|
ExplicitTop = -129
|
||||||
ExplicitWidth = 253
|
ExplicitWidth = 253
|
||||||
Width = 253
|
Width = 253
|
||||||
end
|
end
|
||||||
inherited edtRE: TcxDBSpinEdit
|
inherited edtRE: TcxDBSpinEdit
|
||||||
Left = 544
|
Left = 544
|
||||||
Top = 115
|
Top = -25
|
||||||
DataBinding.DataField = ''
|
DataBinding.DataField = ''
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
@ -508,11 +508,11 @@ inherited fEditorAlbaranCliente: TfEditorAlbaranCliente
|
|||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 544
|
ExplicitLeft = 544
|
||||||
ExplicitTop = 115
|
ExplicitTop = -25
|
||||||
end
|
end
|
||||||
inherited ImporteRE: TcxDBCurrencyEdit
|
inherited ImporteRE: TcxDBCurrencyEdit
|
||||||
Left = 615
|
Left = 615
|
||||||
Top = 115
|
Top = -25
|
||||||
DataBinding.DataField = ''
|
DataBinding.DataField = ''
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
@ -520,13 +520,13 @@ inherited fEditorAlbaranCliente: TfEditorAlbaranCliente
|
|||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 615
|
ExplicitLeft = 615
|
||||||
ExplicitTop = 115
|
ExplicitTop = -25
|
||||||
ExplicitWidth = 182
|
ExplicitWidth = 182
|
||||||
Width = 182
|
Width = 182
|
||||||
end
|
end
|
||||||
inherited eImporteNeto: TcxDBCurrencyEdit
|
inherited eImporteNeto: TcxDBCurrencyEdit
|
||||||
Left = 120
|
Left = 120
|
||||||
Top = 11
|
Top = -129
|
||||||
Enabled = False
|
Enabled = False
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
@ -534,11 +534,11 @@ inherited fEditorAlbaranCliente: TfEditorAlbaranCliente
|
|||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 120
|
ExplicitLeft = 120
|
||||||
ExplicitTop = 11
|
ExplicitTop = -129
|
||||||
end
|
end
|
||||||
inherited ePorte: TcxDBCurrencyEdit
|
inherited ePorte: TcxDBCurrencyEdit
|
||||||
Left = 120
|
Left = 120
|
||||||
Top = 65
|
Top = -75
|
||||||
Properties.OnValidate = frViewTotales1ePortePropertiesValidate
|
Properties.OnValidate = frViewTotales1ePortePropertiesValidate
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
@ -546,28 +546,28 @@ inherited fEditorAlbaranCliente: TfEditorAlbaranCliente
|
|||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 120
|
ExplicitLeft = 120
|
||||||
ExplicitTop = 65
|
ExplicitTop = -75
|
||||||
end
|
end
|
||||||
inherited eIVA: TcxDBLookupComboBox
|
inherited eIVA: TcxDBLookupComboBox
|
||||||
Left = 120
|
Left = 120
|
||||||
Top = 92
|
Top = -48
|
||||||
DataBinding.DataField = ''
|
DataBinding.DataField = ''
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 120
|
ExplicitLeft = 120
|
||||||
ExplicitTop = 92
|
ExplicitTop = -48
|
||||||
end
|
end
|
||||||
inherited bTiposIVA: TButton
|
inherited bTiposIVA: TButton
|
||||||
Left = 280
|
Left = 280
|
||||||
Top = 92
|
Top = -48
|
||||||
ExplicitLeft = 280
|
ExplicitLeft = 280
|
||||||
ExplicitTop = 92
|
ExplicitTop = -48
|
||||||
end
|
end
|
||||||
inherited cbRecargoEquivalencia: TcxDBCheckBox
|
inherited cbRecargoEquivalencia: TcxDBCheckBox
|
||||||
Left = 120
|
Left = 120
|
||||||
Top = 119
|
Top = -21
|
||||||
DataBinding.DataField = ''
|
DataBinding.DataField = ''
|
||||||
DataBinding.DataSource = nil
|
DataBinding.DataSource = nil
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
@ -575,43 +575,43 @@ inherited fEditorAlbaranCliente: TfEditorAlbaranCliente
|
|||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 120
|
ExplicitLeft = 120
|
||||||
ExplicitTop = 119
|
ExplicitTop = -21
|
||||||
ExplicitWidth = 221
|
ExplicitWidth = 221
|
||||||
Width = 221
|
Width = 221
|
||||||
end
|
end
|
||||||
inherited edtRetencion: TcxDBSpinEdit
|
inherited edtRetencion: TcxDBSpinEdit
|
||||||
Left = 544
|
Left = 544
|
||||||
Top = 189
|
Top = 49
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 544
|
ExplicitLeft = 544
|
||||||
ExplicitTop = 189
|
ExplicitTop = 49
|
||||||
end
|
end
|
||||||
inherited edtImporteRetencion: TcxDBCurrencyEdit
|
inherited edtImporteRetencion: TcxDBCurrencyEdit
|
||||||
Left = 615
|
Left = 615
|
||||||
Top = 189
|
Top = 49
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
Style.IsFontAssigned = True
|
Style.IsFontAssigned = True
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 615
|
ExplicitLeft = 615
|
||||||
ExplicitTop = 189
|
ExplicitTop = 49
|
||||||
ExplicitWidth = 180
|
ExplicitWidth = 180
|
||||||
Width = 180
|
Width = 180
|
||||||
end
|
end
|
||||||
inherited edtFechaRetencion: TcxDBDateEdit
|
inherited edtFechaRetencion: TcxDBDateEdit
|
||||||
Left = 120
|
Left = 120
|
||||||
Top = 191
|
Top = 51
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 120
|
ExplicitLeft = 120
|
||||||
ExplicitTop = 191
|
ExplicitTop = 51
|
||||||
ExplicitWidth = 280
|
ExplicitWidth = 280
|
||||||
Width = 280
|
Width = 280
|
||||||
end
|
end
|
||||||
@ -643,9 +643,6 @@ inherited fEditorAlbaranCliente: TfEditorAlbaranCliente
|
|||||||
Visible = False
|
Visible = False
|
||||||
end
|
end
|
||||||
inherited dxLayoutControl1Group3: TdxLayoutGroup
|
inherited dxLayoutControl1Group3: TdxLayoutGroup
|
||||||
inherited dxLayoutControl1Item12: TdxLayoutItem
|
|
||||||
Visible = False
|
|
||||||
end
|
|
||||||
inherited dxLayoutControl1Item14: TdxLayoutItem
|
inherited dxLayoutControl1Item14: TdxLayoutItem
|
||||||
Visible = False
|
Visible = False
|
||||||
end
|
end
|
||||||
@ -655,6 +652,9 @@ inherited fEditorAlbaranCliente: TfEditorAlbaranCliente
|
|||||||
inherited dxLayoutControl1Group8: TdxLayoutGroup
|
inherited dxLayoutControl1Group8: TdxLayoutGroup
|
||||||
Visible = False
|
Visible = False
|
||||||
end
|
end
|
||||||
|
inherited dxLayoutControl1Item3: TdxLayoutItem
|
||||||
|
Visible = False
|
||||||
|
end
|
||||||
inherited dxLayoutControl1Item10: TdxLayoutItem
|
inherited dxLayoutControl1Item10: TdxLayoutItem
|
||||||
Visible = False
|
Visible = False
|
||||||
end
|
end
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
inherited fEditorElegirAlbaranesCliente: TfEditorElegirAlbaranesCliente
|
inherited fEditorElegirAlbaranesCliente: TfEditorElegirAlbaranesCliente
|
||||||
Caption = 'Seleccionar albar'#195#161'n de cliente'
|
Caption = 'Seleccionar albar'#225'n/orden dev. de cliente'
|
||||||
ClientWidth = 790
|
ClientWidth = 790
|
||||||
|
OnCreate = CustomEditorCreate
|
||||||
ExplicitWidth = 798
|
ExplicitWidth = 798
|
||||||
ExplicitHeight = 538
|
ExplicitHeight = 538
|
||||||
PixelsPerInch = 96
|
PixelsPerInch = 96
|
||||||
@ -8,6 +9,7 @@ inherited fEditorElegirAlbaranesCliente: TfEditorElegirAlbaranesCliente
|
|||||||
inherited JvNavPanelHeader: TJvNavPanelHeader
|
inherited JvNavPanelHeader: TJvNavPanelHeader
|
||||||
Top = 139
|
Top = 139
|
||||||
Width = 790
|
Width = 790
|
||||||
|
Caption = 'Lista de albaranes / '#243'rdenes dev. de cliente'
|
||||||
Visible = False
|
Visible = False
|
||||||
ExplicitTop = 139
|
ExplicitTop = 139
|
||||||
ExplicitWidth = 790
|
ExplicitWidth = 790
|
||||||
@ -24,7 +26,7 @@ inherited fEditorElegirAlbaranesCliente: TfEditorElegirAlbaranesCliente
|
|||||||
inherited tbxMain: TTBXToolbar
|
inherited tbxMain: TTBXToolbar
|
||||||
Left = 359
|
Left = 359
|
||||||
ExplicitLeft = 359
|
ExplicitLeft = 359
|
||||||
ExplicitWidth = 126
|
ExplicitWidth = 263
|
||||||
inherited TBXItem2: TTBXItem
|
inherited TBXItem2: TTBXItem
|
||||||
Visible = False
|
Visible = False
|
||||||
end
|
end
|
||||||
@ -120,14 +122,14 @@ inherited fEditorElegirAlbaranesCliente: TfEditorElegirAlbaranesCliente
|
|||||||
Margins.Right = 0
|
Margins.Right = 0
|
||||||
Margins.Bottom = 8
|
Margins.Bottom = 8
|
||||||
Align = alTop
|
Align = alTop
|
||||||
Caption = 'Seleccione el albar'#225'n de cliente'
|
Caption = 'Seleccione el albar'#225'n/orden dev. de cliente'
|
||||||
Font.Charset = DEFAULT_CHARSET
|
Font.Charset = DEFAULT_CHARSET
|
||||||
Font.Color = clWindowText
|
Font.Color = clWindowText
|
||||||
Font.Height = -11
|
Font.Height = -11
|
||||||
Font.Name = 'Tahoma'
|
Font.Name = 'Tahoma'
|
||||||
Font.Style = [fsBold]
|
Font.Style = [fsBold]
|
||||||
ParentFont = False
|
ParentFont = False
|
||||||
ExplicitWidth = 177
|
ExplicitWidth = 246
|
||||||
end
|
end
|
||||||
object lblComments: TLabel
|
object lblComments: TLabel
|
||||||
AlignWithMargins = True
|
AlignWithMargins = True
|
||||||
|
|||||||
@ -29,6 +29,7 @@ type
|
|||||||
procedure FormShow(Sender: TObject);
|
procedure FormShow(Sender: TObject);
|
||||||
procedure actAnchoAuto2Execute(Sender: TObject);
|
procedure actAnchoAuto2Execute(Sender: TObject);
|
||||||
procedure actQuitarFiltro2Execute(Sender: TObject);
|
procedure actQuitarFiltro2Execute(Sender: TObject);
|
||||||
|
procedure CustomEditorCreate(Sender: TObject);
|
||||||
|
|
||||||
protected
|
protected
|
||||||
function GetAlbaranesClienteSeleccionados: IBizAlbaranCliente;
|
function GetAlbaranesClienteSeleccionados: IBizAlbaranCliente;
|
||||||
@ -63,6 +64,13 @@ begin
|
|||||||
actQuitarFiltro.Execute;
|
actQuitarFiltro.Execute;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TfEditorElegirAlbaranesCliente.CustomEditorCreate(Sender: TObject);
|
||||||
|
begin
|
||||||
|
inherited;
|
||||||
|
FHeaderText := 'Seleccionar albarán/orden dev. de cliente';
|
||||||
|
FWindowCaption := FHeaderText;
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TfEditorElegirAlbaranesCliente.FormShow(Sender: TObject);
|
procedure TfEditorElegirAlbaranesCliente.FormShow(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
inherited;
|
inherited;
|
||||||
|
|||||||
@ -183,8 +183,8 @@ inherited frViewAlbaranesCliente: TfrViewAlbaranesCliente
|
|||||||
Visible = False
|
Visible = False
|
||||||
end
|
end
|
||||||
object cxGridViewIMPORTE_TOTAL: TcxGridDBColumn
|
object cxGridViewIMPORTE_TOTAL: TcxGridDBColumn
|
||||||
Caption = 'Importe total'
|
Caption = 'Base Imponible'
|
||||||
DataBinding.FieldName = 'IMPORTE_TOTAL'
|
DataBinding.FieldName = 'BASE_IMPONIBLE'
|
||||||
PropertiesClassName = 'TcxCurrencyEditProperties'
|
PropertiesClassName = 'TcxCurrencyEditProperties'
|
||||||
Properties.Alignment.Horz = taRightJustify
|
Properties.Alignment.Horz = taRightJustify
|
||||||
FooterAlignmentHorz = taRightJustify
|
FooterAlignmentHorz = taRightJustify
|
||||||
@ -258,6 +258,8 @@ inherited frViewAlbaranesCliente: TfrViewAlbaranesCliente
|
|||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 638
|
ExplicitLeft = 638
|
||||||
|
ExplicitWidth = 215
|
||||||
|
Width = 215
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
inherited TBXAlignmentPanel1: TTBXAlignmentPanel
|
inherited TBXAlignmentPanel1: TTBXAlignmentPanel
|
||||||
|
|||||||
@ -42,7 +42,7 @@ inherited frViewAlbaranesDevCliente: TfrViewAlbaranesDevCliente
|
|||||||
Caption = 'Fecha'
|
Caption = 'Fecha'
|
||||||
end
|
end
|
||||||
inherited cxGridViewREF_FACTURA: TcxGridDBColumn
|
inherited cxGridViewREF_FACTURA: TcxGridDBColumn
|
||||||
Caption = 'Ref. abono'
|
Caption = 'Ref. fac. de abono'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -74,10 +74,12 @@ inherited frViewAlbaranesDevCliente: TfrViewAlbaranesDevCliente
|
|||||||
Width = 366
|
Width = 366
|
||||||
end
|
end
|
||||||
inherited eLista: TcxComboBox
|
inherited eLista: TcxComboBox
|
||||||
|
Left = 684
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
|
ExplicitLeft = 684
|
||||||
ExplicitWidth = 140
|
ExplicitWidth = 140
|
||||||
Width = 140
|
Width = 140
|
||||||
end
|
end
|
||||||
|
|||||||
@ -579,6 +579,7 @@ begin
|
|||||||
REFERENCIA := ''; //Para que se asigne una nueva
|
REFERENCIA := ''; //Para que se asigne una nueva
|
||||||
SITUACION := CTE_PENDIENTE; //Al ser una nueva debe de estar pendiente
|
SITUACION := CTE_PENDIENTE; //Al ser una nueva debe de estar pendiente
|
||||||
FECHA_FACTURA := DateOf(Now);
|
FECHA_FACTURA := DateOf(Now);
|
||||||
|
FECHA_VENCIMIENTO := DateOf(Now);
|
||||||
ID_COMISION_LIQUIDADA := 0;
|
ID_COMISION_LIQUIDADA := 0;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
@ -29,7 +29,6 @@
|
|||||||
<Projects Include="..\Presupuestos de cliente\Controller\PresupuestosCliente_controller.dproj" />
|
<Projects Include="..\Presupuestos de cliente\Controller\PresupuestosCliente_controller.dproj" />
|
||||||
<Projects Include="..\Presupuestos de cliente\Views\PresupuestosCliente_view.dproj" />
|
<Projects Include="..\Presupuestos de cliente\Views\PresupuestosCliente_view.dproj" />
|
||||||
<Projects Include="..\Relaciones\Albaranes de cliente - Facturas de cliente\AlbCli_FacCli_relation.dproj" />
|
<Projects Include="..\Relaciones\Albaranes de cliente - Facturas de cliente\AlbCli_FacCli_relation.dproj" />
|
||||||
<Projects Include="..\Relaciones\Presupuestos de cliente - Facturas de cliente\PreCli_FacCli_relation.dproj" />
|
|
||||||
<Projects Include="Controller\FacturasCliente_controller.dproj" />
|
<Projects Include="Controller\FacturasCliente_controller.dproj" />
|
||||||
<Projects Include="Data\FacturasCliente_data.dproj" />
|
<Projects Include="Data\FacturasCliente_data.dproj" />
|
||||||
<Projects Include="Model\FacturasCliente_model.dproj" />
|
<Projects Include="Model\FacturasCliente_model.dproj" />
|
||||||
@ -195,15 +194,6 @@
|
|||||||
<Target Name="FacturasCliente_controller:Make">
|
<Target Name="FacturasCliente_controller:Make">
|
||||||
<MSBuild Projects="Controller\FacturasCliente_controller.dproj" Targets="Make" />
|
<MSBuild Projects="Controller\FacturasCliente_controller.dproj" Targets="Make" />
|
||||||
</Target>
|
</Target>
|
||||||
<Target Name="PreCli_FacCli_relation">
|
|
||||||
<MSBuild Projects="..\Relaciones\Presupuestos de cliente - Facturas de cliente\PreCli_FacCli_relation.dproj" Targets="" />
|
|
||||||
</Target>
|
|
||||||
<Target Name="PreCli_FacCli_relation:Clean">
|
|
||||||
<MSBuild Projects="..\Relaciones\Presupuestos de cliente - Facturas de cliente\PreCli_FacCli_relation.dproj" Targets="Clean" />
|
|
||||||
</Target>
|
|
||||||
<Target Name="PreCli_FacCli_relation:Make">
|
|
||||||
<MSBuild Projects="..\Relaciones\Presupuestos de cliente - Facturas de cliente\PreCli_FacCli_relation.dproj" Targets="Make" />
|
|
||||||
</Target>
|
|
||||||
<Target Name="AlbCli_FacCli_relation">
|
<Target Name="AlbCli_FacCli_relation">
|
||||||
<MSBuild Projects="..\Relaciones\Albaranes de cliente - Facturas de cliente\AlbCli_FacCli_relation.dproj" Targets="" />
|
<MSBuild Projects="..\Relaciones\Albaranes de cliente - Facturas de cliente\AlbCli_FacCli_relation.dproj" Targets="" />
|
||||||
</Target>
|
</Target>
|
||||||
@ -322,13 +312,13 @@
|
|||||||
<MSBuild Projects="..\Pedidos de cliente\Views\PedidosCliente_view.dproj" Targets="Make" />
|
<MSBuild Projects="..\Pedidos de cliente\Views\PedidosCliente_view.dproj" Targets="Make" />
|
||||||
</Target>
|
</Target>
|
||||||
<Target Name="Build">
|
<Target Name="Build">
|
||||||
<CallTarget Targets="Base;GUIBase;ApplicationBase;Contactos_model;Contactos_data;Contactos_controller;Contactos_view;Articulos_model;Articulos_data;Articulos_controller;Articulos_view;GestorInformes_model;GestorInformes_data;GestorInformes_controller;FacturasCliente_model;FacturasCliente_data;FacturasCliente_controller;PreCli_FacCli_relation;AlbCli_FacCli_relation;FacturasCliente_view;FacturasCliente_plugin;AlbaranesCliente_view;PresupuestosCliente_controller;GestorInformes_view;AlbaranesCliente_controller;GestorInformes_plugin;FactuGES;FactuGES_Server;PresupuestosCliente_view;PedidosProveedor_view;PedidosCliente_view" />
|
<CallTarget Targets="Base;GUIBase;ApplicationBase;Contactos_model;Contactos_data;Contactos_controller;Contactos_view;Articulos_model;Articulos_data;Articulos_controller;Articulos_view;GestorInformes_model;GestorInformes_data;GestorInformes_controller;FacturasCliente_model;FacturasCliente_data;FacturasCliente_controller;AlbCli_FacCli_relation;FacturasCliente_view;FacturasCliente_plugin;AlbaranesCliente_view;PresupuestosCliente_controller;GestorInformes_view;AlbaranesCliente_controller;GestorInformes_plugin;FactuGES;FactuGES_Server;PresupuestosCliente_view;PedidosProveedor_view;PedidosCliente_view" />
|
||||||
</Target>
|
</Target>
|
||||||
<Target Name="Clean">
|
<Target Name="Clean">
|
||||||
<CallTarget Targets="Base:Clean;GUIBase:Clean;ApplicationBase:Clean;Contactos_model:Clean;Contactos_data:Clean;Contactos_controller:Clean;Contactos_view:Clean;Articulos_model:Clean;Articulos_data:Clean;Articulos_controller:Clean;Articulos_view:Clean;GestorInformes_model:Clean;GestorInformes_data:Clean;GestorInformes_controller:Clean;FacturasCliente_model:Clean;FacturasCliente_data:Clean;FacturasCliente_controller:Clean;PreCli_FacCli_relation:Clean;AlbCli_FacCli_relation:Clean;FacturasCliente_view:Clean;FacturasCliente_plugin:Clean;AlbaranesCliente_view:Clean;PresupuestosCliente_controller:Clean;GestorInformes_view:Clean;AlbaranesCliente_controller:Clean;GestorInformes_plugin:Clean;FactuGES:Clean;FactuGES_Server:Clean;PresupuestosCliente_view:Clean;PedidosProveedor_view:Clean;PedidosCliente_view:Clean" />
|
<CallTarget Targets="Base:Clean;GUIBase:Clean;ApplicationBase:Clean;Contactos_model:Clean;Contactos_data:Clean;Contactos_controller:Clean;Contactos_view:Clean;Articulos_model:Clean;Articulos_data:Clean;Articulos_controller:Clean;Articulos_view:Clean;GestorInformes_model:Clean;GestorInformes_data:Clean;GestorInformes_controller:Clean;FacturasCliente_model:Clean;FacturasCliente_data:Clean;FacturasCliente_controller:Clean;AlbCli_FacCli_relation:Clean;FacturasCliente_view:Clean;FacturasCliente_plugin:Clean;AlbaranesCliente_view:Clean;PresupuestosCliente_controller:Clean;GestorInformes_view:Clean;AlbaranesCliente_controller:Clean;GestorInformes_plugin:Clean;FactuGES:Clean;FactuGES_Server:Clean;PresupuestosCliente_view:Clean;PedidosProveedor_view:Clean;PedidosCliente_view:Clean" />
|
||||||
</Target>
|
</Target>
|
||||||
<Target Name="Make">
|
<Target Name="Make">
|
||||||
<CallTarget Targets="Base:Make;GUIBase:Make;ApplicationBase:Make;Contactos_model:Make;Contactos_data:Make;Contactos_controller:Make;Contactos_view:Make;Articulos_model:Make;Articulos_data:Make;Articulos_controller:Make;Articulos_view:Make;GestorInformes_model:Make;GestorInformes_data:Make;GestorInformes_controller:Make;FacturasCliente_model:Make;FacturasCliente_data:Make;FacturasCliente_controller:Make;PreCli_FacCli_relation:Make;AlbCli_FacCli_relation:Make;FacturasCliente_view:Make;FacturasCliente_plugin:Make;AlbaranesCliente_view:Make;PresupuestosCliente_controller:Make;GestorInformes_view:Make;AlbaranesCliente_controller:Make;GestorInformes_plugin:Make;FactuGES:Make;FactuGES_Server:Make;PresupuestosCliente_view:Make;PedidosProveedor_view:Make;PedidosCliente_view:Make" />
|
<CallTarget Targets="Base:Make;GUIBase:Make;ApplicationBase:Make;Contactos_model:Make;Contactos_data:Make;Contactos_controller:Make;Contactos_view:Make;Articulos_model:Make;Articulos_data:Make;Articulos_controller:Make;Articulos_view:Make;GestorInformes_model:Make;GestorInformes_data:Make;GestorInformes_controller:Make;FacturasCliente_model:Make;FacturasCliente_data:Make;FacturasCliente_controller:Make;AlbCli_FacCli_relation:Make;FacturasCliente_view:Make;FacturasCliente_plugin:Make;AlbaranesCliente_view:Make;PresupuestosCliente_controller:Make;GestorInformes_view:Make;AlbaranesCliente_controller:Make;GestorInformes_plugin:Make;FactuGES:Make;FactuGES_Server:Make;PresupuestosCliente_view:Make;PedidosProveedor_view:Make;PedidosCliente_view:Make" />
|
||||||
</Target>
|
</Target>
|
||||||
<Import Condition="Exists('$(MSBuildBinPath)\Borland.Group.Targets')" Project="$(MSBuildBinPath)\Borland.Group.Targets" />
|
<Import Condition="Exists('$(MSBuildBinPath)\Borland.Group.Targets')" Project="$(MSBuildBinPath)\Borland.Group.Targets" />
|
||||||
</Project>
|
</Project>
|
||||||
@ -1910,12 +1910,12 @@ inherited fEditorFacturasCliente: TfEditorFacturasCliente
|
|||||||
Default = True
|
Default = True
|
||||||
end
|
end
|
||||||
item
|
item
|
||||||
Caption = 'Utilizar uno o m'#225's albaranes de cliente.'
|
Caption = 'Utilizar uno o m'#225's albaranes/'#243'rdenes dev. de cliente.'
|
||||||
Value = 300
|
Value = 300
|
||||||
Info.Strings = (
|
Info.Strings = (
|
||||||
|
|
||||||
'Puede utilizar uno o m'#225's albaranes existentes para dar de alta l' +
|
'Puede utilizar uno o m'#225's albaranes/'#243'rdenes dev. existentes para' +
|
||||||
'a factura nueva.')
|
' dar de alta la factura/abono nueva.')
|
||||||
end>
|
end>
|
||||||
ButtonBar.Buttons = [cbCancel]
|
ButtonBar.Buttons = [cbCancel]
|
||||||
MainIcon = tdiCustom
|
MainIcon = tdiCustom
|
||||||
@ -2150,7 +2150,7 @@ inherited fEditorFacturasCliente: TfEditorFacturasCliente
|
|||||||
0007F0000007F0000007F0000007F0000007F0000007F0000007800000078000
|
0007F0000007F0000007F0000007F0000007F0000007F0000007800000078000
|
||||||
0007C0000007C000000700000007000000070000000700000007C000000FC000
|
0007C0000007C000000700000007000000070000000700000007C000000FC000
|
||||||
001F8000003F800000FFF8FFFFFF}
|
001F8000003F800000FFF8FFFFFF}
|
||||||
Width = 450
|
Width = 550
|
||||||
Left = 168
|
Left = 168
|
||||||
Top = 144
|
Top = 144
|
||||||
end
|
end
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
inherited frViewFacturaCliente: TfrViewFacturaCliente
|
inherited frViewFacturaCliente: TfrViewFacturaCliente
|
||||||
Width = 781
|
Width = 876
|
||||||
Height = 347
|
Height = 436
|
||||||
Align = alClient
|
Align = alClient
|
||||||
OnCreate = CustomViewCreate
|
OnCreate = CustomViewCreate
|
||||||
OnDestroy = CustomViewDestroy
|
OnDestroy = CustomViewDestroy
|
||||||
@ -9,8 +9,8 @@ inherited frViewFacturaCliente: TfrViewFacturaCliente
|
|||||||
object dxLayoutControl1: TdxLayoutControl
|
object dxLayoutControl1: TdxLayoutControl
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 781
|
Width = 876
|
||||||
Height = 347
|
Height = 436
|
||||||
Align = alClient
|
Align = alClient
|
||||||
ParentBackground = True
|
ParentBackground = True
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
@ -20,10 +20,10 @@ inherited frViewFacturaCliente: TfrViewFacturaCliente
|
|||||||
ExplicitWidth = 451
|
ExplicitWidth = 451
|
||||||
ExplicitHeight = 304
|
ExplicitHeight = 304
|
||||||
DesignSize = (
|
DesignSize = (
|
||||||
781
|
876
|
||||||
347)
|
436)
|
||||||
object Label1: TLabel
|
object Label1: TLabel
|
||||||
Left = 464
|
Left = 529
|
||||||
Top = 225
|
Top = 225
|
||||||
Width = 311
|
Width = 311
|
||||||
Height = 26
|
Height = 26
|
||||||
@ -142,7 +142,7 @@ inherited frViewFacturaCliente: TfrViewFacturaCliente
|
|||||||
Width = 269
|
Width = 269
|
||||||
end
|
end
|
||||||
object bFormasPago: TButton
|
object bFormasPago: TButton
|
||||||
Left = 282
|
Left = 347
|
||||||
Top = 103
|
Top = 103
|
||||||
Width = 132
|
Width = 132
|
||||||
Height = 23
|
Height = 23
|
||||||
@ -173,7 +173,7 @@ inherited frViewFacturaCliente: TfrViewFacturaCliente
|
|||||||
Width = 165
|
Width = 165
|
||||||
end
|
end
|
||||||
object cbClienteFinal: TcxDBTextEdit
|
object cbClienteFinal: TcxDBTextEdit
|
||||||
Left = 464
|
Left = 529
|
||||||
Top = 259
|
Top = 259
|
||||||
Anchors = [akLeft, akTop, akRight]
|
Anchors = [akLeft, akTop, akRight]
|
||||||
DataBinding.DataField = 'CLIENTE_FINAL'
|
DataBinding.DataField = 'CLIENTE_FINAL'
|
||||||
@ -201,7 +201,7 @@ inherited frViewFacturaCliente: TfrViewFacturaCliente
|
|||||||
Width = 339
|
Width = 339
|
||||||
end
|
end
|
||||||
object bElegirClienteFinal: TButton
|
object bElegirClienteFinal: TButton
|
||||||
Left = 708
|
Left = 820
|
||||||
Top = 257
|
Top = 257
|
||||||
Width = 23
|
Width = 23
|
||||||
Height = 25
|
Height = 25
|
||||||
@ -209,7 +209,7 @@ inherited frViewFacturaCliente: TfrViewFacturaCliente
|
|||||||
TabOrder = 8
|
TabOrder = 8
|
||||||
end
|
end
|
||||||
inline frViewDatosYSeleccionClienteFacturaCliente1: TfrViewDatosYSeleccionClienteFacturaCliente
|
inline frViewDatosYSeleccionClienteFacturaCliente1: TfrViewDatosYSeleccionClienteFacturaCliente
|
||||||
Left = 453
|
Left = 518
|
||||||
Top = 30
|
Top = 30
|
||||||
Width = 346
|
Width = 346
|
||||||
Height = 170
|
Height = 170
|
||||||
@ -221,14 +221,14 @@ inherited frViewFacturaCliente: TfrViewFacturaCliente
|
|||||||
ParentFont = False
|
ParentFont = False
|
||||||
TabOrder = 6
|
TabOrder = 6
|
||||||
ReadOnly = False
|
ReadOnly = False
|
||||||
ExplicitLeft = 453
|
ExplicitLeft = 518
|
||||||
ExplicitTop = 30
|
ExplicitTop = 30
|
||||||
ExplicitWidth = 346
|
ExplicitWidth = 346
|
||||||
ExplicitHeight = 170
|
ExplicitHeight = 170
|
||||||
inherited dxLayoutControl1: TdxLayoutControl
|
inherited dxLayoutControl1: TdxLayoutControl
|
||||||
Width = 346
|
Width = 346
|
||||||
Height = 170
|
Height = 170
|
||||||
ExplicitWidth = 101
|
ExplicitWidth = 346
|
||||||
ExplicitHeight = 170
|
ExplicitHeight = 170
|
||||||
inherited edtlNombre: TcxDBTextEdit
|
inherited edtlNombre: TcxDBTextEdit
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
@ -239,22 +239,22 @@ inherited frViewFacturaCliente: TfrViewFacturaCliente
|
|||||||
Width = 277
|
Width = 277
|
||||||
end
|
end
|
||||||
inherited edtNIFCIF: TcxDBTextEdit
|
inherited edtNIFCIF: TcxDBTextEdit
|
||||||
Left = 176
|
Left = 223
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 176
|
ExplicitLeft = 223
|
||||||
end
|
end
|
||||||
inherited Button3: TBitBtn
|
inherited Button3: TBitBtn
|
||||||
Left = 87
|
Left = 134
|
||||||
Top = 135
|
Top = 135
|
||||||
ExplicitLeft = 87
|
ExplicitLeft = 134
|
||||||
ExplicitTop = 135
|
ExplicitTop = 135
|
||||||
end
|
end
|
||||||
inherited Button4: TButton
|
inherited Button4: TButton
|
||||||
Left = 256
|
Left = 303
|
||||||
ExplicitLeft = 256
|
ExplicitLeft = 303
|
||||||
end
|
end
|
||||||
inherited edtDireccion: TcxMemo
|
inherited edtDireccion: TcxMemo
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
|
|||||||
@ -170,6 +170,15 @@ begin
|
|||||||
if Length(AFormaPago.DESCRIPCION) = 0 then
|
if Length(AFormaPago.DESCRIPCION) = 0 then
|
||||||
raise Exception.Create('Debe indicar una descripción para esta forma de pago.');
|
raise Exception.Create('Debe indicar una descripción para esta forma de pago.');
|
||||||
|
|
||||||
|
//Asignamos el plazo 0 dias - 100 % como plazo por defecto en el caso de dejar los plazos vacios
|
||||||
|
if AFormaPago.Plazos.RecordCount = 0 then
|
||||||
|
begin
|
||||||
|
AFormaPago.Plazos.Insert;
|
||||||
|
AFormaPago.Plazos.NUM_DIAS := 0;
|
||||||
|
AFormaPago.Plazos.PORCENTAJE := 100;
|
||||||
|
AFormaPago.Plazos.Post;
|
||||||
|
end;
|
||||||
|
|
||||||
Result := True;
|
Result := True;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
@ -153,9 +153,9 @@ end;
|
|||||||
|
|
||||||
procedure TfEditorFormaPago.actAceptarExecute(Sender: TObject);
|
procedure TfEditorFormaPago.actAceptarExecute(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
if (ListaFormasPago.ActiveView.DataController.RecordCount = 0) then
|
// if (ListaFormasPago.ActiveView.DataController.RecordCount = 0) then
|
||||||
if (ShowConfirmMessage('Forma de pago sin plazos', 'No ha indicado plazos de pago para esta forma de pago por lo tanto no se podrán generarar los recibos correspondientes.' + #10#13 + '¿Desea continuar guardando la forma de pago?') = IDNO) then
|
// if (ShowConfirmMessage('Forma de pago sin plazos', 'No ha indicado plazos de pago para esta forma de pago por lo tanto no se podrán generarar los recibos correspondientes.' + #10#13 + '¿Desea continuar guardando la forma de pago?') = IDNO) then
|
||||||
Exit;
|
// Exit;
|
||||||
|
|
||||||
if FController.Guardar(FFormaPago) then
|
if FController.Guardar(FFormaPago) then
|
||||||
actCerrar.Execute;
|
actCerrar.Execute;
|
||||||
|
|||||||
@ -80,7 +80,7 @@ inherited fEditorPedidoCliente: TfEditorPedidoCliente
|
|||||||
end
|
end
|
||||||
inherited pgPaginas: TPageControl
|
inherited pgPaginas: TPageControl
|
||||||
Width = 873
|
Width = 873
|
||||||
Height = 510
|
Height = 504
|
||||||
ActivePage = pagContenido
|
ActivePage = pagContenido
|
||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
OnChanging = pgPaginasChanging
|
OnChanging = pgPaginasChanging
|
||||||
@ -95,7 +95,7 @@ inherited fEditorPedidoCliente: TfEditorPedidoCliente
|
|||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 865
|
Width = 865
|
||||||
Height = 482
|
Height = 476
|
||||||
Align = alClient
|
Align = alClient
|
||||||
Font.Charset = DEFAULT_CHARSET
|
Font.Charset = DEFAULT_CHARSET
|
||||||
Font.Color = clWindowText
|
Font.Color = clWindowText
|
||||||
@ -109,7 +109,7 @@ inherited fEditorPedidoCliente: TfEditorPedidoCliente
|
|||||||
ExplicitHeight = 482
|
ExplicitHeight = 482
|
||||||
inherited dxLayoutControl1: TdxLayoutControl
|
inherited dxLayoutControl1: TdxLayoutControl
|
||||||
Width = 865
|
Width = 865
|
||||||
Height = 482
|
Height = 476
|
||||||
ExplicitWidth = 865
|
ExplicitWidth = 865
|
||||||
ExplicitHeight = 482
|
ExplicitHeight = 482
|
||||||
inherited edtFechaPedido: TcxDBDateEdit
|
inherited edtFechaPedido: TcxDBDateEdit
|
||||||
@ -121,12 +121,12 @@ inherited fEditorPedidoCliente: TfEditorPedidoCliente
|
|||||||
Width = 333
|
Width = 333
|
||||||
end
|
end
|
||||||
inherited memObservaciones: TcxDBMemo
|
inherited memObservaciones: TcxDBMemo
|
||||||
Left = 427
|
Left = 475
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 427
|
ExplicitLeft = 475
|
||||||
ExplicitWidth = 459
|
ExplicitWidth = 459
|
||||||
ExplicitHeight = 200
|
ExplicitHeight = 200
|
||||||
Height = 200
|
Height = 200
|
||||||
@ -149,9 +149,9 @@ inherited fEditorPedidoCliente: TfEditorPedidoCliente
|
|||||||
Width = 432
|
Width = 432
|
||||||
Height = 248
|
Height = 248
|
||||||
inherited Bevel1: TBevel
|
inherited Bevel1: TBevel
|
||||||
Top = 205
|
Top = 172
|
||||||
Width = 464
|
Width = 464
|
||||||
ExplicitTop = 205
|
ExplicitTop = 172
|
||||||
ExplicitWidth = 464
|
ExplicitWidth = 464
|
||||||
end
|
end
|
||||||
inherited rdxDestino3: TRadioButton
|
inherited rdxDestino3: TRadioButton
|
||||||
@ -167,10 +167,10 @@ inherited fEditorPedidoCliente: TfEditorPedidoCliente
|
|||||||
Width = 268
|
Width = 268
|
||||||
end
|
end
|
||||||
inherited bModificar: TBitBtn
|
inherited bModificar: TBitBtn
|
||||||
Left = 237
|
Left = 285
|
||||||
Top = 169
|
Top = 136
|
||||||
ExplicitLeft = 237
|
ExplicitLeft = 285
|
||||||
ExplicitTop = 169
|
ExplicitTop = 136
|
||||||
end
|
end
|
||||||
inherited txtDireccion: TStaticText
|
inherited txtDireccion: TStaticText
|
||||||
Width = 449
|
Width = 449
|
||||||
@ -179,12 +179,12 @@ inherited fEditorPedidoCliente: TfEditorPedidoCliente
|
|||||||
ExplicitHeight = 68
|
ExplicitHeight = 68
|
||||||
end
|
end
|
||||||
inherited edtEntregarA: TcxDBTextEdit
|
inherited edtEntregarA: TcxDBTextEdit
|
||||||
Top = 236
|
Top = 203
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitTop = 236
|
ExplicitTop = 203
|
||||||
ExplicitWidth = 464
|
ExplicitWidth = 464
|
||||||
Width = 464
|
Width = 464
|
||||||
end
|
end
|
||||||
@ -199,13 +199,13 @@ inherited fEditorPedidoCliente: TfEditorPedidoCliente
|
|||||||
Width = 195
|
Width = 195
|
||||||
end
|
end
|
||||||
inherited bFormasPago: TButton
|
inherited bFormasPago: TButton
|
||||||
Left = 265
|
Left = 313
|
||||||
ExplicitLeft = 265
|
ExplicitLeft = 313
|
||||||
end
|
end
|
||||||
inherited frViewDatosYSeleccionClientePedido1: TfrViewDatosYSeleccionClientePedido
|
inherited frViewDatosYSeleccionClientePedido1: TfrViewDatosYSeleccionClientePedido
|
||||||
Left = 427
|
Left = 475
|
||||||
Width = 480
|
Width = 480
|
||||||
ExplicitLeft = 427
|
ExplicitLeft = 475
|
||||||
ExplicitWidth = 480
|
ExplicitWidth = 480
|
||||||
inherited dxLayoutControl1: TdxLayoutControl
|
inherited dxLayoutControl1: TdxLayoutControl
|
||||||
Width = 480
|
Width = 480
|
||||||
@ -218,12 +218,12 @@ inherited fEditorPedidoCliente: TfEditorPedidoCliente
|
|||||||
Width = 276
|
Width = 276
|
||||||
end
|
end
|
||||||
inherited edtNIF_CIF: TcxDBTextEdit
|
inherited edtNIF_CIF: TcxDBTextEdit
|
||||||
Left = 303
|
Left = 255
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitLeft = 303
|
ExplicitLeft = 255
|
||||||
end
|
end
|
||||||
inherited edtPersonaContacto: TcxDBTextEdit
|
inherited edtPersonaContacto: TcxDBTextEdit
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
@ -242,16 +242,16 @@ inherited fEditorPedidoCliente: TfEditorPedidoCliente
|
|||||||
Width = 121
|
Width = 121
|
||||||
end
|
end
|
||||||
inherited Button4: TButton
|
inherited Button4: TButton
|
||||||
Left = 383
|
Left = 335
|
||||||
ExplicitLeft = 383
|
ExplicitLeft = 335
|
||||||
end
|
end
|
||||||
inherited Button5: TButton
|
inherited Button5: TButton
|
||||||
Left = 383
|
Left = 335
|
||||||
ExplicitLeft = 383
|
ExplicitLeft = 335
|
||||||
end
|
end
|
||||||
inherited Button3: TBitBtn
|
inherited Button3: TBitBtn
|
||||||
Left = 208
|
Left = 160
|
||||||
ExplicitLeft = 208
|
ExplicitLeft = 160
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -271,17 +271,22 @@ inherited fEditorPedidoCliente: TfEditorPedidoCliente
|
|||||||
ExplicitWidth = 323
|
ExplicitWidth = 323
|
||||||
Width = 323
|
Width = 323
|
||||||
end
|
end
|
||||||
|
inherited cbTipoPedido: TcxDBComboBox
|
||||||
|
ExplicitWidth = 461
|
||||||
|
Width = 461
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
object pagContenido: TTabSheet
|
object pagContenido: TTabSheet
|
||||||
Caption = 'Contenido'
|
Caption = 'Contenido'
|
||||||
ImageIndex = 1
|
ImageIndex = 1
|
||||||
|
ExplicitHeight = 482
|
||||||
inline frViewDetallesPedidoCliente1: TfrViewDetallesPedidoCliente
|
inline frViewDetallesPedidoCliente1: TfrViewDetallesPedidoCliente
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 865
|
Width = 865
|
||||||
Height = 482
|
Height = 476
|
||||||
Align = alClient
|
Align = alClient
|
||||||
BiDiMode = bdLeftToRight
|
BiDiMode = bdLeftToRight
|
||||||
Font.Charset = DEFAULT_CHARSET
|
Font.Charset = DEFAULT_CHARSET
|
||||||
@ -309,14 +314,14 @@ inherited fEditorPedidoCliente: TfEditorPedidoCliente
|
|||||||
ExplicitLeft = 278
|
ExplicitLeft = 278
|
||||||
ExplicitTop = 0
|
ExplicitTop = 0
|
||||||
end
|
end
|
||||||
inherited ToolButton14: TToolButton
|
inherited ToolButton14: TToolButton [4]
|
||||||
Left = 334
|
Left = 334
|
||||||
Top = 0
|
Top = 0
|
||||||
Wrap = False
|
Wrap = False
|
||||||
ExplicitLeft = 334
|
ExplicitLeft = 334
|
||||||
ExplicitTop = 0
|
ExplicitTop = 0
|
||||||
end
|
end
|
||||||
inherited FontName: TJvFontComboBox
|
inherited FontName: TJvFontComboBox [5]
|
||||||
Left = 399
|
Left = 399
|
||||||
Top = 0
|
Top = 0
|
||||||
ExplicitLeft = 399
|
ExplicitLeft = 399
|
||||||
@ -325,10 +330,10 @@ inherited fEditorPedidoCliente: TfEditorPedidoCliente
|
|||||||
inherited FontSize: TEdit
|
inherited FontSize: TEdit
|
||||||
Left = 544
|
Left = 544
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 122
|
Width = 138
|
||||||
ExplicitLeft = 544
|
ExplicitLeft = 544
|
||||||
ExplicitTop = 0
|
ExplicitTop = 0
|
||||||
ExplicitWidth = 122
|
ExplicitWidth = 138
|
||||||
end
|
end
|
||||||
inherited ToolButton13: TToolButton [7]
|
inherited ToolButton13: TToolButton [7]
|
||||||
Left = 0
|
Left = 0
|
||||||
@ -344,37 +349,38 @@ inherited fEditorPedidoCliente: TfEditorPedidoCliente
|
|||||||
ExplicitLeft = 0
|
ExplicitLeft = 0
|
||||||
ExplicitTop = 27
|
ExplicitTop = 27
|
||||||
end
|
end
|
||||||
inherited ToolButton6: TToolButton
|
inherited ToolButton6: TToolButton [9]
|
||||||
Left = 17
|
Left = 17
|
||||||
Top = 27
|
Top = 27
|
||||||
ExplicitLeft = 17
|
ExplicitLeft = 17
|
||||||
ExplicitTop = 27
|
ExplicitTop = 27
|
||||||
end
|
end
|
||||||
inherited ToolButton7: TToolButton
|
inherited ToolButton7: TToolButton [10]
|
||||||
Left = 83
|
Left = 83
|
||||||
Top = 27
|
Top = 27
|
||||||
ExplicitLeft = 83
|
ExplicitLeft = 83
|
||||||
ExplicitTop = 27
|
ExplicitTop = 27
|
||||||
end
|
end
|
||||||
inherited ToolButton8: TToolButton
|
inherited ToolButton8: TToolButton [11]
|
||||||
Left = 150
|
Left = 150
|
||||||
Top = 27
|
Top = 27
|
||||||
ExplicitLeft = 150
|
ExplicitLeft = 150
|
||||||
ExplicitTop = 27
|
ExplicitTop = 27
|
||||||
end
|
end
|
||||||
inherited ToolButton12: TToolButton
|
inherited ToolButton12: TToolButton [12]
|
||||||
Left = 233
|
Left = 233
|
||||||
Top = 27
|
Top = 27
|
||||||
ExplicitLeft = 233
|
ExplicitLeft = 233
|
||||||
ExplicitTop = 27
|
ExplicitTop = 27
|
||||||
|
ExplicitHeight = 22
|
||||||
end
|
end
|
||||||
inherited ToolButton9: TToolButton
|
inherited ToolButton9: TToolButton [13]
|
||||||
Left = 241
|
Left = 241
|
||||||
Top = 27
|
Top = 27
|
||||||
ExplicitLeft = 241
|
ExplicitLeft = 241
|
||||||
ExplicitTop = 27
|
ExplicitTop = 27
|
||||||
end
|
end
|
||||||
inherited ToolButton10: TToolButton
|
inherited ToolButton10: TToolButton [14]
|
||||||
Left = 386
|
Left = 386
|
||||||
Top = 27
|
Top = 27
|
||||||
ExplicitLeft = 386
|
ExplicitLeft = 386
|
||||||
@ -390,7 +396,7 @@ inherited fEditorPedidoCliente: TfEditorPedidoCliente
|
|||||||
inherited cxGrid: TcxGrid
|
inherited cxGrid: TcxGrid
|
||||||
Top = 77
|
Top = 77
|
||||||
Width = 865
|
Width = 865
|
||||||
Height = 405
|
Height = 399
|
||||||
ExplicitTop = 77
|
ExplicitTop = 77
|
||||||
ExplicitWidth = 865
|
ExplicitWidth = 865
|
||||||
ExplicitHeight = 405
|
ExplicitHeight = 405
|
||||||
@ -418,11 +424,12 @@ inherited fEditorPedidoCliente: TfEditorPedidoCliente
|
|||||||
object pagInicidencias: TTabSheet
|
object pagInicidencias: TTabSheet
|
||||||
Caption = 'Incidencias'
|
Caption = 'Incidencias'
|
||||||
ImageIndex = 2
|
ImageIndex = 2
|
||||||
|
ExplicitHeight = 482
|
||||||
inline frViewIncidenciasProv: TfrViewIncidencias
|
inline frViewIncidenciasProv: TfrViewIncidencias
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 865
|
Width = 865
|
||||||
Height = 482
|
Height = 476
|
||||||
Align = alClient
|
Align = alClient
|
||||||
Font.Charset = DEFAULT_CHARSET
|
Font.Charset = DEFAULT_CHARSET
|
||||||
Font.Color = clWindowText
|
Font.Color = clWindowText
|
||||||
@ -443,13 +450,13 @@ inherited fEditorPedidoCliente: TfEditorPedidoCliente
|
|||||||
end
|
end
|
||||||
inherited GroupBox1: TGroupBox
|
inherited GroupBox1: TGroupBox
|
||||||
Width = 865
|
Width = 865
|
||||||
Height = 454
|
Height = 448
|
||||||
ExplicitWidth = 865
|
ExplicitWidth = 865
|
||||||
ExplicitHeight = 454
|
ExplicitHeight = 454
|
||||||
inherited eIncidencias: TcxDBMemo
|
inherited eIncidencias: TcxDBMemo
|
||||||
ExplicitWidth = 848
|
ExplicitWidth = 848
|
||||||
ExplicitHeight = 427
|
ExplicitHeight = 427
|
||||||
Height = 427
|
Height = 421
|
||||||
Width = 848
|
Width = 848
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -468,9 +475,9 @@ inherited fEditorPedidoCliente: TfEditorPedidoCliente
|
|||||||
end
|
end
|
||||||
inline frViewTotales1: TfrViewTotales [4]
|
inline frViewTotales1: TfrViewTotales [4]
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 592
|
Top = 586
|
||||||
Width = 879
|
Width = 879
|
||||||
Height = 67
|
Height = 73
|
||||||
Align = alBottom
|
Align = alBottom
|
||||||
Font.Charset = DEFAULT_CHARSET
|
Font.Charset = DEFAULT_CHARSET
|
||||||
Font.Color = clWindowText
|
Font.Color = clWindowText
|
||||||
@ -480,12 +487,12 @@ inherited fEditorPedidoCliente: TfEditorPedidoCliente
|
|||||||
ParentFont = False
|
ParentFont = False
|
||||||
TabOrder = 4
|
TabOrder = 4
|
||||||
ReadOnly = False
|
ReadOnly = False
|
||||||
ExplicitTop = 592
|
ExplicitTop = 586
|
||||||
ExplicitWidth = 879
|
ExplicitWidth = 879
|
||||||
ExplicitHeight = 67
|
ExplicitHeight = 73
|
||||||
inherited dxLayoutControl1: TdxLayoutControl
|
inherited dxLayoutControl1: TdxLayoutControl
|
||||||
Width = 879
|
Width = 879
|
||||||
Height = 67
|
Height = 73
|
||||||
LookAndFeel = dxLayoutOfficeLookAndFeel1
|
LookAndFeel = dxLayoutOfficeLookAndFeel1
|
||||||
ExplicitWidth = 879
|
ExplicitWidth = 879
|
||||||
ExplicitHeight = 67
|
ExplicitHeight = 67
|
||||||
@ -745,9 +752,6 @@ inherited fEditorPedidoCliente: TfEditorPedidoCliente
|
|||||||
end
|
end
|
||||||
inherited dxLayoutControl1Group5: TdxLayoutGroup
|
inherited dxLayoutControl1Group5: TdxLayoutGroup
|
||||||
inherited dxLayoutControl1Group3: TdxLayoutGroup
|
inherited dxLayoutControl1Group3: TdxLayoutGroup
|
||||||
inherited dxLayoutControl1Item12: TdxLayoutItem
|
|
||||||
Visible = False
|
|
||||||
end
|
|
||||||
inherited dxLayoutControl1Item14: TdxLayoutItem
|
inherited dxLayoutControl1Item14: TdxLayoutItem
|
||||||
Visible = False
|
Visible = False
|
||||||
end
|
end
|
||||||
@ -757,6 +761,9 @@ inherited fEditorPedidoCliente: TfEditorPedidoCliente
|
|||||||
inherited dxLayoutControl1Group8: TdxLayoutGroup
|
inherited dxLayoutControl1Group8: TdxLayoutGroup
|
||||||
Visible = False
|
Visible = False
|
||||||
end
|
end
|
||||||
|
inherited dxLayoutControl1Item3: TdxLayoutItem
|
||||||
|
Visible = False
|
||||||
|
end
|
||||||
inherited dxLayoutControl1Item10: TdxLayoutItem
|
inherited dxLayoutControl1Item10: TdxLayoutItem
|
||||||
Visible = False
|
Visible = False
|
||||||
end
|
end
|
||||||
|
|||||||
@ -136,8 +136,8 @@ inherited frViewPedidosCliente: TfrViewPedidosCliente
|
|||||||
Width = 65
|
Width = 65
|
||||||
end
|
end
|
||||||
object cxGridViewIMPORTE_TOTAL: TcxGridDBColumn
|
object cxGridViewIMPORTE_TOTAL: TcxGridDBColumn
|
||||||
Caption = 'Importe total'
|
Caption = 'Base Imponible'
|
||||||
DataBinding.FieldName = 'IMPORTE_TOTAL'
|
DataBinding.FieldName = 'BASE_IMPONIBLE'
|
||||||
PropertiesClassName = 'TcxCurrencyEditProperties'
|
PropertiesClassName = 'TcxCurrencyEditProperties'
|
||||||
Properties.Alignment.Horz = taRightJustify
|
Properties.Alignment.Horz = taRightJustify
|
||||||
FooterAlignmentHorz = taRightJustify
|
FooterAlignmentHorz = taRightJustify
|
||||||
|
|||||||
@ -32,7 +32,7 @@ object dmGenerarFacturasCliAlbCli: TdmGenerarFacturasCliAlbCli
|
|||||||
FD84C20B8417C3AA789405239826E0CBCE4F98979E10344C33B0BE630473D312
|
FD84C20B8417C3AA789405239826E0CBCE4F98979E10344C33B0BE630473D312
|
||||||
82866906D6993E62F6F1C3F45D160A5305BE68FF8095CF5B4302134CFE1185EA
|
82866906D6993E62F6F1C3F45D160A5305BE68FF8095CF5B4302134CFE1185EA
|
||||||
1FB8A1B4FF4FE32FF6FADB8B5E0000000049454E44AE426082}
|
1FB8A1B4FF4FE32FF6FADB8B5E0000000049454E44AE426082}
|
||||||
Instruction.Text = 'Se han generado las facturas...'
|
Instruction.Text = 'Se han generado las facturas/abonos...'
|
||||||
Instruction.Glyph.Data = {
|
Instruction.Glyph.Data = {
|
||||||
0A54504E474F626A65637489504E470D0A1A0A0000000D494844520000001C00
|
0A54504E474F626A65637489504E470D0A1A0A0000000D494844520000001C00
|
||||||
00001C0806000000720DDF940000000970485973000017120000171201679FD2
|
00001C0806000000720DDF940000000970485973000017120000171201679FD2
|
||||||
|
|||||||
@ -297,8 +297,8 @@ begin
|
|||||||
Inicializar;
|
Inicializar;
|
||||||
|
|
||||||
AAlbaranes := AAlbaranesClienteController.ElegirAlbaranes(AAlbaranesClienteController.BuscarSinFacturar,
|
AAlbaranes := AAlbaranesClienteController.ElegirAlbaranes(AAlbaranesClienteController.BuscarSinFacturar,
|
||||||
'Elija el albarán o albaranes de cliente que desea utilizar para dar de alta la factura.'
|
'Elija el albarán/orden dev. o albaranes/ordenes de cliente que desea utilizar para dar de alta la factura.'
|
||||||
+ #10#13 + 'Si elige albaranes de clientes diferentes se dará de alta una factura por cada uno de ellos.' , True);
|
+ #10#13 + 'Si elige albaranes/ordenes de clientes diferentes se dará de alta una factura por cada uno de ellos.' , True);
|
||||||
|
|
||||||
if Assigned(AAlbaranes) then
|
if Assigned(AAlbaranes) then
|
||||||
Result := GenerarFacturaCliAlb(AAlbaranes);
|
Result := GenerarFacturaCliAlb(AAlbaranes);
|
||||||
@ -433,21 +433,8 @@ begin
|
|||||||
AListaAlbaranes.Cliente.DataTable.Active := True;
|
AListaAlbaranes.Cliente.DataTable.Active := True;
|
||||||
AFacturas.Cliente := AListaAlbaranes.Cliente;
|
AFacturas.Cliente := AListaAlbaranes.Cliente;
|
||||||
|
|
||||||
//Si el albaran es de tipo devolución hacemos la factura de tipo abono
|
|
||||||
if (AListaAlbaranes.TIPO = CTE_TIPO_ALBARAN_DEV) then
|
|
||||||
begin
|
|
||||||
bEnEdicion := (AFacturas.DataTable.State in dsEditModes);
|
|
||||||
if not bEnEdicion then
|
|
||||||
AFacturas.Edit;
|
|
||||||
AFacturas.TIPO := CTE_TIPO_ABONO;
|
|
||||||
AFacturas.Post;
|
|
||||||
if bEnEdicion then
|
|
||||||
AFacturas.Edit;
|
|
||||||
end;
|
|
||||||
|
|
||||||
AFacturaActual := AFacturas;
|
AFacturaActual := AFacturas;
|
||||||
|
|
||||||
|
|
||||||
// Ya tengo la factura. Le añado los conceptos del albarán
|
// Ya tengo la factura. Le añado los conceptos del albarán
|
||||||
AFacturaActual.Detalles.DataTable.Last;
|
AFacturaActual.Detalles.DataTable.Last;
|
||||||
|
|
||||||
@ -473,11 +460,13 @@ begin
|
|||||||
with AFacturaActual.Detalles do
|
with AFacturaActual.Detalles do
|
||||||
begin
|
begin
|
||||||
Edit;
|
Edit;
|
||||||
// CONCEPTO := 'Albaran ' + AListaAlbaranes.REFERENCIA;
|
if (AListaAlbaranes.TIPO = CTE_TIPO_ALBARAN_DEV) then
|
||||||
CONCEPTO := 'Albarán ' + AListaAlbaranes.REFERENCIA + ' (Ref.Cliente: ' + AListaAlbaranes.REFERENCIA_CLIENTE + ') del ' + DateToStr(AListaAlbaranes.FECHA_ALBARAN);
|
CONCEPTO := 'Orden Dev. ' + AListaAlbaranes.REFERENCIA + ' (Ref.Cliente: ' + AListaAlbaranes.REFERENCIA_CLIENTE + ') del ' + DateToStr(AListaAlbaranes.FECHA_ALBARAN)
|
||||||
|
else
|
||||||
|
CONCEPTO := 'Albarán ' + AListaAlbaranes.REFERENCIA + ' (Ref.Cliente: ' + AListaAlbaranes.REFERENCIA_CLIENTE + ') del ' + DateToStr(AListaAlbaranes.FECHA_ALBARAN);
|
||||||
|
|
||||||
CANTIDAD := 1;
|
CANTIDAD := 1;
|
||||||
IMPORTE_UNIDAD := AListaAlbaranes.IMPORTE_TOTAL; //Tecsitel no utiliza el IVA en los pedidos por lo tanto el
|
IMPORTE_UNIDAD := AListaAlbaranes.BASE_IMPONIBLE;
|
||||||
//importe total es lo que queremos (IMPORTE_NETO+IMPORTE_PORTE)
|
|
||||||
Post;
|
Post;
|
||||||
end;
|
end;
|
||||||
end
|
end
|
||||||
@ -489,8 +478,10 @@ begin
|
|||||||
with AFacturaActual.Detalles do
|
with AFacturaActual.Detalles do
|
||||||
begin
|
begin
|
||||||
Edit;
|
Edit;
|
||||||
// CONCEPTO := 'Albarán ' + AListaAlbaranes.REFERENCIA + ' del ' + DateToStr(AListaAlbaranes.FECHA_ALBARAN);
|
if (AListaAlbaranes.TIPO = CTE_TIPO_ALBARAN_DEV) then
|
||||||
CONCEPTO := 'Albarán ' + AListaAlbaranes.REFERENCIA + ' (Ref.Cliente: ' + AListaAlbaranes.REFERENCIA_CLIENTE + ') del ' + DateToStr(AListaAlbaranes.FECHA_ALBARAN);
|
CONCEPTO := 'Orden Dev. ' + AListaAlbaranes.REFERENCIA + ' (Ref.Cliente: ' + AListaAlbaranes.REFERENCIA_CLIENTE + ') del ' + DateToStr(AListaAlbaranes.FECHA_ALBARAN)
|
||||||
|
else
|
||||||
|
CONCEPTO := 'Albarán ' + AListaAlbaranes.REFERENCIA + ' (Ref.Cliente: ' + AListaAlbaranes.REFERENCIA_CLIENTE + ') del ' + DateToStr(AListaAlbaranes.FECHA_ALBARAN);
|
||||||
Post;
|
Post;
|
||||||
end;
|
end;
|
||||||
// Añado el contenido del albarán
|
// Añado el contenido del albarán
|
||||||
@ -511,7 +502,10 @@ begin
|
|||||||
with AFacturaActual.Detalles do
|
with AFacturaActual.Detalles do
|
||||||
begin
|
begin
|
||||||
Edit;
|
Edit;
|
||||||
CONCEPTO := 'Total del albarán ' + AListaAlbaranes.REFERENCIA;
|
if (AListaAlbaranes.TIPO = CTE_TIPO_ALBARAN_DEV) then
|
||||||
|
CONCEPTO := 'Total de la orden dev. ' + AListaAlbaranes.REFERENCIA
|
||||||
|
else
|
||||||
|
CONCEPTO := 'Total del albarán ' + AListaAlbaranes.REFERENCIA;
|
||||||
Post;
|
Post;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
@ -527,6 +521,21 @@ begin
|
|||||||
|
|
||||||
// Guardo la factura que acabo de generar o editar
|
// Guardo la factura que acabo de generar o editar
|
||||||
AFacturaActual.CalcularImporteTotal;
|
AFacturaActual.CalcularImporteTotal;
|
||||||
|
|
||||||
|
bEnEdicion := (AFacturas.DataTable.State in dsEditModes);
|
||||||
|
if not bEnEdicion then
|
||||||
|
AFacturas.Edit;
|
||||||
|
|
||||||
|
//Si la factura tiene importe negativo establecemos el tipo abono
|
||||||
|
if (AFacturaActual.IMPORTE_TOTAL < 0) then
|
||||||
|
AFacturas.TIPO := CTE_TIPO_ABONO
|
||||||
|
else
|
||||||
|
AFacturas.TIPO := CTE_TIPO_FACTURA;
|
||||||
|
|
||||||
|
AFacturas.Post;
|
||||||
|
if bEnEdicion then
|
||||||
|
AFacturas.Edit;
|
||||||
|
|
||||||
AFacturasClienteController.Guardar(AFacturaActual);
|
AFacturasClienteController.Guardar(AFacturaActual);
|
||||||
|
|
||||||
// Asocio la factura con el albarán
|
// Asocio la factura con el albarán
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@ -14,7 +14,7 @@ BEGIN
|
|||||||
BEGIN
|
BEGIN
|
||||||
VALUE "FileVersion", "4.3.8.0\0"
|
VALUE "FileVersion", "4.3.8.0\0"
|
||||||
VALUE "ProductVersion", "4.3.8.0\0"
|
VALUE "ProductVersion", "4.3.8.0\0"
|
||||||
VALUE "CompileDate", "viernes, 21 de febrero de 2014 15:16\0"
|
VALUE "CompileDate", "viernes, 07 de marzo de 2014 13:12\0"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
BLOCK "VarFileInfo"
|
BLOCK "VarFileInfo"
|
||||||
|
|||||||
Reference in New Issue
Block a user