Merge branch 'master' of http://oirigoyen@192.168.10.111:8383/SIG.git
This commit is contained in:
@@ -233,7 +233,7 @@
|
||||
<ContentTemplate>
|
||||
<ajax:TabContainer ID="TabsFormulas" runat="server" Width="100%" CssClass="tabBodyOverride" ActiveTabIndex="0" AutoPostBack="true">
|
||||
|
||||
<ajax:TabPanel ID="tabFormulaImporte" runat="server" HeaderText="Importe">
|
||||
<ajax:TabPanel ID="tabFormulaImporte" runat="server" HeaderText="Valor">
|
||||
<ContentTemplate>
|
||||
<asp:TextBox ID="TxtFormulaImporte" runat="server" MaxLength="70" CssClass="codeeditor " Enabled="false"></asp:TextBox>
|
||||
</ContentTemplate>
|
||||
|
||||
@@ -54,10 +54,10 @@ public partial class Nomina_CatConcepto : ClsPaginas
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
if (UsuarioActual.CveEmpresa ==72 || UsuarioActual.CveEmpresa== 80)
|
||||
{
|
||||
tabFormulaImporte.Visible = false;
|
||||
}
|
||||
//if (UsuarioActual.CveEmpresa ==72 || UsuarioActual.CveEmpresa== 80)
|
||||
//{
|
||||
// tabFormulaImporte.Visible = false;
|
||||
//}
|
||||
if (Request["CveConcepto"] != null && !Request["CveConcepto"].ToString().Equals("") && Request["CveConcepto"].ToEntero() > 0)
|
||||
{
|
||||
ViewState["CveConcepto"] = Request["CveConcepto"];
|
||||
|
||||
@@ -8,6 +8,10 @@
|
||||
border: 1px solid #E87E04;
|
||||
}
|
||||
|
||||
table.GvConceptos td {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.GvConceptos.table > tbody > tr > th {
|
||||
border-top: 1px solid #E87E04;
|
||||
color: #fff;
|
||||
@@ -560,7 +564,7 @@
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Valor">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="LtlValorP" runat="server" Text='<%# Eval("ValorP", "{##,###.##}") %>' Style="word-break: break-all;"></asp:Label>
|
||||
<asp:Label ID="LtlValorP" runat="server" Text='<%# Eval("ValorP", "{0:##,###.##}") %>' Style="word-break: break-all;"></asp:Label>
|
||||
</ItemTemplate>
|
||||
<ItemStyle HorizontalAlign="Right" Width="13%" />
|
||||
</asp:TemplateField>
|
||||
@@ -580,7 +584,7 @@
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Valor">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="LtlValorD" runat="server" Text='<%# Eval("ValorD", "{{##,###.##}}") %>' Style="word-break: break-all;"></asp:Label>
|
||||
<asp:Label ID="LtlValorD" runat="server" Text='<%# Eval("ValorD", "{0:##,###.##}") %>' Style="word-break: break-all;"></asp:Label>
|
||||
</ItemTemplate>
|
||||
<ItemStyle HorizontalAlign="Right" Width="13%" />
|
||||
</asp:TemplateField>
|
||||
|
||||
@@ -518,7 +518,7 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
||||
|
||||
try
|
||||
{
|
||||
/*
|
||||
|
||||
DateTime FechaInicio = (DateTime)dtPeriodo.Rows[0]["FechaInicio"];
|
||||
DateTime FechaFin = (DateTime)dtPeriodo.Rows[0]["FechaFin"];
|
||||
StringBuilder gvasistencia = new StringBuilder();
|
||||
@@ -532,10 +532,11 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
||||
while (fecha <= FechaFin)
|
||||
{
|
||||
gvasistencia.AppendFormat("<td>{0:dd/MM/yyyy}</td>", fecha);
|
||||
fecha= fecha.AddDays(1);
|
||||
fecha = fecha.AddDays(1);
|
||||
}
|
||||
gvasistencia.Append("</tr>");
|
||||
}
|
||||
string tipo = "";
|
||||
foreach (DataRow rempl in dtempleados.Rows)
|
||||
{
|
||||
int CvePersonal = rempl["CvePersonal"].ToString().ToEntero();
|
||||
@@ -546,11 +547,11 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
||||
while (fecha <= FechaFin)
|
||||
{
|
||||
DataRow drow = dtasistencia.FiltroPrimero(string.Format("Fecha='{0:yyyy/MM/dd}' AND CvePersonal={1}", fecha, CvePersonal));
|
||||
fecha=fecha.AddDays(1);
|
||||
string tipo = "-";
|
||||
fecha = fecha.AddDays(1);
|
||||
tipo = "-";
|
||||
if (drow != null)
|
||||
{
|
||||
tipo = drow["Tipo"].ToString();
|
||||
tipo = string.Format("{0} ({1}%)", drow["Tipo"], drow["PorcentajePago"]);
|
||||
drow.Delete();
|
||||
}
|
||||
gvasistencia.AppendFormat("<td>{0}</td>", tipo);
|
||||
@@ -558,7 +559,7 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
||||
gvasistencia.Append("</tr>");
|
||||
}
|
||||
gvasistencia.Append("</table>");
|
||||
ltlGvAsistencia.Text = gvasistencia.ToString();*/
|
||||
ltlGvAsistencia.Text = gvasistencia.ToString();
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user