Doc clientes pagare emrpesa 140

This commit is contained in:
rakcsle
2022-03-15 21:14:53 -07:00
parent b998647612
commit 5c4771ef62
3 changed files with 44 additions and 18 deletions

View File

@@ -15,7 +15,7 @@
<Width>2.19837cm</Width> <Width>2.19837cm</Width>
</TablixColumn> </TablixColumn>
<TablixColumn> <TablixColumn>
<Width>6.04844cm</Width> <Width>6.36678cm</Width>
</TablixColumn> </TablixColumn>
<TablixColumn> <TablixColumn>
<Width>2.80415cm</Width> <Width>2.80415cm</Width>
@@ -585,6 +585,7 @@
<TablixMembers> <TablixMembers>
<TablixMember> <TablixMember>
<KeepWithGroup>After</KeepWithGroup> <KeepWithGroup>After</KeepWithGroup>
<RepeatOnNewPage>true</RepeatOnNewPage>
</TablixMember> </TablixMember>
<TablixMember> <TablixMember>
<Group Name="Details" /> <Group Name="Details" />
@@ -594,11 +595,15 @@
</TablixMember> </TablixMember>
</TablixMembers> </TablixMembers>
</TablixRowHierarchy> </TablixRowHierarchy>
<RepeatColumnHeaders>true</RepeatColumnHeaders>
<RepeatRowHeaders>true</RepeatRowHeaders>
<FixedColumnHeaders>true</FixedColumnHeaders>
<FixedRowHeaders>true</FixedRowHeaders>
<DataSetName>DsInventarios</DataSetName> <DataSetName>DsInventarios</DataSetName>
<Top>0.07056cm</Top> <Top>0.07056cm</Top>
<Left>0.12006cm</Left> <Left>0.12006cm</Left>
<Height>0.73434cm</Height> <Height>0.73434cm</Height>
<Width>19.14474cm</Width> <Width>19.46308cm</Width>
<Style> <Style>
<Border> <Border>
<Style>None</Style> <Style>None</Style>
@@ -786,7 +791,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox21</rd:DefaultName> <rd:DefaultName>Textbox21</rd:DefaultName>
<Top>3.70652cm</Top> <Top>2.56352cm</Top>
<Left>2.55591cm</Left> <Left>2.55591cm</Left>
<Height>1.2cm</Height> <Height>1.2cm</Height>
<Width>5.78664cm</Width> <Width>5.78664cm</Width>
@@ -832,7 +837,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox21</rd:DefaultName> <rd:DefaultName>Textbox21</rd:DefaultName>
<Top>3.70653cm</Top> <Top>2.56353cm</Top>
<Left>11.26987cm</Left> <Left>11.26987cm</Left>
<Height>1.2cm</Height> <Height>1.2cm</Height>
<Width>5.78664cm</Width> <Width>5.78664cm</Width>
@@ -902,7 +907,7 @@
<rd:DefaultName>Textbox31</rd:DefaultName> <rd:DefaultName>Textbox31</rd:DefaultName>
<Top>0.05938cm</Top> <Top>0.05938cm</Top>
<Left>2.89438cm</Left> <Left>2.89438cm</Left>
<Height>1.2cm</Height> <Height>0.8825cm</Height>
<Width>16.69502cm</Width> <Width>16.69502cm</Width>
<ZIndex>5</ZIndex> <ZIndex>5</ZIndex>
<Style> <Style>
@@ -917,7 +922,7 @@
</Textbox> </Textbox>
<Line Name="Line3"> <Line Name="Line3">
<Top>1.25938cm</Top> <Top>1.25938cm</Top>
<Left>0.01422cm</Left> <Left>0.02048cm</Left>
<Height>0cm</Height> <Height>0cm</Height>
<Width>19.56892cm</Width> <Width>19.56892cm</Width>
<ZIndex>6</ZIndex> <ZIndex>6</ZIndex>
@@ -1064,7 +1069,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox21</rd:DefaultName> <rd:DefaultName>Textbox21</rd:DefaultName>
<Top>3.70597cm</Top> <Top>2.56297cm</Top>
<Left>6.90537cm</Left> <Left>6.90537cm</Left>
<Height>1.2cm</Height> <Height>1.2cm</Height>
<Width>5.78664cm</Width> <Width>5.78664cm</Width>
@@ -1133,7 +1138,7 @@
</ReportItems> </ReportItems>
<KeepTogether>true</KeepTogether> <KeepTogether>true</KeepTogether>
<Top>1.66302cm</Top> <Top>1.66302cm</Top>
<Height>4.90653cm</Height> <Height>3.76353cm</Height>
<Width>19.5894cm</Width> <Width>19.5894cm</Width>
<ZIndex>3</ZIndex> <ZIndex>3</ZIndex>
<Visibility> <Visibility>
@@ -1146,13 +1151,13 @@
</Style> </Style>
</Rectangle> </Rectangle>
</ReportItems> </ReportItems>
<Height>2.58644in</Height> <Height>2.13644in</Height>
<Style /> <Style />
</Body> </Body>
<Width>7.75123in</Width> <Width>7.75123in</Width>
<Page> <Page>
<PageHeader> <PageHeader>
<Height>5.08094cm</Height> <Height>4.60469cm</Height>
<PrintOnFirstPage>true</PrintOnFirstPage> <PrintOnFirstPage>true</PrintOnFirstPage>
<PrintOnLastPage>true</PrintOnLastPage> <PrintOnLastPage>true</PrintOnLastPage>
<ReportItems> <ReportItems>
@@ -1207,7 +1212,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox4</rd:DefaultName> <rd:DefaultName>Textbox4</rd:DefaultName>
<Top>4.48094cm</Top> <Top>4.00469cm</Top>
<Left>17.50175cm</Left> <Left>17.50175cm</Left>
<Height>0.6cm</Height> <Height>0.6cm</Height>
<Width>1.76305cm</Width> <Width>1.76305cm</Width>
@@ -1239,7 +1244,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox5</rd:DefaultName> <rd:DefaultName>Textbox5</rd:DefaultName>
<Top>4.48092cm</Top> <Top>4.00467cm</Top>
<Left>16.38699cm</Left> <Left>16.38699cm</Left>
<Height>0.6cm</Height> <Height>0.6cm</Height>
<Width>1.11476cm</Width> <Width>1.11476cm</Width>
@@ -1372,7 +1377,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox2</rd:DefaultName> <rd:DefaultName>Textbox2</rd:DefaultName>
<Top>3.84566cm</Top> <Top>3.36941cm</Top>
<Left>0.12006cm</Left> <Left>0.12006cm</Left>
<Height>0.6cm</Height> <Height>0.6cm</Height>
<Width>14.27979cm</Width> <Width>14.27979cm</Width>
@@ -1412,7 +1417,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox2</rd:DefaultName> <rd:DefaultName>Textbox2</rd:DefaultName>
<Top>4.48094cm</Top> <Top>4.00469cm</Top>
<Left>0.12006cm</Left> <Left>0.12006cm</Left>
<Height>0.6cm</Height> <Height>0.6cm</Height>
<Width>14.27979cm</Width> <Width>14.27979cm</Width>

View File

@@ -4600,6 +4600,22 @@
<label for="TxtDireccionAval">Dirección: </label> <label for="TxtDireccionAval">Dirección: </label>
<i></i> <i></i>
</div> </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> </ContentTemplate>
</asp:UpdatePanel> </asp:UpdatePanel>
</div> </div>

View File

@@ -7346,11 +7346,16 @@ Partial Class Clientes
Dim stringDescargaDocumento As String = "" 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" stringDescargaDocumento = UsuarioActual.Empresa.Ruta & "Formatos\Pagaré.docx"
linkDescargaPagare = stringDescargaDocumento
TxtDireccionAval.Text = "" TxtDireccionAval.Text = ""
TxtAval.Text = "" TxtAval.Text = ""
TxtCiudadAval.Text = ""
TxtTelefonoAval.Text = ""
RegistraScript("$('#ModalDivPagare').modal('show')") RegistraScript("$('#ModalDivPagare').modal('show')")
Else Else
@@ -7411,8 +7416,8 @@ Partial Class Clientes
Tags.Add(New TagsDocumentos("{Telefono}", Telefono)) Tags.Add(New TagsDocumentos("{Telefono}", Telefono))
Tags.Add(New TagsDocumentos("{RazonSocialAval}", TxtAval.Text)) Tags.Add(New TagsDocumentos("{RazonSocialAval}", TxtAval.Text))
Tags.Add(New TagsDocumentos("{DireccionAval}", TxtDireccionAval.Text)) Tags.Add(New TagsDocumentos("{DireccionAval}", TxtDireccionAval.Text))
Tags.Add(New TagsDocumentos("{CiudadAval}", UsuarioActual.Empresa.Ciudad)) Tags.Add(New TagsDocumentos("{CiudadAval}", TxtCiudadAval.Text))
Tags.Add(New TagsDocumentos("{TelefonoAval}", UsuarioActual.Empresa.Telefono)) Tags.Add(New TagsDocumentos("{TelefonoAval}", TxtTelefonoAval.Text))
If Not ObjClientes.AddClientePagare(CveCliente, UsuarioActual.CveEmpresa, TxtAval.Text, TxtDireccionAval.Text) Then If Not ObjClientes.AddClientePagare(CveCliente, UsuarioActual.CveEmpresa, TxtAval.Text, TxtDireccionAval.Text) Then
Alert("no se pudo registrar el pagare") Alert("no se pudo registrar el pagare")