Doc clientes pagare emrpesa 140
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
<Width>2.19837cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>6.04844cm</Width>
|
||||
<Width>6.36678cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>2.80415cm</Width>
|
||||
@@ -585,6 +585,7 @@
|
||||
<TablixMembers>
|
||||
<TablixMember>
|
||||
<KeepWithGroup>After</KeepWithGroup>
|
||||
<RepeatOnNewPage>true</RepeatOnNewPage>
|
||||
</TablixMember>
|
||||
<TablixMember>
|
||||
<Group Name="Details" />
|
||||
@@ -594,11 +595,15 @@
|
||||
</TablixMember>
|
||||
</TablixMembers>
|
||||
</TablixRowHierarchy>
|
||||
<RepeatColumnHeaders>true</RepeatColumnHeaders>
|
||||
<RepeatRowHeaders>true</RepeatRowHeaders>
|
||||
<FixedColumnHeaders>true</FixedColumnHeaders>
|
||||
<FixedRowHeaders>true</FixedRowHeaders>
|
||||
<DataSetName>DsInventarios</DataSetName>
|
||||
<Top>0.07056cm</Top>
|
||||
<Left>0.12006cm</Left>
|
||||
<Height>0.73434cm</Height>
|
||||
<Width>19.14474cm</Width>
|
||||
<Width>19.46308cm</Width>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
@@ -786,7 +791,7 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox21</rd:DefaultName>
|
||||
<Top>3.70652cm</Top>
|
||||
<Top>2.56352cm</Top>
|
||||
<Left>2.55591cm</Left>
|
||||
<Height>1.2cm</Height>
|
||||
<Width>5.78664cm</Width>
|
||||
@@ -832,7 +837,7 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox21</rd:DefaultName>
|
||||
<Top>3.70653cm</Top>
|
||||
<Top>2.56353cm</Top>
|
||||
<Left>11.26987cm</Left>
|
||||
<Height>1.2cm</Height>
|
||||
<Width>5.78664cm</Width>
|
||||
@@ -902,7 +907,7 @@
|
||||
<rd:DefaultName>Textbox31</rd:DefaultName>
|
||||
<Top>0.05938cm</Top>
|
||||
<Left>2.89438cm</Left>
|
||||
<Height>1.2cm</Height>
|
||||
<Height>0.8825cm</Height>
|
||||
<Width>16.69502cm</Width>
|
||||
<ZIndex>5</ZIndex>
|
||||
<Style>
|
||||
@@ -917,7 +922,7 @@
|
||||
</Textbox>
|
||||
<Line Name="Line3">
|
||||
<Top>1.25938cm</Top>
|
||||
<Left>0.01422cm</Left>
|
||||
<Left>0.02048cm</Left>
|
||||
<Height>0cm</Height>
|
||||
<Width>19.56892cm</Width>
|
||||
<ZIndex>6</ZIndex>
|
||||
@@ -1064,7 +1069,7 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox21</rd:DefaultName>
|
||||
<Top>3.70597cm</Top>
|
||||
<Top>2.56297cm</Top>
|
||||
<Left>6.90537cm</Left>
|
||||
<Height>1.2cm</Height>
|
||||
<Width>5.78664cm</Width>
|
||||
@@ -1133,7 +1138,7 @@
|
||||
</ReportItems>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Top>1.66302cm</Top>
|
||||
<Height>4.90653cm</Height>
|
||||
<Height>3.76353cm</Height>
|
||||
<Width>19.5894cm</Width>
|
||||
<ZIndex>3</ZIndex>
|
||||
<Visibility>
|
||||
@@ -1146,13 +1151,13 @@
|
||||
</Style>
|
||||
</Rectangle>
|
||||
</ReportItems>
|
||||
<Height>2.58644in</Height>
|
||||
<Height>2.13644in</Height>
|
||||
<Style />
|
||||
</Body>
|
||||
<Width>7.75123in</Width>
|
||||
<Page>
|
||||
<PageHeader>
|
||||
<Height>5.08094cm</Height>
|
||||
<Height>4.60469cm</Height>
|
||||
<PrintOnFirstPage>true</PrintOnFirstPage>
|
||||
<PrintOnLastPage>true</PrintOnLastPage>
|
||||
<ReportItems>
|
||||
@@ -1207,7 +1212,7 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox4</rd:DefaultName>
|
||||
<Top>4.48094cm</Top>
|
||||
<Top>4.00469cm</Top>
|
||||
<Left>17.50175cm</Left>
|
||||
<Height>0.6cm</Height>
|
||||
<Width>1.76305cm</Width>
|
||||
@@ -1239,7 +1244,7 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox5</rd:DefaultName>
|
||||
<Top>4.48092cm</Top>
|
||||
<Top>4.00467cm</Top>
|
||||
<Left>16.38699cm</Left>
|
||||
<Height>0.6cm</Height>
|
||||
<Width>1.11476cm</Width>
|
||||
@@ -1372,7 +1377,7 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox2</rd:DefaultName>
|
||||
<Top>3.84566cm</Top>
|
||||
<Top>3.36941cm</Top>
|
||||
<Left>0.12006cm</Left>
|
||||
<Height>0.6cm</Height>
|
||||
<Width>14.27979cm</Width>
|
||||
@@ -1412,7 +1417,7 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox2</rd:DefaultName>
|
||||
<Top>4.48094cm</Top>
|
||||
<Top>4.00469cm</Top>
|
||||
<Left>0.12006cm</Left>
|
||||
<Height>0.6cm</Height>
|
||||
<Width>14.27979cm</Width>
|
||||
|
||||
@@ -4600,6 +4600,22 @@
|
||||
<label for="TxtDireccionAval">Dirección: </label>
|
||||
<i></i>
|
||||
</div>
|
||||
|
||||
<div class="form-group form-md-line-input input-iconright">
|
||||
<asp:TextBox ID="TxtCiudadAval" CssClass="form-control " runat="server" MaxLength="70" CausesValidation="true"></asp:TextBox>
|
||||
<asp:RequiredFieldValidator ID="RequiredFieldValidator20" runat="server" ControlToValidate="TxtCiudadAval" CssClass="help-block errorimput" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Ciudad''</b> es necesario, por favor ingréselo." ValidationGroup="GrpTiposD"></asp:RequiredFieldValidator>
|
||||
<label for="TxtDireccionAval">Ciudad: </label>
|
||||
<i></i>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group form-md-line-input input-iconright">
|
||||
<asp:TextBox ID="TxtTelefonoAval" CssClass="form-control " runat="server" MaxLength="20" CausesValidation="true"></asp:TextBox>
|
||||
<asp:RequiredFieldValidator ID="RequiredFieldValidator21" runat="server" ControlToValidate="TxtTelefonoAval" CssClass="help-block errorimput" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Teléfono''</b> es necesario, por favor ingréselo." ValidationGroup="GrpTiposD"></asp:RequiredFieldValidator>
|
||||
<ajax:FilteredTextBoxExtender TargetControlID="TxtTelefonoAval" runat="server" FilterType="Custom" ValidChars ="1234567890" />
|
||||
<label for="TxtTelefonoAval">Teléfono: </label>
|
||||
<i></i>
|
||||
</div>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
</div>
|
||||
|
||||
@@ -7346,11 +7346,16 @@ Partial Class Clientes
|
||||
|
||||
Dim stringDescargaDocumento As String = ""
|
||||
|
||||
If GvRow.DataKey("Documentacion") = "Pagaré" AndAlso UsuarioActual.CveEmpresa = 140 Then
|
||||
|
||||
If GvRow.DataKey("Documentacion") = "Pagaré" AndAlso UsuarioActual.CveEmpresa = 140 Then
|
||||
|
||||
|
||||
stringDescargaDocumento = UsuarioActual.Empresa.Ruta & "Formatos\Pagaré.docx"
|
||||
linkDescargaPagare = stringDescargaDocumento
|
||||
TxtDireccionAval.Text = ""
|
||||
TxtAval.Text = ""
|
||||
TxtCiudadAval.Text = ""
|
||||
TxtTelefonoAval.Text = ""
|
||||
|
||||
RegistraScript("$('#ModalDivPagare').modal('show')")
|
||||
|
||||
Else
|
||||
@@ -7411,8 +7416,8 @@ Partial Class Clientes
|
||||
Tags.Add(New TagsDocumentos("{Telefono}", Telefono))
|
||||
Tags.Add(New TagsDocumentos("{RazonSocialAval}", TxtAval.Text))
|
||||
Tags.Add(New TagsDocumentos("{DireccionAval}", TxtDireccionAval.Text))
|
||||
Tags.Add(New TagsDocumentos("{CiudadAval}", UsuarioActual.Empresa.Ciudad))
|
||||
Tags.Add(New TagsDocumentos("{TelefonoAval}", UsuarioActual.Empresa.Telefono))
|
||||
Tags.Add(New TagsDocumentos("{CiudadAval}", TxtCiudadAval.Text))
|
||||
Tags.Add(New TagsDocumentos("{TelefonoAval}", TxtTelefonoAval.Text))
|
||||
|
||||
If Not ObjClientes.AddClientePagare(CveCliente, UsuarioActual.CveEmpresa, TxtAval.Text, TxtDireccionAval.Text) Then
|
||||
Alert("no se pudo registrar el pagare")
|
||||
|
||||
Reference in New Issue
Block a user