This commit is contained in:
Antonio Gonzalez
2020-08-01 15:09:29 -07:00
parent f2ccad3c22
commit 71e02df9e3
3 changed files with 23 additions and 18 deletions

View File

@@ -1327,9 +1327,9 @@ Partial Class PopUpVerFactura
Dim CveTipoAlmacen As Integer = GlobalDTAlmacen(UsuarioActual.CveEmpresa).FiltroPrimeroValor("CveTipoAlmacen", $"CveAlmacen = {CveAlmacen}").ToString.ToEntero
'If CveTipoAlmacen = 19 Or CveTipoAlmacen = 20 Then
' CveConcepto = 24
'End If
If CveTipoAlmacen = 20 Then
CveConcepto = 24
End If
ObjInventarios.Dispose()
If RazonSocial = "" AndAlso NombreCliente <> "" Then RazonSocial = NombreCliente

View File

@@ -6,19 +6,19 @@
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>1.60907cm</Width>
<Width>1.24394cm</Width>
</TablixColumn>
<TablixColumn>
<Width>2.06688cm</Width>
</TablixColumn>
<TablixColumn>
<Width>6.26873cm</Width>
<Width>5.79535cm</Width>
</TablixColumn>
<TablixColumn>
<Width>2.82959cm</Width>
</TablixColumn>
<TablixColumn>
<Width>1.67979cm</Width>
<Width>2.51831cm</Width>
</TablixColumn>
<TablixColumn>
<Width>1.11844cm</Width>
@@ -43,7 +43,7 @@
<Paragraph>
<TextRuns>
<TextRun>
<Value>CANTIDAD</Value>
<Value>CANT</Value>
<Style>
<FontFamily>MYRIAd Pro</FontFamily>
<FontSize>8pt</FontSize>
@@ -397,7 +397,7 @@
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.36717cm</Height>
<Height>0.43773cm</Height>
<TablixCells>
<TablixCell>
<CellContents>
@@ -541,14 +541,16 @@
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!SeccionAlmacen.Value</Value>
<Value>=Fields!SeccionAlmacen.Value &amp; ".__________"</Value>
<Style>
<FontFamily>MYRIAd Pro</FontFamily>
<FontSize>7.5pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style />
<Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>SeccionAlmacen</rd:DefaultName>
@@ -699,7 +701,7 @@
<DataSetName>DsInventarios</DataSetName>
<Top>0.17639cm</Top>
<Left>0.12931cm</Left>
<Height>0.96717cm</Height>
<Height>1.03773cm</Height>
<Width>19.16933cm</Width>
<Style>
<Border>
@@ -708,7 +710,7 @@
</Style>
</Tablix>
<Line Name="Line3">
<Top>1.21412cm</Top>
<Top>1.53162cm</Top>
<Left>0.17882cm</Left>
<Height>0cm</Height>
<Width>19.11979cm</Width>
@@ -740,7 +742,7 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>ImporteLetra</rd:DefaultName>
<Top>0.73158in</Top>
<Top>0.98158in</Top>
<Left>1.49813in</Left>
<Height>0.18861in</Height>
<Width>6.09975in</Width>
@@ -853,7 +855,7 @@
</TablixMembers>
</TablixRowHierarchy>
<DataSetName>DsInventarios</DataSetName>
<Top>1.31995cm</Top>
<Top>1.95495cm</Top>
<Left>15.70179cm</Left>
<Height>0.46771cm</Height>
<Width>3.59684cm</Width>

View File

@@ -122,10 +122,13 @@ public partial class OI_DocumentoDetalle : ClsPaginas
TxtObs.InnerText = Documento["Observacion"].ToString();
ArchivoAdjuntoNombre = Documento["ArchivoFisico"].ToString();
string[] ArchivoAux = Documento["ArchivoFisico"].ToString().Split('_');
string ArchivoAdjunto = ArchivoAux[1];
LkbDescargarArchivo.Text = ArchivoAdjunto;
DivDescargarArchivo.Visible = true;
if (ArchivoAdjuntoNombre.Contains("_"))
{
string[] ArchivoAux = Documento["ArchivoFisico"].ToString().Split('_');
string ArchivoAdjunto = ArchivoAux[1];
LkbDescargarArchivo.Text = ArchivoAdjunto;
DivDescargarArchivo.Visible = true;
}
}
}
ObjOI.Dispose();