habilitando la facturación de las ordenes de servicio
This commit is contained in:
@@ -2992,23 +2992,6 @@ Partial Class PopUpVerFactura
|
||||
params.Add(New ReportParameter("LogoPath", ""))
|
||||
End If
|
||||
|
||||
'If ObjOS.GetOrdenesServiciosDetalle(CveOS) Then
|
||||
' TmpDTOS = ObjOS.DtResultados
|
||||
'End If
|
||||
|
||||
'If ObjOS.GetDetalleMateriales(-1, CveOS) Then
|
||||
' TmpDTMaterialesOS = ObjOS.DtResultados
|
||||
'End If
|
||||
|
||||
'Dim lrds As New List(Of ReportDataSource)
|
||||
'Dim rds As New ReportDataSource With {.Name = "DataSet2", .Value = TmpDTMaterialesOS}
|
||||
'Dim rds2 As New ReportDataSource With {.Name = "DataSet1", .Value = TmpDTOS}
|
||||
|
||||
'lrds.Add(rds)
|
||||
'lrds.Add(rds2)
|
||||
'ObjOS.Dispose()
|
||||
|
||||
'ImprimirPDF("Empresas/Grales/Formatos/OrdenServicio.rdlc", lrds, params, NombreArchivo:=String.Format("OrdenServicio-{0}", CveFolio))
|
||||
End If
|
||||
|
||||
If ObjOS.GetOrdenesServiciosDetalle(CveOS) Then
|
||||
|
||||
@@ -560,7 +560,8 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox165</rd:DefaultName>
|
||||
<Top>11.33661cm</Top>
|
||||
<Top>10.0666cm</Top>
|
||||
<Left>0.13112cm</Left>
|
||||
<Height>0.44775cm</Height>
|
||||
<Width>18.65497cm</Width>
|
||||
<ZIndex>10</ZIndex>
|
||||
@@ -615,7 +616,8 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox165</rd:DefaultName>
|
||||
<Top>15.07168cm</Top>
|
||||
<Top>13.97806cm</Top>
|
||||
<Left>0.13112cm</Left>
|
||||
<Height>0.99688cm</Height>
|
||||
<Width>18.64497cm</Width>
|
||||
<ZIndex>11</ZIndex>
|
||||
@@ -670,7 +672,8 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox165</rd:DefaultName>
|
||||
<Top>14.59804cm</Top>
|
||||
<Top>13.39858cm</Top>
|
||||
<Left>0.13112cm</Left>
|
||||
<Height>0.47364cm</Height>
|
||||
<Width>18.64497cm</Width>
|
||||
<ZIndex>12</ZIndex>
|
||||
@@ -741,8 +744,8 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox165</rd:DefaultName>
|
||||
<Top>17.20878cm</Top>
|
||||
<Left>0.39722cm</Left>
|
||||
<Top>16.28274cm</Top>
|
||||
<Left>0.13112cm</Left>
|
||||
<Height>0.89754cm</Height>
|
||||
<Width>6.17587cm</Width>
|
||||
<ZIndex>13</ZIndex>
|
||||
@@ -813,8 +816,8 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox165</rd:DefaultName>
|
||||
<Top>17.20878cm</Top>
|
||||
<Left>6.87601cm</Left>
|
||||
<Top>16.28274cm</Top>
|
||||
<Left>6.48338cm</Left>
|
||||
<Height>0.89754cm</Height>
|
||||
<Width>6.17587cm</Width>
|
||||
<ZIndex>14</ZIndex>
|
||||
@@ -870,10 +873,10 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox165</rd:DefaultName>
|
||||
<Top>17.20878cm</Top>
|
||||
<Left>13.22827cm</Left>
|
||||
<Top>16.28274cm</Top>
|
||||
<Left>12.96369cm</Left>
|
||||
<Height>0.89754cm</Height>
|
||||
<Width>5.28334cm</Width>
|
||||
<Width>5.54792cm</Width>
|
||||
<ZIndex>15</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
@@ -926,7 +929,7 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox165</rd:DefaultName>
|
||||
<Top>18.10632cm</Top>
|
||||
<Top>17.68299cm</Top>
|
||||
<Left>0.13112cm</Left>
|
||||
<Height>0.47421cm</Height>
|
||||
<Width>18.64497cm</Width>
|
||||
@@ -2114,113 +2117,6 @@ Compuproveeores no se hace responsable por el resguardo de su equipo.</Value>
|
||||
<FontSize>9pt</FontSize>
|
||||
</Style>
|
||||
</Tablix>
|
||||
<Tablix Name="Tablix3">
|
||||
<TablixBody>
|
||||
<TablixColumns>
|
||||
<TablixColumn>
|
||||
<Width>9.30904cm</Width>
|
||||
</TablixColumn>
|
||||
</TablixColumns>
|
||||
<TablixRows>
|
||||
<TablixRow>
|
||||
<Height>0.6cm</Height>
|
||||
<TablixCells>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox23">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>Equipo</Value>
|
||||
<Style>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Center</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox23</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<BackgroundColor>Silver</BackgroundColor>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
</TablixCells>
|
||||
</TablixRow>
|
||||
<TablixRow>
|
||||
<Height>0.44125cm</Height>
|
||||
<TablixCells>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox29">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Parameters!Equipo.Value</Value>
|
||||
<Style>
|
||||
<FontSize>7pt</FontSize>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox29</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
</TablixCells>
|
||||
</TablixRow>
|
||||
</TablixRows>
|
||||
</TablixBody>
|
||||
<TablixColumnHierarchy>
|
||||
<TablixMembers>
|
||||
<TablixMember />
|
||||
</TablixMembers>
|
||||
</TablixColumnHierarchy>
|
||||
<TablixRowHierarchy>
|
||||
<TablixMembers>
|
||||
<TablixMember />
|
||||
<TablixMember />
|
||||
</TablixMembers>
|
||||
</TablixRowHierarchy>
|
||||
<Top>8.58438cm</Top>
|
||||
<Left>0.12111cm</Left>
|
||||
<Height>1.04125cm</Height>
|
||||
<Width>9.30904cm</Width>
|
||||
<ZIndex>24</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>Solid</Style>
|
||||
</Border>
|
||||
</Style>
|
||||
</Tablix>
|
||||
<Textbox Name="Textbox32">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
@@ -2315,11 +2211,11 @@ Compuproveeores no se hace responsable por el resguardo de su equipo.</Value>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox32</rd:DefaultName>
|
||||
<Top>11.78436cm</Top>
|
||||
<Top>10.5849cm</Top>
|
||||
<Left>0.13112cm</Left>
|
||||
<Height>2.63729cm</Height>
|
||||
<Width>3.53804cm</Width>
|
||||
<ZIndex>25</ZIndex>
|
||||
<ZIndex>24</ZIndex>
|
||||
<Style>
|
||||
<Border />
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
@@ -2484,7 +2380,7 @@ Compuproveeores no se hace responsable por el resguardo de su equipo.</Value>
|
||||
<TextRun>
|
||||
<Value>=Fields!Cantidad.Value</Value>
|
||||
<Style>
|
||||
<FontSize>7pt</FontSize>
|
||||
<FontSize>9pt</FontSize>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
@@ -2515,7 +2411,7 @@ Compuproveeores no se hace responsable por el resguardo de su equipo.</Value>
|
||||
<TextRun>
|
||||
<Value>=Fields!UM.Value</Value>
|
||||
<Style>
|
||||
<FontSize>7pt</FontSize>
|
||||
<FontSize>9pt</FontSize>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
@@ -2546,7 +2442,7 @@ Compuproveeores no se hace responsable por el resguardo de su equipo.</Value>
|
||||
<TextRun>
|
||||
<Value>=Fields!PS.Value</Value>
|
||||
<Style>
|
||||
<FontSize>7pt</FontSize>
|
||||
<FontSize>9pt</FontSize>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
@@ -2577,7 +2473,7 @@ Compuproveeores no se hace responsable por el resguardo de su equipo.</Value>
|
||||
<TextRun>
|
||||
<Value>=Fields!Observaciones.Value</Value>
|
||||
<Style>
|
||||
<FontSize>7pt</FontSize>
|
||||
<FontSize>9pt</FontSize>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
@@ -2620,11 +2516,11 @@ Compuproveeores no se hace responsable por el resguardo de su equipo.</Value>
|
||||
</TablixMembers>
|
||||
</TablixRowHierarchy>
|
||||
<DataSetName>DataSet1</DataSetName>
|
||||
<Top>9.80202cm</Top>
|
||||
<Top>8.69021cm</Top>
|
||||
<Left>0.13112cm</Left>
|
||||
<Height>1.2cm</Height>
|
||||
<Width>18.64497cm</Width>
|
||||
<ZIndex>26</ZIndex>
|
||||
<ZIndex>25</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>Solid</Style>
|
||||
|
||||
@@ -498,21 +498,21 @@ Partial Class OS_OrdenesServicios
|
||||
' LnkTecnico.Visible = True
|
||||
'End If
|
||||
|
||||
'If TipoEstatus = 3 Then
|
||||
' DisableAll()
|
||||
If TipoEstatus = 3 Then
|
||||
DisableAll()
|
||||
|
||||
' If SeFacturara = "True" Then
|
||||
' HplFacturar.Visible = True
|
||||
' If ObjOS.CveCotizacion > 0 Then
|
||||
' HplFacturar.NavigateUrl = String.Format("/Ventas/Ventas.aspx?CveVenta={0}", ObjOS.CveCotizacion)
|
||||
' Else
|
||||
' HplFacturar.NavigateUrl = String.Format("/Ventas/Ventas.aspx?CveOS={0}", CveOS)
|
||||
' End If
|
||||
' End If
|
||||
If SeFacturara = "True" Then
|
||||
HplFacturar.Visible = True
|
||||
If ObjOS.CveCotizacion > 0 Then
|
||||
HplFacturar.NavigateUrl = String.Format("/Ventas/Ventas.aspx?CveVenta={0}", ObjOS.CveCotizacion)
|
||||
Else
|
||||
HplFacturar.NavigateUrl = String.Format("/Ventas/Ventas.aspx?CveOS={0}", CveOS)
|
||||
End If
|
||||
End If
|
||||
|
||||
'ElseIf TipoEstatus = 4 Then
|
||||
' DisableAll()
|
||||
'End If
|
||||
ElseIf TipoEstatus = 4 Then
|
||||
DisableAll()
|
||||
End If
|
||||
|
||||
DivCliente.Attributes.Add("class", "col-md-8")
|
||||
DivFolio.Visible = True
|
||||
|
||||
Reference in New Issue
Block a user