fix visualizzazione, inizio edit detail
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -15,9 +15,14 @@ namespace MedAP
|
||||
mod_DocsArchive.eh_ucev += Mod_DocsArchive_eh_ucev;
|
||||
mod_searchParam.eh_ucev += Mod_searchParam_eh_ucev;
|
||||
mod_DocsDetail.eh_ucev += Mod_DocsDetail_eh_ucev;
|
||||
mod_ElencoClienti.eh_ucev += Mod_ElencoClienti_eh_ucev;
|
||||
}
|
||||
|
||||
private void Mod_billAdvFunHor_eh_ucev(object sender, EventArgs e)
|
||||
/// <summary>
|
||||
/// Gestione selezione cliente/paziente --> update fatture!
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void Mod_ElencoClienti_eh_ucev(object sender, EventArgs e)
|
||||
{
|
||||
// se trovo evento select/reset mostro/nascondo dettagli...
|
||||
ucEvent evento = (ucEvent)e;
|
||||
@@ -30,13 +35,17 @@ namespace MedAP
|
||||
case ucEvType.New:
|
||||
break;
|
||||
case ucEvType.Reset:
|
||||
mod_DocsArchive.idxCli = 0;
|
||||
mod_DocsArchive.doUpdate();
|
||||
break;
|
||||
case ucEvType.ReqUpdateParent:
|
||||
break;
|
||||
case ucEvType.Selected:
|
||||
mod_DocsArchive.searchVal = mod_searchParam.searchVal;
|
||||
mod_DocsArchive.tipoDoc = mod_searchParam.tipoDoc;
|
||||
mod_DocsArchive.idxCli = mod_ElencoClienti.idxCliSel;
|
||||
mod_DocsArchive.aperta = mod_searchParam.aperta;
|
||||
mod_DocsArchive.doUpdate();
|
||||
mod_DocsDetail.idxDoc = 0;
|
||||
divDetail.Visible = false;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
@@ -137,6 +146,6 @@ namespace MedAP
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,6 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_DocsArchive.ascx.cs" Inherits="MedAP.WebUserControl.mod_DocsArchive" %>
|
||||
<%@ Register Src="~/WebUserControl/mod_barPlot.ascx" TagPrefix="uc1" TagName="mod_barPlot" %>
|
||||
|
||||
|
||||
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataSourceID="ods" AllowPaging="True" CssClass="table table-striped" AllowSorting="True" DataKeyNames="idxDoc" Width="100%" OnSelectedIndexChanged="grView_SelectedIndexChanged" OnSorting="grView_Sorting" OnPageIndexChanged="grView_PageIndexChanged">
|
||||
<PagerStyle CssClass="active GridPager" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
@@ -23,7 +22,6 @@
|
||||
<div class="row">
|
||||
<div class="col-xs-1 text-right pRZero">
|
||||
<asp:HyperLink runat="server" ID="lnkFatt" Target="_blank" NavigateUrl='<%# getUrlFattura(Eval("idxDoc")) %>'>
|
||||
<%--<asp:HyperLink runat="server" ID="lnkFatt" Target="_blank" NavigateUrl='<%# getUrlFattura(Eval("anno"),Eval("num")) %>'>--%>
|
||||
<i class="fa fa-file-pdf-o fa-2x" aria-hidden="true"></i>
|
||||
</asp:HyperLink>
|
||||
</div>
|
||||
@@ -34,7 +32,7 @@
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<asp:LinkButton runat="server" ID="lbSelCli" CommandArgument='<%# Eval("idxCli") %>' OnClick="lbSelCli_Click">
|
||||
<asp:Label ID="lblcodCli" runat="server" Text='<%# Eval("codCli","<b>{0}</b>") %>' ToolTip='<%# Eval("RagSoc") %>' />
|
||||
<asp:Label ID="lblcodCli" runat="server" Text='<%# Eval("RagSoc","<b>{0}</b>") %>' ToolTip='<%# Eval("RagSoc") %>' />
|
||||
</asp:LinkButton>
|
||||
</div>
|
||||
<div class="col-xs-2 text-right text-nowrap max20em pLZero pRZero">
|
||||
|
||||
@@ -1,426 +1,426 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_DocsDetail.ascx.cs" Inherits="MedAP.WebUserControl.mod_DocsDetail" %>
|
||||
|
||||
<asp:FormView runat="server" ID="frmViewTestata" DataKeyNames="idxDoc" DataSourceID="odsTestata" Width="100%" OnItemUpdated="frmViewTestata_ItemUpdated">
|
||||
<EditItemTemplate>
|
||||
<div class="panel panel-info">
|
||||
<div class="panel-heading">
|
||||
<div class="row">
|
||||
<div class="col-xs-9">
|
||||
<asp:DropDownList runat="server" ID="dlidxCli" DataTextField="label" DataValueField="value" DataSourceID="odsCliente" AutoPostBack="True" SelectedValue='<%# Bind("idxCli") %>' Width="100%"></asp:DropDownList>
|
||||
</div>
|
||||
<div class="col-xs-3" style="text-wrap: avoid;">
|
||||
<asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" CommandName="Update" ToolTip="Update"><i class="fa fa-check fa-2x text-success" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton ID="UpdateCancelButton" runat="server" CausesValidation="False" CommandName="Cancel" ToolTip="Cancel"><i class="fa fa-ban fa-2x text-danger" aria-hidden="true"></i></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-body bg-default fontSmall" style="min-height: 34px; margin-top: -10px;">
|
||||
<div class="row">
|
||||
<div class="col-xs-8">
|
||||
<div class="row">
|
||||
<div class="col-xs-2">
|
||||
anno:
|
||||
</div>
|
||||
<div class="col-xs-4 text-right">
|
||||
<asp:TextBox ID="annoTextBox" runat="server" Text='<%# Bind("anno") %>' Width="4em" />
|
||||
</div>
|
||||
<div class="col-xs-2">
|
||||
num:
|
||||
</div>
|
||||
<div class="col-xs-4 text-right">
|
||||
<asp:TextBox ID="numTextBox" runat="server" Text='<%# Bind("num") %>' Width="4em" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-2">
|
||||
tipo:
|
||||
</div>
|
||||
<div class="col-xs-4 text-right">
|
||||
<asp:DropDownList runat="server" ID="dlTipo" DataSourceID="odsTipo" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("tipo") %>' Width="100%"></asp:DropDownList>
|
||||
</div>
|
||||
<div class="col-xs-2">
|
||||
data:
|
||||
</div>
|
||||
<div class="col-xs-4 text-right">
|
||||
<asp:TextBox ID="emessoTextBox" runat="server" Text='<%# Bind("emesso", "{0:yyyy-MM-dd}") %>' TextMode="Date" Width="100%" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-2">
|
||||
ritenuta:
|
||||
</div>
|
||||
<div class="col-xs-4 text-right">
|
||||
<asp:TextBox ID="ritenutaTextBox" runat="server" Text='<%# Bind("ritenuta","{0:N4}") %>' Width="4em" />
|
||||
</div>
|
||||
<div class="col-xs-2">
|
||||
pagam:
|
||||
</div>
|
||||
<div class="col-xs-4 text-right">
|
||||
<asp:Label ID="dataPagamLabel" runat="server" Text='<%# Eval("dataPagam", "{0:yyyy-MM-dd}") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6 text-danger">
|
||||
<asp:Label ID="totScadenzeLabel" runat="server" Text='<%# Eval("totScadenze", "scadenze: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-success">
|
||||
<asp:Label ID="totPagatoLabel" runat="server" Text='<%# Eval("totPagato", "pagato: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-4 bg-warning">
|
||||
CONTRIBUTI
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-footer bg-info" style="margin-top: -15px;">
|
||||
<div class="row bg-info" style="margin-top: -10px; margin-bottom: -10px;">
|
||||
<div class="col-xs-4">
|
||||
<asp:Label ID="nettoLabel" runat="server" Text='<%# Eval("netto", "netto: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<asp:Label ID="ivaLabel" runat="server" Text='<%# Eval("iva", "iva: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<asp:Label ID="importoLabel" runat="server" Text='<%# Eval("importo", "importo: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<EditItemTemplate>
|
||||
<div class="panel panel-info">
|
||||
<div class="panel-heading">
|
||||
<div class="row">
|
||||
<div class="col-xs-9">
|
||||
<asp:DropDownList runat="server" ID="dlidxCli" DataTextField="label" DataValueField="value" DataSourceID="odsCliente" AutoPostBack="True" SelectedValue='<%# Bind("idxCli") %>' Width="100%"></asp:DropDownList>
|
||||
</div>
|
||||
<div class="col-xs-3" style="text-wrap: avoid;">
|
||||
<asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" CommandName="Update" ToolTip="Update"><i class="fa fa-check fa-2x text-success" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton ID="UpdateCancelButton" runat="server" CausesValidation="False" CommandName="Cancel" ToolTip="Cancel"><i class="fa fa-ban fa-2x text-danger" aria-hidden="true"></i></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</EditItemTemplate>
|
||||
<InsertItemTemplate>
|
||||
<div class="panel panel-info">
|
||||
<div class="panel-heading">
|
||||
<div class="row">
|
||||
<div class="col-xs-9">
|
||||
<asp:DropDownList runat="server" ID="dlidxCli" DataTextField="label" DataValueField="value" DataSourceID="odsCliente" AutoPostBack="True" SelectedValue='<%# Bind("idxCli") %>' Width="100%"></asp:DropDownList>
|
||||
</div>
|
||||
<div class="col-xs-3" style="text-wrap: avoid;">
|
||||
<asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" CommandName="Insert" Text="Insert"><i class="fa fa-check fa-2x text-success" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel" Text="Cancel"><i class="fa fa-ban fa-2x text-danger" aria-hidden="true"></i></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-body bg-default fontSmall" style="min-height: 34px; margin-top: -10px;">
|
||||
<div class="row">
|
||||
<div class="col-xs-8">
|
||||
<div class="row">
|
||||
<div class="col-xs-2">
|
||||
anno:
|
||||
</div>
|
||||
<div class="col-xs-4 text-right">
|
||||
<asp:TextBox ID="annoTextBox" runat="server" Text='<%# Bind("anno") %>' Width="4em" />
|
||||
</div>
|
||||
<div class="col-xs-2">
|
||||
num:
|
||||
</div>
|
||||
<div class="col-xs-4 text-right">
|
||||
<asp:TextBox ID="numTextBox" runat="server" Text='<%# Bind("num") %>' Width="4em" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-body bg-default fontSmall" style="min-height: 34px; margin-top: -10px;">
|
||||
<div class="row">
|
||||
<div class="col-xs-8">
|
||||
<div class="row">
|
||||
<div class="col-xs-2">
|
||||
anno:
|
||||
</div>
|
||||
<div class="col-xs-4 text-right">
|
||||
<asp:TextBox ID="annoTextBox" runat="server" Text='<%# Bind("anno") %>' Width="4em" />
|
||||
</div>
|
||||
<div class="col-xs-2">
|
||||
num:
|
||||
</div>
|
||||
<div class="col-xs-4 text-right">
|
||||
<asp:TextBox ID="numTextBox" runat="server" Text='<%# Bind("num") %>' Width="4em" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-2">
|
||||
tipo:
|
||||
</div>
|
||||
<div class="col-xs-4 text-right">
|
||||
<asp:DropDownList runat="server" ID="dlTipo" DataSourceID="odsTipo" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("tipo") %>' Width="100%"></asp:DropDownList>
|
||||
</div>
|
||||
<div class="col-xs-2">
|
||||
data:
|
||||
</div>
|
||||
<div class="col-xs-4 text-right">
|
||||
<asp:TextBox ID="emessoTextBox" runat="server" Text='<%# Bind("emesso", "{0:yyyy-MM-dd}") %>' TextMode="Date" Width="100%" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-2">
|
||||
ritenuta:
|
||||
</div>
|
||||
<div class="col-xs-4 text-right">
|
||||
<asp:TextBox ID="ritenutaTextBox" runat="server" Text='<%# Bind("ritenuta","{0:N4}") %>' Width="4em" />
|
||||
</div>
|
||||
<div class="col-xs-2">
|
||||
pagam:
|
||||
</div>
|
||||
<div class="col-xs-4 text-right">
|
||||
<asp:Label ID="dataPagamLabel" runat="server" Text='<%# Eval("dataPagam", "{0:yyyy-MM-dd}") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6 text-danger">
|
||||
<asp:Label ID="totScadenzeLabel" runat="server" Text='<%# Eval("totScadenze", "scadenze: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-success">
|
||||
<asp:Label ID="totPagatoLabel" runat="server" Text='<%# Eval("totPagato", "pagato: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-4 bg-warning">
|
||||
CONTRIBUTI
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-2">
|
||||
tipo:
|
||||
</div>
|
||||
<div class="col-xs-4 text-right">
|
||||
<asp:DropDownList runat="server" ID="dlTipo" DataSourceID="odsTipo" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("tipo") %>' Width="100%"></asp:DropDownList>
|
||||
</div>
|
||||
<div class="col-xs-2">
|
||||
data:
|
||||
</div>
|
||||
<div class="col-xs-4 text-right">
|
||||
<asp:TextBox ID="emessoTextBox" runat="server" Text='<%# Bind("emesso", "{0:yyyy-MM-dd}") %>' TextMode="Date" Width="100%" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-footer bg-info" style="margin-top: -15px;">
|
||||
<div class="row bg-info" style="margin-top: -10px; margin-bottom: -10px;">
|
||||
<div class="col-xs-4">
|
||||
<asp:Label ID="nettoLabel" runat="server" Text='<%# Eval("netto", "netto: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<asp:Label ID="ivaLabel" runat="server" Text='<%# Eval("iva", "iva: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<asp:Label ID="importoLabel" runat="server" Text='<%# Eval("importo", "importo: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-2">
|
||||
ritenuta:
|
||||
</div>
|
||||
<div class="col-xs-4 text-right">
|
||||
<asp:TextBox ID="ritenutaTextBox" runat="server" Text='<%# Bind("ritenuta","{0:N4}") %>' Width="4em" />
|
||||
</div>
|
||||
<div class="col-xs-2">
|
||||
pagam:
|
||||
</div>
|
||||
<div class="col-xs-4 text-right">
|
||||
<asp:Label ID="dataPagamLabel" runat="server" Text='<%# Eval("dataPagam", "{0:yyyy-MM-dd}") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6 text-danger">
|
||||
<asp:Label ID="totScadenzeLabel" runat="server" Text='<%# Eval("totScadenze", "scadenze: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-success">
|
||||
<asp:Label ID="totPagatoLabel" runat="server" Text='<%# Eval("totPagato", "pagato: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-4 bg-warning">
|
||||
CONTRIBUTI
|
||||
</div>
|
||||
</div>
|
||||
</InsertItemTemplate>
|
||||
<ItemTemplate>
|
||||
<div class="panel panel-info">
|
||||
<div class="panel-heading">
|
||||
<div class="row">
|
||||
<div class="col-xs-9 pRZero">
|
||||
<div>
|
||||
<asp:Label ID="RagSocLabel" runat="server" Text='<%# Bind("RagSoc","<b>{0}</b>") %>' />
|
||||
</div>
|
||||
<div style="font-size: 0.8em; font-style: italic;">
|
||||
<asp:Label ID="codCliLabel" runat="server" Text='<%# Bind("codCli"," ({0})") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-3 pLZero">
|
||||
<asp:LinkButton ID="ClonaButton" runat="server" CausesValidation="False" ToolTip="Clona/Copia" OnClick="ClonaButton_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("Sicuro di voler duplicare il documento?", "false") %>'><i class="fa fa-magic fa-2x text-black" aria-hidden="true"></i></asp:LinkButton>
|
||||
</div>
|
||||
<div class="panel-footer bg-info" style="margin-top: -15px;">
|
||||
<div class="row bg-info" style="margin-top: -10px; margin-bottom: -10px;">
|
||||
<div class="col-xs-4">
|
||||
<asp:Label ID="nettoLabel" runat="server" Text='<%# Eval("netto", "netto: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<asp:Label ID="ivaLabel" runat="server" Text='<%# Eval("iva", "iva: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<asp:Label ID="importoLabel" runat="server" Text='<%# Eval("importo", "importo: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</EditItemTemplate>
|
||||
<InsertItemTemplate>
|
||||
<div class="panel panel-info">
|
||||
<div class="panel-heading">
|
||||
<div class="row">
|
||||
<div class="col-xs-9">
|
||||
<asp:DropDownList runat="server" ID="dlidxCli" DataTextField="label" DataValueField="value" DataSourceID="odsCliente" AutoPostBack="True" SelectedValue='<%# Bind("idxCli") %>' Width="100%"></asp:DropDownList>
|
||||
</div>
|
||||
<div class="col-xs-3" style="text-wrap: avoid;">
|
||||
<asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" CommandName="Insert" Text="Insert"><i class="fa fa-check fa-2x text-success" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel" Text="Cancel"><i class="fa fa-ban fa-2x text-danger" aria-hidden="true"></i></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-body bg-default fontSmall" style="min-height: 34px; margin-top: -10px;">
|
||||
<div class="row">
|
||||
<div class="col-xs-8">
|
||||
<div class="row">
|
||||
<div class="col-xs-2">
|
||||
anno:
|
||||
</div>
|
||||
<div class="col-xs-4 text-right">
|
||||
<asp:TextBox ID="annoTextBox" runat="server" Text='<%# Bind("anno") %>' Width="4em" />
|
||||
</div>
|
||||
<div class="col-xs-2">
|
||||
num:
|
||||
</div>
|
||||
<div class="col-xs-4 text-right">
|
||||
<asp:TextBox ID="numTextBox" runat="server" Text='<%# Bind("num") %>' Width="4em" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-2">
|
||||
tipo:
|
||||
</div>
|
||||
<div class="col-xs-4 text-right">
|
||||
<asp:DropDownList runat="server" ID="dlTipo" DataSourceID="odsTipo" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("tipo") %>' Width="100%"></asp:DropDownList>
|
||||
</div>
|
||||
<div class="col-xs-2">
|
||||
data:
|
||||
</div>
|
||||
<div class="col-xs-4 text-right">
|
||||
<asp:TextBox ID="emessoTextBox" runat="server" Text='<%# Bind("emesso", "{0:yyyy-MM-dd}") %>' TextMode="Date" Width="100%" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-2">
|
||||
ritenuta:
|
||||
</div>
|
||||
<div class="col-xs-4 text-right">
|
||||
<asp:TextBox ID="ritenutaTextBox" runat="server" Text='<%# Bind("ritenuta","{0:N4}") %>' Width="4em" />
|
||||
</div>
|
||||
<div class="col-xs-2">
|
||||
pagam:
|
||||
</div>
|
||||
<div class="col-xs-4 text-right">
|
||||
<asp:Label ID="dataPagamLabel" runat="server" Text='<%# Eval("dataPagam", "{0:yyyy-MM-dd}") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6 text-danger">
|
||||
<asp:Label ID="totScadenzeLabel" runat="server" Text='<%# Eval("totScadenze", "scadenze: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-success">
|
||||
<asp:Label ID="totPagatoLabel" runat="server" Text='<%# Eval("totPagato", "pagato: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-4 bg-warning">
|
||||
CONTRIBUTI
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-footer bg-info" style="margin-top: -15px;">
|
||||
<div class="row bg-info" style="margin-top: -10px; margin-bottom: -10px;">
|
||||
<div class="col-xs-4">
|
||||
<asp:Label ID="nettoLabel" runat="server" Text='<%# Eval("netto", "netto: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<asp:Label ID="ivaLabel" runat="server" Text='<%# Eval("iva", "iva: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<asp:Label ID="importoLabel" runat="server" Text='<%# Eval("importo", "importo: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</InsertItemTemplate>
|
||||
<ItemTemplate>
|
||||
<div class="panel panel-info">
|
||||
<div class="panel-heading">
|
||||
<div class="row">
|
||||
<div class="col-xs-9 pRZero">
|
||||
<div>
|
||||
<asp:Label ID="RagSocLabel" runat="server" Text='<%# Bind("RagSoc","<b>{0}</b>") %>' />
|
||||
</div>
|
||||
<div style="font-size: 0.8em; font-style: italic;">
|
||||
<asp:Label ID="codCliLabel" runat="server" Text='<%# Bind("codCli"," ({0})") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-3 pLZero">
|
||||
<asp:LinkButton ID="ClonaButton" runat="server" CausesValidation="False" ToolTip="Clona/Copia" OnClick="ClonaButton_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("Sicuro di voler duplicare il documento?", "false") %>'><i class="fa fa-magic fa-2x text-black" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton ID="EditButton" runat="server" CausesValidation="False" CommandName="Edit" Text="Edit"><i class="fa fa-pencil-square fa-2x text-primary" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton ID="InsertButton" runat="server" CausesValidation="False" OnClick="InsertButton_Click"><i class="fa fa-plus-square fa-2x text-primary" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton ID="ChiudiButton" runat="server" CausesValidation="False" OnClick="ChiudiButton_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("Sicuro di voler forzare data pagamento del documento?", "false") %>'><i class="fa fa-minus-square fa-2x text-danger" aria-hidden="true"></i></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-body bg-default fontSmall" style="min-height: 34px; margin-top: -10px;">
|
||||
<div class="row">
|
||||
<div class="col-xs-8">
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<asp:Label ID="annoLabel" runat="server" Text='<%# Bind("anno","anno: <b>{0}</b>") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<asp:Label ID="numLabel" runat="server" Text='<%# Bind("num","num: <b>{0}</b>") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<asp:Label ID="tipoLabel" runat="server" Text='<%# Bind("tipo","tipo: <b>{0}</b>") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<asp:Label ID="emessoLabel" runat="server" Text='<%# Bind("emesso", "data <b>{0:yyyy.MM.dd}</b>") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<asp:Label ID="ritenutaLabel" runat="server" Text='<%# Bind("ritenuta","ritenuta: <b>{0:P2}</b>") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<asp:Label ID="dataPagamLabel" runat="server" Text='<%# Bind("dataPagam", "saldo: <b>{0:yyyy.MM.dd}</b>") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6 text-danger">
|
||||
<asp:Label ID="totScadenzeLabel" runat="server" Text='<%# Bind("totScadenze", "scadenze: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-success">
|
||||
<asp:Label ID="totPagatoLabel" runat="server" Text='<%# Bind("totPagato", "pagato: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-4 bg-warning">
|
||||
CONTRIBUTI
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-footer bg-info" style="margin-top: -15px;">
|
||||
<div class="row bg-info" style="margin-top: -10px; margin-bottom: -10px;">
|
||||
<div class="col-xs-4">
|
||||
<asp:Label ID="nettoLabel" runat="server" Text='<%# Bind("netto", "netto: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<asp:Label ID="ivaLabel" runat="server" Text='<%# Bind("iva", "iva: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<asp:Label ID="importoLabel" runat="server" Text='<%# Bind("importo", "importo: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</div>
|
||||
<div class="panel-body bg-default fontSmall" style="min-height: 34px; margin-top: -10px;">
|
||||
<div class="row">
|
||||
<div class="col-xs-8">
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<asp:Label ID="annoLabel" runat="server" Text='<%# Bind("anno","anno: <b>{0}</b>") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<asp:Label ID="numLabel" runat="server" Text='<%# Bind("num","num: <b>{0}</b>") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<asp:Label ID="tipoLabel" runat="server" Text='<%# Bind("tipo","tipo: <b>{0}</b>") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<asp:Label ID="emessoLabel" runat="server" Text='<%# Bind("emesso", "data <b>{0:yyyy.MM.dd}</b>") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<asp:Label ID="ritenutaLabel" runat="server" Text='<%# Bind("ritenuta","ritenuta: <b>{0:P2}</b>") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
<asp:Label ID="dataPagamLabel" runat="server" Text='<%# Bind("dataPagam", "saldo: <b>{0:yyyy.MM.dd}</b>") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6 text-danger">
|
||||
<asp:Label ID="totScadenzeLabel" runat="server" Text='<%# Bind("totScadenze", "scadenze: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-success">
|
||||
<asp:Label ID="totPagatoLabel" runat="server" Text='<%# Bind("totPagato", "pagato: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-4 bg-warning">
|
||||
CONTRIBUTI
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-footer bg-info" style="margin-top: -15px;">
|
||||
<div class="row bg-info" style="margin-top: -10px; margin-bottom: -10px;">
|
||||
<div class="col-xs-4">
|
||||
<asp:Label ID="nettoLabel" runat="server" Text='<%# Bind("netto", "netto: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<asp:Label ID="ivaLabel" runat="server" Text='<%# Bind("iva", "iva: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<asp:Label ID="importoLabel" runat="server" Text='<%# Bind("importo", "importo: <b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:FormView>
|
||||
<asp:ObjectDataSource runat="server" ID="odsTestata" OldValuesParameterFormatString="original_{0}" SelectMethod="getByKey" TypeName="SteamWare.DS_BillingTableAdapters.DocumentiTableAdapter" UpdateMethod="updateQuery" OnInserting="recuperaFooter" InsertMethod="insertQuery">
|
||||
<InsertParameters>
|
||||
<asp:Parameter Name="anno" Type="Int32" />
|
||||
<asp:Parameter Name="num" Type="Int32" />
|
||||
<asp:Parameter Name="idxCli" Type="Int32" />
|
||||
<asp:Parameter Name="tipo" Type="String" />
|
||||
<asp:Parameter Name="emesso" Type="DateTime" />
|
||||
<asp:Parameter Name="ritenuta" Type="Double" />
|
||||
</InsertParameters>
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="hfIdxDoc" DefaultValue="0" Name="idxDoc" PropertyName="Value" Type="Int32" />
|
||||
</SelectParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="Original_idxDoc" Type="Int32" />
|
||||
<asp:Parameter Name="anno" Type="Int32" />
|
||||
<asp:Parameter Name="num" Type="Int32" />
|
||||
<asp:Parameter Name="idxCli" Type="Int32" />
|
||||
<asp:Parameter Name="tipo" Type="String" />
|
||||
<asp:Parameter Name="emesso" Type="DateTime" />
|
||||
<asp:Parameter Name="ritenuta" Type="Double" />
|
||||
</UpdateParameters>
|
||||
<InsertParameters>
|
||||
<asp:Parameter Name="anno" Type="Int32" />
|
||||
<asp:Parameter Name="num" Type="Int32" />
|
||||
<asp:Parameter Name="idxCli" Type="Int32" />
|
||||
<asp:Parameter Name="tipo" Type="String" />
|
||||
<asp:Parameter Name="emesso" Type="DateTime" />
|
||||
<asp:Parameter Name="ritenuta" Type="Double" />
|
||||
</InsertParameters>
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="hfIdxDoc" DefaultValue="0" Name="idxDoc" PropertyName="Value" Type="Int32" />
|
||||
</SelectParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="Original_idxDoc" Type="Int32" />
|
||||
<asp:Parameter Name="anno" Type="Int32" />
|
||||
<asp:Parameter Name="num" Type="Int32" />
|
||||
<asp:Parameter Name="idxCli" Type="Int32" />
|
||||
<asp:Parameter Name="tipo" Type="String" />
|
||||
<asp:Parameter Name="emesso" Type="DateTime" />
|
||||
<asp:Parameter Name="ritenuta" Type="Double" />
|
||||
</UpdateParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:HiddenField runat="server" ID="hfIdxDoc" />
|
||||
<asp:ObjectDataSource runat="server" ID="odsCliente" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="SteamWare.DS_BillingTableAdapters.selCliTableAdapter"></asp:ObjectDataSource>
|
||||
<asp:ObjectDataSource runat="server" ID="odsTipo" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="SteamWare.DS_BillingTableAdapters.selTipoTableAdapter"></asp:ObjectDataSource>
|
||||
|
||||
<div class="panel panel-success">
|
||||
<div class="panel-heading">
|
||||
<div class="row">
|
||||
<div class="col-xs-10">
|
||||
Righe documento
|
||||
</div>
|
||||
<div class="col-xs-2" style="text-wrap: avoid;">
|
||||
<asp:LinkButton ID="lbtCopyClipb" runat="server" CausesValidation="False" ToolTip="Inserisci righe da clipboard" OnClick="lbtCopyClipb_Click"><i class="fa fa-arrow-circle-down fa-2x text-primary" aria-hidden="true"></i></asp:LinkButton>
|
||||
<div class="panel-heading">
|
||||
<div class="row">
|
||||
<div class="col-xs-10">
|
||||
Righe documento
|
||||
</div>
|
||||
<div class="col-xs-2" style="text-wrap: avoid;">
|
||||
<asp:LinkButton ID="lbtCopyClipb" runat="server" CausesValidation="False" ToolTip="Inserisci righe da clipboard" OnClick="lbtCopyClipb_Click"><i class="fa fa-arrow-circle-down fa-2x text-primary" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton ID="lbtAddNew" runat="server" CausesValidation="false" ToolTip="Nuova riga documento" OnClick="lbtAddNew_Click"><i class="fa fa-plus-square fa-2x text-success" aria-hidden="true"></i></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-body bg-default fontSmall" style="min-height: 34px; margin-top: -10px;">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<asp:GridView runat="server" ID="grView" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="Id" DataSourceID="odsRighe" Width="100%" OnSelectedIndexChanged="grView_SelectedIndexChanged" OnRowDeleted="grView_RowDeleted" OnRowUpdated="grView_RowUpdated">
|
||||
<Columns>
|
||||
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="54px">
|
||||
<ItemTemplate>
|
||||
<div>
|
||||
<asp:LinkButton ID="lnkSelect" runat="server" CausesValidation="False" CommandName="Select" ToolTip="Salva in clipboard"><i class="fa fa-arrow-circle-up fa-3x text-primary" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton ID="lnkEdit" runat="server" CausesValidation="False" CommandName="Edit" ToolTip="Modifica"><i class="fa fa-pencil-square fa-3x text-success" aria-hidden="true"></i></asp:LinkButton>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
<asp:LinkButton ID="lnkUpdate" runat="server" CausesValidation="False" CommandName="Update" ToolTip="Aggiorna"><i class="fa fa-check fa-3x text-success" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton ID="imgCancel" runat="server" CausesValidation="False" CommandName="Cancel" ToolTip="Annulla"><i class="fa fa-ban fa-3x text-danger" aria-hidden="true"></i></asp:LinkButton>
|
||||
</EditItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Descrizione" SortExpression="Descrizione">
|
||||
<EditItemTemplate>
|
||||
<div class="row mLZero mRZero bg-info">
|
||||
<div class="col-xs-12">
|
||||
<div class="row">
|
||||
<div class="col-xs-2 pRZero">
|
||||
Un.Mis:<br />
|
||||
<asp:TextBox ID="txtUm" runat="server" Text='<%# Bind("um") %>' Width="4em" />
|
||||
</div>
|
||||
<div class="col-xs-3 pRZero pLZero">
|
||||
Prezzo €/cad:<br />
|
||||
<asp:TextBox ID="txtPrezzoUm" runat="server" Text='<%# Bind("prezzoUm", "{0:N2}") %>' Width="8em" />
|
||||
</div>
|
||||
<div class="col-xs-2 pRZero pLZero">
|
||||
Quantità:<br />
|
||||
<asp:TextBox ID="txtQta" runat="server" Text='<%# Bind("qta","{0}") %>' Width="4em" />
|
||||
</div>
|
||||
<div class="col-xs-2 pRZero pLZero">
|
||||
Sconto:<br />
|
||||
<asp:TextBox ID="txtSconto" runat="server" Text='<%# Bind("sconto", "{0:N4}") %>' Width="4em" />
|
||||
</div>
|
||||
<div class="col-xs-3 pLZero">
|
||||
Iva:<br />
|
||||
<asp:DropDownList runat="server" ID="ddlIva" DataSourceID="odsIva" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("c_iva") %>' Width="10em"></asp:DropDownList>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<asp:TextBox ID="txtDescrizione" runat="server" Text='<%# Bind("Descrizione") %>' TextMode="MultiLine" Height="8em" Width="100%" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<div class="row mLZero mRZero">
|
||||
<div class="col-xs-7 pRZero">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 text-left bg-success">
|
||||
<asp:Label ID="lblUm" runat="server" Text='<%# Bind("um") %>' />
|
||||
<asp:Label ID="lblPrezzoUm" runat="server" Text='<%# Bind("prezzoUm", "<b>{0:C2}</b>") %>' />
|
||||
<asp:Label ID="lblQta" runat="server" Text='<%# Bind("qta"," x <b>{0}</b>") %>' />
|
||||
<asp:Label ID="lblSconto" runat="server" Text='<%# Bind("sconto", " (sconto: <b>{0:P2}</b>)") %>' />
|
||||
</div>
|
||||
<div class="col-xs-12">
|
||||
<asp:Label ID="lblDescrizione" runat="server" Text='<%# Bind("Descrizione") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-5 pLZero">
|
||||
<div class="row bg-success">
|
||||
<div class="col-xs-6 text-right">
|
||||
tot:
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<asp:Label ID="lblImporto" runat="server" Text='<%# Bind("importo","<b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6 text-right">
|
||||
importo:
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<asp:Label ID="lblNetto" runat="server" Text='<%# Bind("netto","<b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6 text-right">
|
||||
iva
|
||||
</div>
|
||||
<div class="panel-body bg-default fontSmall" style="min-height: 34px; margin-top: -10px;">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<asp:GridView runat="server" ID="grView" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="Id" DataSourceID="odsRighe" Width="100%" OnSelectedIndexChanged="grView_SelectedIndexChanged" OnRowDeleted="grView_RowDeleted" OnRowUpdated="grView_RowUpdated">
|
||||
<Columns>
|
||||
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="54px">
|
||||
<ItemTemplate>
|
||||
<div>
|
||||
<asp:LinkButton ID="lnkSelect" runat="server" CausesValidation="False" CommandName="Select" ToolTip="Salva in clipboard"><i class="fa fa-arrow-circle-up fa-3x text-primary" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton ID="lnkEdit" runat="server" CausesValidation="False" CommandName="Edit" ToolTip="Modifica"><i class="fa fa-pencil-square fa-3x text-success" aria-hidden="true"></i></asp:LinkButton>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
<asp:LinkButton ID="lnkUpdate" runat="server" CausesValidation="False" CommandName="Update" ToolTip="Aggiorna"><i class="fa fa-check fa-3x text-success" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton ID="imgCancel" runat="server" CausesValidation="False" CommandName="Cancel" ToolTip="Annulla"><i class="fa fa-ban fa-3x text-danger" aria-hidden="true"></i></asp:LinkButton>
|
||||
</EditItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Descrizione" SortExpression="Descrizione">
|
||||
<EditItemTemplate>
|
||||
<div class="row mLZero mRZero bg-info">
|
||||
<div class="col-xs-12">
|
||||
<div class="row">
|
||||
<div class="col-xs-2 pRZero">
|
||||
Un.Mis:<br />
|
||||
<asp:TextBox ID="txtUm" runat="server" Text='<%# Bind("um") %>' Width="4em" />
|
||||
</div>
|
||||
<div class="col-xs-3 pRZero pLZero">
|
||||
Prezzo €/cad:<br />
|
||||
<asp:TextBox ID="txtPrezzoUm" runat="server" Text='<%# Bind("prezzoUm", "{0:N2}") %>' Width="8em" />
|
||||
</div>
|
||||
<div class="col-xs-2 pRZero pLZero">
|
||||
Quantità:<br />
|
||||
<asp:TextBox ID="txtQta" runat="server" Text='<%# Bind("qta","{0}") %>' Width="4em" />
|
||||
</div>
|
||||
<div class="col-xs-2 pRZero pLZero">
|
||||
Sconto:<br />
|
||||
<asp:TextBox ID="txtSconto" runat="server" Text='<%# Bind("sconto", "{0:N4}") %>' Width="4em" />
|
||||
</div>
|
||||
<div class="col-xs-3 pLZero">
|
||||
Iva:<br />
|
||||
<asp:DropDownList runat="server" ID="ddlIva" DataSourceID="odsIva" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("c_iva") %>' Width="10em"></asp:DropDownList>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<asp:TextBox ID="txtDescrizione" runat="server" Text='<%# Bind("Descrizione") %>' TextMode="MultiLine" Height="8em" Width="100%" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<div class="row mLZero mRZero">
|
||||
<div class="col-xs-7 pRZero">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 text-left bg-success">
|
||||
<asp:Label ID="lblUm" runat="server" Text='<%# Bind("um") %>' />
|
||||
<asp:Label ID="lblPrezzoUm" runat="server" Text='<%# Bind("prezzoUm", "<b>{0:C2}</b>") %>' />
|
||||
<asp:Label ID="lblQta" runat="server" Text='<%# Bind("qta"," x <b>{0}</b>") %>' />
|
||||
<asp:Label ID="lblSconto" runat="server" Text='<%# Bind("sconto", " (sconto: <b>{0:P2}</b>)") %>' />
|
||||
</div>
|
||||
<div class="col-xs-12">
|
||||
<asp:Label ID="lblDescrizione" runat="server" Text='<%# Bind("Descrizione") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-5 pLZero">
|
||||
<div class="row bg-success">
|
||||
<div class="col-xs-6 text-right">
|
||||
tot:
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<asp:Label ID="lblImporto" runat="server" Text='<%# Bind("importo","<b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6 text-right">
|
||||
importo:
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<asp:Label ID="lblNetto" runat="server" Text='<%# Bind("netto","<b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6 text-right">
|
||||
iva
|
||||
<asp:Label ID="lblIva" runat="server" Text='<%# Bind("iva","<b>{0:P2}</b>:") %>' />
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<asp:Label ID="lblQuotaIva" runat="server" Text='<%# Bind("quotaIva","<b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="54px">
|
||||
<%--<HeaderTemplate>
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<asp:Label ID="lblQuotaIva" runat="server" Text='<%# Bind("quotaIva","<b>{0:C2}</b>") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="54px">
|
||||
<%--<HeaderTemplate>
|
||||
<asp:Button ID="btnNew" runat="server" OnClick="btnNew_Click" Visible="true" Text='<%# traduci("New") %>' />
|
||||
</HeaderTemplate>--%>
|
||||
<EditItemTemplate>
|
||||
<asp:LinkButton ID="lnkUpdate2" runat="server" CausesValidation="False" CommandName="Update" ToolTip='<%# traduci("Update")%>'><i class="fa fa-check fa-3x text-success" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton ID="imgCancel2" runat="server" CausesValidation="False" CommandName="Cancel" ToolTip='<%# traduci("Cancel") %>'><i class="fa fa-ban fa-3x text-danger" aria-hidden="true"></i></asp:LinkButton>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton ID="lnkDelete" runat="server" CausesValidation="False" CommandArgument='<%# Eval("Id") %>' CommandName="Delete" ToolTip="Delete" OnClientClick='<%# SteamWare.jsUtils.getCBE("Sicuro di voler eliminare il record?", "false") %>'><i class="fa fa-trash fa-3x text-success" aria-hidden="true"></i></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource runat="server" ID="odsRighe" OldValuesParameterFormatString="original_{0}" SelectMethod="getByIdxDoc" TypeName="SteamWare.DS_BillingTableAdapters.RigheTableAdapter" DeleteMethod="deleteQuery" UpdateMethod="updateQuery">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="Original_id" Type="Int32" />
|
||||
</DeleteParameters>
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="hfIdxDoc" DefaultValue="0" Name="idxDoc" PropertyName="Value" Type="Int32" />
|
||||
</SelectParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="Original_id" Type="Int32" />
|
||||
<asp:Parameter Name="Descrizione" Type="String" />
|
||||
<asp:Parameter Name="um" Type="String" />
|
||||
<asp:Parameter Name="prezzoUm" Type="Decimal" />
|
||||
<asp:Parameter Name="qta" Type="Single" />
|
||||
<asp:Parameter Name="sconto" Type="Single" />
|
||||
<asp:Parameter Name="c_iva" Type="Int32" />
|
||||
</UpdateParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
</div>
|
||||
<EditItemTemplate>
|
||||
<asp:LinkButton ID="lnkUpdate2" runat="server" CausesValidation="False" CommandName="Update" ToolTip='<%# traduci("Update")%>'><i class="fa fa-check fa-3x text-success" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton ID="imgCancel2" runat="server" CausesValidation="False" CommandName="Cancel" ToolTip='<%# traduci("Cancel") %>'><i class="fa fa-ban fa-3x text-danger" aria-hidden="true"></i></asp:LinkButton>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton ID="lnkDelete" runat="server" CausesValidation="False" CommandArgument='<%# Eval("Id") %>' CommandName="Delete" ToolTip="Delete" OnClientClick='<%# SteamWare.jsUtils.getCBE("Sicuro di voler eliminare il record?", "false") %>'><i class="fa fa-trash fa-3x text-success" aria-hidden="true"></i></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource runat="server" ID="odsRighe" OldValuesParameterFormatString="original_{0}" SelectMethod="getByIdxDoc" TypeName="SteamWare.DS_BillingTableAdapters.RigheTableAdapter" DeleteMethod="deleteQuery" UpdateMethod="updateQuery">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="Original_id" Type="Int32" />
|
||||
</DeleteParameters>
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="hfIdxDoc" DefaultValue="0" Name="idxDoc" PropertyName="Value" Type="Int32" />
|
||||
</SelectParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="Original_id" Type="Int32" />
|
||||
<asp:Parameter Name="Descrizione" Type="String" />
|
||||
<asp:Parameter Name="um" Type="String" />
|
||||
<asp:Parameter Name="prezzoUm" Type="Decimal" />
|
||||
<asp:Parameter Name="qta" Type="Single" />
|
||||
<asp:Parameter Name="sconto" Type="Single" />
|
||||
<asp:Parameter Name="c_iva" Type="Int32" />
|
||||
</UpdateParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
</div>
|
||||
<%--<div class="panel-footer panel-success bg-success" style="margin-top: -15px;">
|
||||
</div>
|
||||
<%--<div class="panel-footer panel-success bg-success" style="margin-top: -15px;">
|
||||
coda
|
||||
</div>--%>
|
||||
</div>
|
||||
@@ -429,21 +429,21 @@
|
||||
|
||||
|
||||
<div class="panel panel-warning">
|
||||
<div class="panel-heading">
|
||||
<div class="row">
|
||||
<div class="col-xs-10">
|
||||
Materiali/Servizi
|
||||
</div>
|
||||
<div class="col-xs-2" style="text-wrap: avoid;">
|
||||
<%--<asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" ToolTip="Inserisci righe da clipboard" OnClick="lbtCopyClipb_Click"><i class="fa fa-arrow-circle-down fa-2x text-primary" aria-hidden="true"></i></asp:LinkButton>
|
||||
<div class="panel-heading">
|
||||
<div class="row">
|
||||
<div class="col-xs-10">
|
||||
Materiali/Servizi
|
||||
</div>
|
||||
<div class="col-xs-2" style="text-wrap: avoid;">
|
||||
<%--<asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" ToolTip="Inserisci righe da clipboard" OnClick="lbtCopyClipb_Click"><i class="fa fa-arrow-circle-down fa-2x text-primary" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton ID="LinkButton2" runat="server" CausesValidation="false" ToolTip="Nuova riga documento" OnClick="lbtAddNew_Click"><i class="fa fa-plus-square fa-2x text-success" aria-hidden="true"></i></asp:LinkButton>--%>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-body bg-default fontSmall" style="min-height: 34px; margin-top: -10px;">
|
||||
elenco materiali da scaricare
|
||||
</div>
|
||||
<%--<div class="panel-footer panel-warning bg-warning" style="margin-top: -15px;">
|
||||
</div>
|
||||
<div class="panel-body bg-default fontSmall" style="min-height: 34px; margin-top: -10px;">
|
||||
elenco materiali da scaricare
|
||||
</div>
|
||||
<%--<div class="panel-footer panel-warning bg-warning" style="margin-top: -15px;">
|
||||
coda
|
||||
</div>--%>
|
||||
</div>
|
||||
|
||||
+35
-35
@@ -1,10 +1,10 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MedAP.WebUserControl {
|
||||
@@ -13,92 +13,92 @@ namespace MedAP.WebUserControl {
|
||||
public partial class mod_DocsDetail {
|
||||
|
||||
/// <summary>
|
||||
/// frmViewTestata control.
|
||||
/// Controllo frmViewTestata.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.FormView frmViewTestata;
|
||||
|
||||
/// <summary>
|
||||
/// odsTestata control.
|
||||
/// Controllo odsTestata.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsTestata;
|
||||
|
||||
/// <summary>
|
||||
/// hfIdxDoc control.
|
||||
/// Controllo hfIdxDoc.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfIdxDoc;
|
||||
|
||||
/// <summary>
|
||||
/// odsCliente control.
|
||||
/// Controllo odsCliente.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsCliente;
|
||||
|
||||
/// <summary>
|
||||
/// odsTipo control.
|
||||
/// Controllo odsTipo.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsTipo;
|
||||
|
||||
/// <summary>
|
||||
/// lbtCopyClipb control.
|
||||
/// Controllo lbtCopyClipb.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtCopyClipb;
|
||||
|
||||
/// <summary>
|
||||
/// lbtAddNew control.
|
||||
/// Controllo lbtAddNew.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtAddNew;
|
||||
|
||||
/// <summary>
|
||||
/// grView control.
|
||||
/// Controllo grView.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// odsRighe control.
|
||||
/// Controllo odsRighe.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsRighe;
|
||||
|
||||
/// <summary>
|
||||
/// odsIva control.
|
||||
/// Controllo odsIva.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsIva;
|
||||
}
|
||||
|
||||
@@ -4,62 +4,81 @@
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-8 col-xs-offset-2">
|
||||
<div class="col-xs-2">
|
||||
<asp:LinkButton runat="server" ID="btnAddCli" CssClass="btn btn-success" OnClick="btnAddCli_Click"><i class="fa fa-plus" aria-hidden="true"></i>
|
||||
<asp:Label runat="server" ID="lblBtnNew">NUOVO</asp:Label></asp:LinkButton>
|
||||
</div>
|
||||
<div class="col-xs-8">
|
||||
<uc1:mod_searchBase runat="server" ID="mod_searchBase" placeholderSearch="[R]icerca pazienti" searchKey="R" />
|
||||
</div>
|
||||
<div class="col-xs-2">
|
||||
<uc1:mod_righePag runat="server" id="mod_righePag"/>
|
||||
<uc1:mod_righePag runat="server" ID="mod_righePag" />
|
||||
</div>
|
||||
<div class="col-xs-12" id="divAddNew" runat="server" visible="false">
|
||||
dati x aggiungere...
|
||||
</div>
|
||||
<div class="col-xs-12">
|
||||
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataSourceID="ods" Width="100%" CssClass="table table-striped" AllowPaging="True" OnPageIndexChanged="grView_PageIndexChanged" DataKeyNames="idxCli" OnSelectedIndexChanged="grView_SelectedIndexChanged">
|
||||
<PagerStyle CssClass="active GridPager" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
<SelectedRowStyle CssClass="info" />
|
||||
<Columns>
|
||||
<asp:TemplateField>
|
||||
<HeaderTemplate>
|
||||
<asp:LinkButton ID="lbReset" runat="server" CssClass="btn btn-default btn-xs" OnClick="lbReset_Click" Visible="true"><i class="fa fa-refresh" aria-hidden="true"></i> RESET</asp:LinkButton>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<div class="text-left text-nowrap">
|
||||
<asp:LinkButton runat="server" ID="lbidxCli" CommandArgument='<%# Eval("idxCli") %>' CausesValidation="False" CommandName="Select" Text='<%# Eval("RagSoc","<b>{0}</b>") %>'>
|
||||
</asp:LinkButton>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<ItemStyle Width="15%" />
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="CF/pIva" SortExpression="P_iva">
|
||||
<EditItemTemplate>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<div class="text-left">
|
||||
PI:<asp:Label ID="lblPIva" runat="server" Text='<%# Eval("P_iva") %>' /><br />
|
||||
CF:<asp:Label ID="lblCFisc" runat="server" Text='<%# Eval("C_Fisc") %>' />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Nato" SortExpression="POBirth">
|
||||
<EditItemTemplate>
|
||||
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("POBirth") %>'></asp:TextBox>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<div class="text-left">
|
||||
<asp:Label ID="lblPOBirth" runat="server" Text='<%# Bind("POBirth") %>' /><br />
|
||||
<asp:Label ID="lblDOBirth" runat="server" Text='<%# Bind("DOBirth", "{0:dd/MM/yyyy}") %>' />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Localita" SortExpression="Località">
|
||||
<EditItemTemplate>
|
||||
<asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("Via") %>'></asp:TextBox>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<div class="text-left">
|
||||
via
|
||||
<asp:Label ID="lblVia" runat="server" Text='<%# Bind("Via") %>' /><br />
|
||||
<asp:Label ID="lblCap" runat="server" Text='<%# Bind("Cap") %>' />
|
||||
<asp:Label ID="lblLocalità" runat="server" Text='<%# Bind("Località") %>' />
|
||||
<asp:Label ID="lblProvincia" runat="server" Text='<%# Bind("Provincia","({0})") %>' /><br />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="Note" HeaderText="Note" SortExpression="Note" />
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" SelectMethod="ElencoClienti" TypeName="MedAP_data.MedAPModel" EnablePaging="True" SelectCountMethod="ElencoClientiCount" OldValuesParameterFormatString="original_{0}">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="mod_searchBase" DefaultValue="" Name="searchMe" PropertyName="searchVal" Type="String" />
|
||||
<asp:Parameter DefaultValue="0" Name="startRowIndex" Type="Int32" />
|
||||
<asp:ControlParameter ControlID="mod_righePag" DefaultValue="10" Name="maximumRows" PropertyName="numRowPag" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
</div>
|
||||
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataSourceID="ods" ForeColor="#333333" GridLines="None" Width="100%" CssClass="table table-striped" AllowPaging="True" OnPageIndexChanged="grView_PageIndexChanged">
|
||||
<PagerStyle CssClass="active GridPager" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
<SelectedRowStyle CssClass="info" />
|
||||
<Columns>
|
||||
<asp:TemplateField>
|
||||
<HeaderTemplate>
|
||||
<asp:LinkButton ID="lbReset" runat="server" CssClass="btn btn-default btn-xs" OnClick="lbReset_Click" Visible="true"><i class="fa fa-refresh" aria-hidden="true"></i> RESET</asp:LinkButton>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<div class="text-left">
|
||||
<asp:LinkButton runat="server" ID="lbidxCli" CommandArgument='<%# Eval("idxCli") %>' CausesValidation="False" CommandName="Select" Text='<%# Eval("RagSoc","<b>{0}</b>") %>'>
|
||||
</asp:LinkButton>
|
||||
<p style="font-size: 0.8em;">
|
||||
PI:<asp:Label ID="lblPIva" runat="server" Text='<%# Eval("P_iva") %>' /><br />
|
||||
CF:<asp:Label ID="lblCFisc" runat="server" Text='<%# Eval("C_Fisc") %>' />
|
||||
</p>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<ItemStyle Width="15%" />
|
||||
</asp:TemplateField>
|
||||
<%--<asp:BoundField DataField="idxCli" HeaderText="idxCli" SortExpression="idxCli" />--%>
|
||||
<asp:BoundField DataField="Sesso" HeaderText="Sesso" SortExpression="Sesso" />
|
||||
<asp:BoundField DataField="POBirth" HeaderText="POBirth" SortExpression="POBirth" />
|
||||
<asp:BoundField DataField="DOBirth" HeaderText="DOBirth" SortExpression="DOBirth" />
|
||||
<asp:BoundField DataField="Via" HeaderText="Via" SortExpression="Via" />
|
||||
<asp:BoundField DataField="Località" HeaderText="Località" SortExpression="Località" />
|
||||
<asp:BoundField DataField="Cap" HeaderText="Cap" SortExpression="Cap" />
|
||||
<asp:BoundField DataField="Provincia" HeaderText="Provincia" SortExpression="Provincia" />
|
||||
<%--<asp:BoundField DataField="Pagamento" HeaderText="Pagamento" SortExpression="Pagamento" />--%>
|
||||
<asp:BoundField DataField="Note" HeaderText="Note" SortExpression="Note" />
|
||||
<%--<asp:BoundField DataField="idxGruppo" HeaderText="idxGruppo" SortExpression="idxGruppo" />--%>
|
||||
</Columns>
|
||||
<%--<EditRowStyle BackColor="#2461BF" />
|
||||
<AlternatingRowStyle BackColor="White" />
|
||||
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
|
||||
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
|
||||
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
|
||||
<RowStyle BackColor="#EFF3FB" />
|
||||
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
|
||||
<SortedAscendingCellStyle BackColor="#F5F7FB" />
|
||||
<SortedAscendingHeaderStyle BackColor="#6D95E1" />
|
||||
<SortedDescendingCellStyle BackColor="#E9EBEF" />
|
||||
<SortedDescendingHeaderStyle BackColor="#4870BE" />--%>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" SelectMethod="ElencoClienti" TypeName="MedAP_data.MedAPModel" EnablePaging="True" SelectCountMethod="ElencoClientiCount" OldValuesParameterFormatString="original_{0}">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="mod_searchBase" DefaultValue="" Name="searchMe" PropertyName="searchVal" Type="String" />
|
||||
<asp:Parameter DefaultValue="0" Name="startRowIndex" Type="Int32" />
|
||||
<asp:ControlParameter ControlID="mod_righePag" DefaultValue="10" Name="maximumRows" PropertyName="numRowPag" Type="Int32" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using SteamWare;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
@@ -7,11 +8,11 @@ using System.Web.UI.WebControls;
|
||||
|
||||
namespace SHERPA.WebUserControl
|
||||
{
|
||||
public partial class mod_ElencoClienti : System.Web.UI.UserControl
|
||||
public partial class mod_ElencoClienti : SteamWare.UserControl
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if(!Page.IsPostBack)
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
mod_searchBase.searchVal = "";
|
||||
mod_righePag.numRowPag = 10;
|
||||
@@ -57,15 +58,42 @@ namespace SHERPA.WebUserControl
|
||||
/// </summary>
|
||||
public void resetSelezione()
|
||||
{
|
||||
//idxDoc = 0;
|
||||
grView.SelectedIndex = -1;
|
||||
grView.DataBind();
|
||||
//raiseEvent(ucEvType.Reset);
|
||||
raiseEvent(ucEvType.Reset);
|
||||
}
|
||||
|
||||
protected void grView_PageIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
grView.DataBind();
|
||||
}
|
||||
|
||||
protected void btnAddCli_Click(object sender, EventArgs e)
|
||||
{
|
||||
divAddNew.Visible = !divAddNew.Visible;
|
||||
if(divAddNew.Visible)
|
||||
{
|
||||
lblBtnNew.Text = "Nascondi";
|
||||
}
|
||||
else
|
||||
{
|
||||
lblBtnNew.Text = "NUOVO";
|
||||
}
|
||||
}
|
||||
|
||||
protected void grView_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
raiseEvent(ucEvType.Selected);
|
||||
}
|
||||
|
||||
public int idxCliSel
|
||||
{
|
||||
get
|
||||
{
|
||||
int answ = 0;
|
||||
int.TryParse(grView.SelectedValue.ToString(), out answ);
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -12,6 +12,24 @@ namespace SHERPA.WebUserControl {
|
||||
|
||||
public partial class mod_ElencoClienti {
|
||||
|
||||
/// <summary>
|
||||
/// Controllo btnAddCli.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton btnAddCli;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblBtnNew.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblBtnNew;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_searchBase.
|
||||
/// </summary>
|
||||
@@ -30,6 +48,15 @@ namespace SHERPA.WebUserControl {
|
||||
/// </remarks>
|
||||
protected global::SHERPA.WebUserControl.mod_righePag mod_righePag;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo divAddNew.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divAddNew;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo grView.
|
||||
/// </summary>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -873,3 +873,256 @@ System.InvalidCastException: Impossibile eseguire il cast di oggetti di tipo 'Sy
|
||||
16:16:08 3581 [LEMMA] - MODLANG
|
||||
16:16:08 3927 [LEMMA] - MODLANGEXPL
|
||||
16:16:08 4549 [INFO] - L'utente Locatelli Samuele (steamw\samuele) ha effettuato il login correttamente
|
||||
16:19:28 5683 [LEMMA] - ADMIN
|
||||
16:19:28 5708 [LEMMA] - ADMINICON
|
||||
16:19:28 5723 [LEMMA] - REVIEWTIMB
|
||||
16:19:28 5738 [LEMMA] - REVIEWTIMBEXPL
|
||||
16:19:28 5748 [LEMMA] - TIMBMENSILI
|
||||
16:19:28 5758 [LEMMA] - TIMBMENSILIEXPL
|
||||
16:19:28 5768 [LEMMA] - USERFUNC
|
||||
16:19:28 5778 [LEMMA] - USERFUNCEXPL
|
||||
16:19:28 5793 [LEMMA] - MODLANG
|
||||
16:19:28 5803 [LEMMA] - MODLANGEXPL
|
||||
16:19:28 5828 [INFO] - L'utente Locatelli Samuele (steamw\samuele) ha effettuato il login correttamente
|
||||
16:22:59 1928 [LEMMA] - ADMIN
|
||||
16:22:59 1953 [LEMMA] - ADMINICON
|
||||
16:22:59 1968 [LEMMA] - REVIEWTIMB
|
||||
16:22:59 1978 [LEMMA] - REVIEWTIMBEXPL
|
||||
16:22:59 1988 [LEMMA] - TIMBMENSILI
|
||||
16:22:59 2003 [LEMMA] - TIMBMENSILIEXPL
|
||||
16:22:59 2013 [LEMMA] - USERFUNC
|
||||
16:22:59 2023 [LEMMA] - USERFUNCEXPL
|
||||
16:22:59 2038 [LEMMA] - MODLANG
|
||||
16:22:59 2048 [LEMMA] - MODLANGEXPL
|
||||
16:22:59 2073 [INFO] - L'utente Locatelli Samuele (steamw\samuele) ha effettuato il login correttamente
|
||||
16:22:59 2203 [LEMMA] - ADMIN
|
||||
16:22:59 2214 [LEMMA] - ADMINICON
|
||||
16:22:59 2229 [LEMMA] - REVIEWTIMB
|
||||
16:22:59 2239 [LEMMA] - REVIEWTIMBEXPL
|
||||
16:22:59 2249 [LEMMA] - TIMBMENSILI
|
||||
16:22:59 2264 [LEMMA] - TIMBMENSILIEXPL
|
||||
16:22:59 2274 [LEMMA] - USERFUNC
|
||||
16:22:59 2284 [LEMMA] - USERFUNCEXPL
|
||||
16:22:59 2294 [LEMMA] - MODLANG
|
||||
16:22:59 2304 [LEMMA] - MODLANGEXPL
|
||||
16:22:59 2319 [INFO] - L'utente Locatelli Samuele (steamw\samuele) ha effettuato il login correttamente
|
||||
16:22:59 2495 [LEMMA] - ADMIN
|
||||
16:22:59 2510 [LEMMA] - ADMINICON
|
||||
16:22:59 2525 [LEMMA] - REVIEWTIMB
|
||||
16:22:59 2535 [LEMMA] - REVIEWTIMBEXPL
|
||||
16:22:59 2545 [LEMMA] - TIMBMENSILI
|
||||
16:22:59 2560 [LEMMA] - TIMBMENSILIEXPL
|
||||
16:22:59 2570 [LEMMA] - USERFUNC
|
||||
16:22:59 2585 [LEMMA] - USERFUNCEXPL
|
||||
16:22:59 2600 [LEMMA] - MODLANG
|
||||
16:22:59 2610 [LEMMA] - MODLANGEXPL
|
||||
16:22:59 2625 [INFO] - L'utente Locatelli Samuele (steamw\samuele) ha effettuato il login correttamente
|
||||
16:25:28 0492 [LEMMA] - ADMIN
|
||||
16:25:28 0517 [LEMMA] - ADMINICON
|
||||
16:25:28 0527 [LEMMA] - REVIEWTIMB
|
||||
16:25:28 0542 [LEMMA] - REVIEWTIMBEXPL
|
||||
16:25:28 0552 [LEMMA] - TIMBMENSILI
|
||||
16:25:28 0567 [LEMMA] - TIMBMENSILIEXPL
|
||||
16:25:28 0577 [LEMMA] - USERFUNC
|
||||
16:25:28 0587 [LEMMA] - USERFUNCEXPL
|
||||
16:25:28 0602 [LEMMA] - MODLANG
|
||||
16:25:28 0617 [LEMMA] - MODLANGEXPL
|
||||
16:25:28 0642 [INFO] - L'utente Locatelli Samuele (steamw\samuele) ha effettuato il login correttamente
|
||||
16:25:28 0767 [LEMMA] - ADMIN
|
||||
16:25:28 0782 [LEMMA] - ADMINICON
|
||||
16:25:28 0792 [LEMMA] - REVIEWTIMB
|
||||
16:25:28 0807 [LEMMA] - REVIEWTIMBEXPL
|
||||
16:25:28 0817 [LEMMA] - TIMBMENSILI
|
||||
16:25:28 0827 [LEMMA] - TIMBMENSILIEXPL
|
||||
16:25:28 0843 [LEMMA] - USERFUNC
|
||||
16:25:28 0853 [LEMMA] - USERFUNCEXPL
|
||||
16:25:28 0868 [LEMMA] - MODLANG
|
||||
16:25:28 0883 [LEMMA] - MODLANGEXPL
|
||||
16:25:28 0893 [INFO] - L'utente Locatelli Samuele (steamw\samuele) ha effettuato il login correttamente
|
||||
16:25:28 1088 [LEMMA] - ADMIN
|
||||
16:25:28 1103 [LEMMA] - ADMINICON
|
||||
16:25:28 1113 [LEMMA] - REVIEWTIMB
|
||||
16:25:28 1128 [LEMMA] - REVIEWTIMBEXPL
|
||||
16:25:28 1138 [LEMMA] - TIMBMENSILI
|
||||
16:25:28 1153 [LEMMA] - TIMBMENSILIEXPL
|
||||
16:25:28 1163 [LEMMA] - USERFUNC
|
||||
16:25:28 1178 [LEMMA] - USERFUNCEXPL
|
||||
16:25:28 1193 [LEMMA] - MODLANG
|
||||
16:25:28 1204 [LEMMA] - MODLANGEXPL
|
||||
16:25:28 1219 [INFO] - L'utente Locatelli Samuele (steamw\samuele) ha effettuato il login correttamente
|
||||
16:27:38 8803 [LEMMA] - ADMIN
|
||||
16:27:38 8828 [LEMMA] - ADMINICON
|
||||
16:27:38 8838 [LEMMA] - REVIEWTIMB
|
||||
16:27:38 8853 [LEMMA] - REVIEWTIMBEXPL
|
||||
16:27:38 8863 [LEMMA] - TIMBMENSILI
|
||||
16:27:38 8873 [LEMMA] - TIMBMENSILIEXPL
|
||||
16:27:38 8888 [LEMMA] - USERFUNC
|
||||
16:27:38 8898 [LEMMA] - USERFUNCEXPL
|
||||
16:27:38 8913 [LEMMA] - MODLANG
|
||||
16:27:38 8923 [LEMMA] - MODLANGEXPL
|
||||
16:27:38 8948 [INFO] - L'utente Locatelli Samuele (steamw\samuele) ha effettuato il login correttamente
|
||||
16:27:38 9114 [LEMMA] - ADMIN
|
||||
16:27:38 9129 [LEMMA] - ADMINICON
|
||||
16:27:38 9144 [LEMMA] - REVIEWTIMB
|
||||
16:27:38 9159 [LEMMA] - REVIEWTIMBEXPL
|
||||
16:27:38 9169 [LEMMA] - TIMBMENSILI
|
||||
16:27:38 9184 [LEMMA] - TIMBMENSILIEXPL
|
||||
16:27:38 9194 [LEMMA] - USERFUNC
|
||||
16:27:38 9209 [LEMMA] - USERFUNCEXPL
|
||||
16:27:38 9219 [LEMMA] - MODLANG
|
||||
16:27:38 9229 [LEMMA] - MODLANGEXPL
|
||||
16:27:38 9249 [INFO] - L'utente Locatelli Samuele (steamw\samuele) ha effettuato il login correttamente
|
||||
16:27:38 9545 [LEMMA] - ADMIN
|
||||
16:27:38 9560 [LEMMA] - ADMINICON
|
||||
16:27:38 9585 [LEMMA] - REVIEWTIMB
|
||||
16:27:38 9600 [LEMMA] - REVIEWTIMBEXPL
|
||||
16:27:38 9620 [LEMMA] - TIMBMENSILI
|
||||
16:27:38 9635 [LEMMA] - TIMBMENSILIEXPL
|
||||
16:27:38 9645 [LEMMA] - USERFUNC
|
||||
16:27:38 9660 [LEMMA] - USERFUNCEXPL
|
||||
16:27:38 9675 [LEMMA] - MODLANG
|
||||
16:27:38 9690 [LEMMA] - MODLANGEXPL
|
||||
16:27:38 9705 [INFO] - L'utente Locatelli Samuele (steamw\samuele) ha effettuato il login correttamente
|
||||
16:32:23 7719 [LEMMA] - ADMIN
|
||||
16:32:23 7739 [LEMMA] - ADMINICON
|
||||
16:32:23 7754 [LEMMA] - REVIEWTIMB
|
||||
16:32:23 7764 [LEMMA] - REVIEWTIMBEXPL
|
||||
16:32:23 7779 [LEMMA] - TIMBMENSILI
|
||||
16:32:23 7789 [LEMMA] - TIMBMENSILIEXPL
|
||||
16:32:23 7804 [LEMMA] - USERFUNC
|
||||
16:32:23 7814 [LEMMA] - USERFUNCEXPL
|
||||
16:32:23 7829 [LEMMA] - MODLANG
|
||||
16:32:23 7839 [LEMMA] - MODLANGEXPL
|
||||
16:32:23 7864 [INFO] - L'utente Locatelli Samuele (steamw\samuele) ha effettuato il login correttamente
|
||||
16:32:23 8000 [LEMMA] - ADMIN
|
||||
16:32:23 8010 [LEMMA] - ADMINICON
|
||||
16:32:23 8025 [LEMMA] - REVIEWTIMB
|
||||
16:32:23 8040 [LEMMA] - REVIEWTIMBEXPL
|
||||
16:32:23 8050 [LEMMA] - TIMBMENSILI
|
||||
16:32:23 8060 [LEMMA] - TIMBMENSILIEXPL
|
||||
16:32:23 8070 [LEMMA] - USERFUNC
|
||||
16:32:23 8085 [LEMMA] - USERFUNCEXPL
|
||||
16:32:23 8095 [LEMMA] - MODLANG
|
||||
16:32:23 8105 [LEMMA] - MODLANGEXPL
|
||||
16:32:23 8120 [INFO] - L'utente Locatelli Samuele (steamw\samuele) ha effettuato il login correttamente
|
||||
16:32:23 8310 [LEMMA] - ADMIN
|
||||
16:32:23 8320 [LEMMA] - ADMINICON
|
||||
16:32:23 8341 [LEMMA] - REVIEWTIMB
|
||||
16:32:23 8351 [LEMMA] - REVIEWTIMBEXPL
|
||||
16:32:23 8366 [LEMMA] - TIMBMENSILI
|
||||
16:32:23 8376 [LEMMA] - TIMBMENSILIEXPL
|
||||
16:32:23 8386 [LEMMA] - USERFUNC
|
||||
16:32:23 8401 [LEMMA] - USERFUNCEXPL
|
||||
16:32:23 8411 [LEMMA] - MODLANG
|
||||
16:32:23 8421 [LEMMA] - MODLANGEXPL
|
||||
16:32:23 8436 [INFO] - L'utente Locatelli Samuele (steamw\samuele) ha effettuato il login correttamente
|
||||
16:33:18 0336 [LEMMA] - ADMIN
|
||||
16:33:18 0356 [LEMMA] - ADMINICON
|
||||
16:33:18 0371 [LEMMA] - REVIEWTIMB
|
||||
16:33:18 0391 [LEMMA] - REVIEWTIMBEXPL
|
||||
16:33:18 0401 [LEMMA] - TIMBMENSILI
|
||||
16:33:18 0416 [LEMMA] - TIMBMENSILIEXPL
|
||||
16:33:18 0426 [LEMMA] - USERFUNC
|
||||
16:33:18 0436 [LEMMA] - USERFUNCEXPL
|
||||
16:33:18 0451 [LEMMA] - MODLANG
|
||||
16:33:18 0461 [LEMMA] - MODLANGEXPL
|
||||
16:33:18 0491 [INFO] - L'utente Locatelli Samuele (steamw\samuele) ha effettuato il login correttamente
|
||||
16:33:18 0622 [LEMMA] - ADMIN
|
||||
16:33:18 0632 [LEMMA] - ADMINICON
|
||||
16:33:18 0647 [LEMMA] - REVIEWTIMB
|
||||
16:33:18 0657 [LEMMA] - REVIEWTIMBEXPL
|
||||
16:33:18 0672 [LEMMA] - TIMBMENSILI
|
||||
16:33:18 0682 [LEMMA] - TIMBMENSILIEXPL
|
||||
16:33:18 0697 [LEMMA] - USERFUNC
|
||||
16:33:18 0712 [LEMMA] - USERFUNCEXPL
|
||||
16:33:18 0722 [LEMMA] - MODLANG
|
||||
16:33:18 0747 [LEMMA] - MODLANGEXPL
|
||||
16:33:18 0762 [INFO] - L'utente Locatelli Samuele (steamw\samuele) ha effettuato il login correttamente
|
||||
16:33:18 0953 [LEMMA] - ADMIN
|
||||
16:33:18 0968 [LEMMA] - ADMINICON
|
||||
16:33:18 0988 [LEMMA] - REVIEWTIMB
|
||||
16:33:18 0998 [LEMMA] - REVIEWTIMBEXPL
|
||||
16:33:18 1013 [LEMMA] - TIMBMENSILI
|
||||
16:33:18 1028 [LEMMA] - TIMBMENSILIEXPL
|
||||
16:33:18 1043 [LEMMA] - USERFUNC
|
||||
16:33:18 1053 [LEMMA] - USERFUNCEXPL
|
||||
16:33:18 1068 [LEMMA] - MODLANG
|
||||
16:33:18 1078 [LEMMA] - MODLANGEXPL
|
||||
16:33:18 1098 [INFO] - L'utente Locatelli Samuele (steamw\samuele) ha effettuato il login correttamente
|
||||
16:35:21 4074 [LEMMA] - ADMIN
|
||||
16:35:21 4099 [LEMMA] - ADMINICON
|
||||
16:35:21 4114 [LEMMA] - REVIEWTIMB
|
||||
16:35:21 4129 [LEMMA] - REVIEWTIMBEXPL
|
||||
16:35:21 4140 [LEMMA] - TIMBMENSILI
|
||||
16:35:21 4150 [LEMMA] - TIMBMENSILIEXPL
|
||||
16:35:21 4165 [LEMMA] - USERFUNC
|
||||
16:35:21 4175 [LEMMA] - USERFUNCEXPL
|
||||
16:35:21 4190 [LEMMA] - MODLANG
|
||||
16:35:21 4205 [LEMMA] - MODLANGEXPL
|
||||
16:35:21 4230 [INFO] - L'utente Locatelli Samuele (steamw\samuele) ha effettuato il login correttamente
|
||||
16:50:55 1081 [LEMMA] - ADMIN
|
||||
16:50:55 1106 [LEMMA] - ADMINICON
|
||||
16:50:55 1122 [LEMMA] - REVIEWTIMB
|
||||
16:50:55 1132 [LEMMA] - REVIEWTIMBEXPL
|
||||
16:50:55 1147 [LEMMA] - TIMBMENSILI
|
||||
16:50:55 1157 [LEMMA] - TIMBMENSILIEXPL
|
||||
16:50:55 1172 [LEMMA] - USERFUNC
|
||||
16:50:55 1182 [LEMMA] - USERFUNCEXPL
|
||||
16:50:55 1197 [LEMMA] - MODLANG
|
||||
16:50:55 1207 [LEMMA] - MODLANGEXPL
|
||||
16:50:55 1232 [INFO] - L'utente Locatelli Samuele (steamw\samuele) ha effettuato il login correttamente
|
||||
16:51:32 7459 [LEMMA] - ADMIN
|
||||
16:51:32 7981 [LEMMA] - ADMINICON
|
||||
16:51:32 8392 [LEMMA] - REVIEWTIMB
|
||||
16:51:32 8989 [LEMMA] - REVIEWTIMBEXPL
|
||||
16:51:32 9295 [LEMMA] - TIMBMENSILI
|
||||
16:51:32 9756 [LEMMA] - TIMBMENSILIEXPL
|
||||
16:51:33 0072 [LEMMA] - USERFUNC
|
||||
16:51:33 0638 [LEMMA] - USERFUNCEXPL
|
||||
16:51:33 1045 [LEMMA] - MODLANG
|
||||
16:51:33 1441 [LEMMA] - MODLANGEXPL
|
||||
16:51:33 2108 [INFO] - L'utente Locatelli Samuele (steamw\samuele) ha effettuato il login correttamente
|
||||
16:55:15 6325 [LEMMA] - ADMIN
|
||||
16:55:15 6356 [LEMMA] - ADMINICON
|
||||
16:55:15 6371 [LEMMA] - REVIEWTIMB
|
||||
16:55:15 6386 [LEMMA] - REVIEWTIMBEXPL
|
||||
16:55:15 6396 [LEMMA] - TIMBMENSILI
|
||||
16:55:15 6411 [LEMMA] - TIMBMENSILIEXPL
|
||||
16:55:15 6421 [LEMMA] - USERFUNC
|
||||
16:55:15 6436 [LEMMA] - USERFUNCEXPL
|
||||
16:55:15 6456 [LEMMA] - MODLANG
|
||||
16:55:15 6471 [LEMMA] - MODLANGEXPL
|
||||
16:55:15 6496 [INFO] - L'utente Locatelli Samuele (steamw\samuele) ha effettuato il login correttamente
|
||||
16:59:12 6301 [LEMMA] - ADMIN
|
||||
16:59:12 6321 [LEMMA] - ADMINICON
|
||||
16:59:12 6336 [LEMMA] - REVIEWTIMB
|
||||
16:59:12 6351 [LEMMA] - REVIEWTIMBEXPL
|
||||
16:59:12 6361 [LEMMA] - TIMBMENSILI
|
||||
16:59:12 6376 [LEMMA] - TIMBMENSILIEXPL
|
||||
16:59:12 6386 [LEMMA] - USERFUNC
|
||||
16:59:12 6401 [LEMMA] - USERFUNCEXPL
|
||||
16:59:12 6416 [LEMMA] - MODLANG
|
||||
16:59:12 6426 [LEMMA] - MODLANGEXPL
|
||||
16:59:12 6456 [INFO] - L'utente Locatelli Samuele (steamw\samuele) ha effettuato il login correttamente
|
||||
17:20:53 8826 [LEMMA] - ADMIN
|
||||
17:20:53 8851 [LEMMA] - ADMINICON
|
||||
17:20:53 8861 [LEMMA] - REVIEWTIMB
|
||||
17:20:53 8876 [LEMMA] - REVIEWTIMBEXPL
|
||||
17:20:53 8886 [LEMMA] - TIMBMENSILI
|
||||
17:20:53 8901 [LEMMA] - TIMBMENSILIEXPL
|
||||
17:20:53 8911 [LEMMA] - USERFUNC
|
||||
17:20:53 8921 [LEMMA] - USERFUNCEXPL
|
||||
17:20:53 8936 [LEMMA] - MODLANG
|
||||
17:20:53 8947 [LEMMA] - MODLANGEXPL
|
||||
17:20:53 8972 [INFO] - L'utente Locatelli Samuele (steamw\samuele) ha effettuato il login correttamente
|
||||
17:27:17 1394 [LEMMA] - ADMIN
|
||||
17:27:17 1419 [LEMMA] - ADMINICON
|
||||
17:27:17 1439 [LEMMA] - REVIEWTIMB
|
||||
17:27:17 1459 [LEMMA] - REVIEWTIMBEXPL
|
||||
17:27:17 1474 [LEMMA] - TIMBMENSILI
|
||||
17:27:17 1484 [LEMMA] - TIMBMENSILIEXPL
|
||||
17:27:17 1499 [LEMMA] - USERFUNC
|
||||
17:27:17 1509 [LEMMA] - USERFUNCEXPL
|
||||
17:27:17 1524 [LEMMA] - MODLANG
|
||||
17:27:17 1539 [LEMMA] - MODLANGEXPL
|
||||
17:27:17 1569 [INFO] - L'utente Locatelli Samuele (steamw\samuele) ha effettuato il login correttamente
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -53,5 +53,6 @@ namespace MedAP_data
|
||||
public virtual DbSet<UTENTE> UTENTE { get; set; }
|
||||
public virtual DbSet<Vocabolario> Vocabolario { get; set; }
|
||||
public virtual DbSet<Anagr_righe_voci_fatt> Anagr_righe_voci_fatt { get; set; }
|
||||
public virtual DbSet<Documenti> Documenti { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -305,6 +305,45 @@ avviso 6002: Nessuna chiave primaria definita per la tabella/visualizzazione 'Me
|
||||
<Property Name="Lemma" Type="nvarchar" MaxLength="50" Nullable="false" />
|
||||
<Property Name="Traduzione" Type="nvarchar" MaxLength="500" Nullable="false" />
|
||||
</EntityType>
|
||||
<!--Errori trovati durante la generazione:
|
||||
avviso 6002: Nessuna chiave primaria definita per la tabella/visualizzazione 'MedAP.dbo.v_docsExpl'. La chiave è stata dedotta e la definizione è stata creata come tabella/visualizzazione di sola lettura.-->
|
||||
<EntityType Name="v_docsExpl">
|
||||
<Key>
|
||||
<PropertyRef Name="idxDoc" />
|
||||
<PropertyRef Name="Gruppo" />
|
||||
<PropertyRef Name="RagSoc" />
|
||||
<PropertyRef Name="num" />
|
||||
<PropertyRef Name="anno" />
|
||||
<PropertyRef Name="netto" />
|
||||
<PropertyRef Name="iva" />
|
||||
<PropertyRef Name="importo" />
|
||||
<PropertyRef Name="tipo" />
|
||||
<PropertyRef Name="idxCli" />
|
||||
<PropertyRef Name="totPagato" />
|
||||
<PropertyRef Name="totScadenze" />
|
||||
<PropertyRef Name="Descrizione" />
|
||||
<PropertyRef Name="ritenuta" />
|
||||
<PropertyRef Name="CostiAss" />
|
||||
</Key>
|
||||
<Property Name="idxDoc" Type="int" Nullable="false" />
|
||||
<Property Name="emesso" Type="date" />
|
||||
<Property Name="Gruppo" Type="nvarchar" MaxLength="50" Nullable="false" />
|
||||
<Property Name="RagSoc" Type="nvarchar" MaxLength="50" Nullable="false" />
|
||||
<Property Name="num" Type="int" Nullable="false" />
|
||||
<Property Name="anno" Type="int" Nullable="false" />
|
||||
<Property Name="Trim" Type="int" />
|
||||
<Property Name="Mese" Type="int" />
|
||||
<Property Name="netto" Type="decimal" Precision="9" Scale="2" Nullable="false" />
|
||||
<Property Name="iva" Type="decimal" Precision="9" Scale="2" Nullable="false" />
|
||||
<Property Name="importo" Type="decimal" Precision="9" Scale="2" Nullable="false" />
|
||||
<Property Name="tipo" Type="nvarchar" MaxLength="50" Nullable="false" />
|
||||
<Property Name="idxCli" Type="int" Nullable="false" />
|
||||
<Property Name="totPagato" Type="money" Nullable="false" />
|
||||
<Property Name="totScadenze" Type="money" Nullable="false" />
|
||||
<Property Name="Descrizione" Type="nvarchar(max)" Nullable="false" />
|
||||
<Property Name="ritenuta" Type="float" Nullable="false" />
|
||||
<Property Name="CostiAss" Type="money" Nullable="false" />
|
||||
</EntityType>
|
||||
<Association Name="anagr_elem_doc${EF6530B8-621C-4A01-B6E9-82278E2DA243}">
|
||||
<End Role="Anagr_tipo_elem" Type="Self.Anagr_tipo_elem" Multiplicity="0..1" />
|
||||
<End Role="Anagr_elem_doc" Type="Self.Anagr_elem_doc" Multiplicity="*" />
|
||||
@@ -524,6 +563,28 @@ avviso 6002: Nessuna chiave primaria definita per la tabella/visualizzazione 'Me
|
||||
[Anagr_righe_voci_fatt].[iva] AS [iva],
|
||||
[Anagr_righe_voci_fatt].[no_ritenuta] AS [no_ritenuta]
|
||||
FROM [dbo].[Anagr_righe_voci_fatt] AS [Anagr_righe_voci_fatt]</DefiningQuery>
|
||||
</EntitySet>
|
||||
<EntitySet Name="v_docsExpl" EntityType="Self.v_docsExpl" store:Type="Views" store:Schema="dbo">
|
||||
<DefiningQuery>SELECT
|
||||
[v_docsExpl].[idxDoc] AS [idxDoc],
|
||||
[v_docsExpl].[emesso] AS [emesso],
|
||||
[v_docsExpl].[Gruppo] AS [Gruppo],
|
||||
[v_docsExpl].[RagSoc] AS [RagSoc],
|
||||
[v_docsExpl].[num] AS [num],
|
||||
[v_docsExpl].[anno] AS [anno],
|
||||
[v_docsExpl].[Trim] AS [Trim],
|
||||
[v_docsExpl].[Mese] AS [Mese],
|
||||
[v_docsExpl].[netto] AS [netto],
|
||||
[v_docsExpl].[iva] AS [iva],
|
||||
[v_docsExpl].[importo] AS [importo],
|
||||
[v_docsExpl].[tipo] AS [tipo],
|
||||
[v_docsExpl].[idxCli] AS [idxCli],
|
||||
[v_docsExpl].[totPagato] AS [totPagato],
|
||||
[v_docsExpl].[totScadenze] AS [totScadenze],
|
||||
[v_docsExpl].[Descrizione] AS [Descrizione],
|
||||
[v_docsExpl].[ritenuta] AS [ritenuta],
|
||||
[v_docsExpl].[CostiAss] AS [CostiAss]
|
||||
FROM [dbo].[v_docsExpl] AS [v_docsExpl]</DefiningQuery>
|
||||
</EntitySet>
|
||||
<AssociationSet Name="anagr_elem_doc${EF6530B8-621C-4A01-B6E9-82278E2DA243}" Association="Self.anagr_elem_doc${EF6530B8-621C-4A01-B6E9-82278E2DA243}">
|
||||
<End Role="Anagr_tipo_elem" EntitySet="Anagr_tipo_elem" />
|
||||
@@ -1187,7 +1248,45 @@ avviso 6002: Nessuna chiave primaria definita per la tabella/visualizzazione 'Me
|
||||
<End Role="Permessi" EntitySet="Permessi" />
|
||||
<End Role="Permessi2Funzione" EntitySet="Permessi2Funzione" />
|
||||
</AssociationSet>
|
||||
<EntitySet Name="Documenti" EntityType="MAPModel.Documenti" />
|
||||
</EntityContainer>
|
||||
<EntityType Name="Documenti">
|
||||
<Key>
|
||||
<PropertyRef Name="idxDoc" />
|
||||
<PropertyRef Name="Gruppo" />
|
||||
<PropertyRef Name="RagSoc" />
|
||||
<PropertyRef Name="num" />
|
||||
<PropertyRef Name="anno" />
|
||||
<PropertyRef Name="netto" />
|
||||
<PropertyRef Name="iva" />
|
||||
<PropertyRef Name="importo" />
|
||||
<PropertyRef Name="tipo" />
|
||||
<PropertyRef Name="idxCli" />
|
||||
<PropertyRef Name="totPagato" />
|
||||
<PropertyRef Name="totScadenze" />
|
||||
<PropertyRef Name="Descrizione" />
|
||||
<PropertyRef Name="ritenuta" />
|
||||
<PropertyRef Name="CostiAss" />
|
||||
</Key>
|
||||
<Property Name="idxDoc" Type="Int32" Nullable="false" />
|
||||
<Property Name="emesso" Type="DateTime" Precision="0" />
|
||||
<Property Name="Gruppo" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
||||
<Property Name="RagSoc" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
||||
<Property Name="num" Type="Int32" Nullable="false" />
|
||||
<Property Name="anno" Type="Int32" Nullable="false" />
|
||||
<Property Name="Trim" Type="Int32" />
|
||||
<Property Name="Mese" Type="Int32" />
|
||||
<Property Name="netto" Type="Decimal" Nullable="false" Precision="9" Scale="2" />
|
||||
<Property Name="iva" Type="Decimal" Nullable="false" Precision="9" Scale="2" />
|
||||
<Property Name="importo" Type="Decimal" Nullable="false" Precision="9" Scale="2" />
|
||||
<Property Name="tipo" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
||||
<Property Name="idxCli" Type="Int32" Nullable="false" />
|
||||
<Property Name="totPagato" Type="Decimal" Nullable="false" Precision="19" Scale="4" />
|
||||
<Property Name="totScadenze" Type="Decimal" Nullable="false" Precision="19" Scale="4" />
|
||||
<Property Name="Descrizione" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
|
||||
<Property Name="ritenuta" Type="Double" Nullable="false" />
|
||||
<Property Name="CostiAss" Type="Decimal" Nullable="false" Precision="19" Scale="4" />
|
||||
</EntityType>
|
||||
</Schema>
|
||||
</edmx:ConceptualModels>
|
||||
<!-- C-S mapping content -->
|
||||
@@ -1510,6 +1609,30 @@ avviso 6002: Nessuna chiave primaria definita per la tabella/visualizzazione 'Me
|
||||
</MappingFragment>
|
||||
</EntityTypeMapping>
|
||||
</EntitySetMapping>
|
||||
<EntitySetMapping Name="Documenti">
|
||||
<EntityTypeMapping TypeName="MAPModel.Documenti">
|
||||
<MappingFragment StoreEntitySet="v_docsExpl">
|
||||
<ScalarProperty Name="CostiAss" ColumnName="CostiAss" />
|
||||
<ScalarProperty Name="ritenuta" ColumnName="ritenuta" />
|
||||
<ScalarProperty Name="Descrizione" ColumnName="Descrizione" />
|
||||
<ScalarProperty Name="totScadenze" ColumnName="totScadenze" />
|
||||
<ScalarProperty Name="totPagato" ColumnName="totPagato" />
|
||||
<ScalarProperty Name="idxCli" ColumnName="idxCli" />
|
||||
<ScalarProperty Name="tipo" ColumnName="tipo" />
|
||||
<ScalarProperty Name="importo" ColumnName="importo" />
|
||||
<ScalarProperty Name="iva" ColumnName="iva" />
|
||||
<ScalarProperty Name="netto" ColumnName="netto" />
|
||||
<ScalarProperty Name="Mese" ColumnName="Mese" />
|
||||
<ScalarProperty Name="Trim" ColumnName="Trim" />
|
||||
<ScalarProperty Name="anno" ColumnName="anno" />
|
||||
<ScalarProperty Name="num" ColumnName="num" />
|
||||
<ScalarProperty Name="RagSoc" ColumnName="RagSoc" />
|
||||
<ScalarProperty Name="Gruppo" ColumnName="Gruppo" />
|
||||
<ScalarProperty Name="emesso" ColumnName="emesso" />
|
||||
<ScalarProperty Name="idxDoc" ColumnName="idxDoc" />
|
||||
</MappingFragment>
|
||||
</EntityTypeMapping>
|
||||
</EntitySetMapping>
|
||||
</EntityContainerMapping>
|
||||
</Mapping>
|
||||
</edmx:Mappings>
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
<AssociationConnector Association="MAPModel.FK_Scadenze_Fatture" ManuallyRouted="false" />
|
||||
<AssociationConnector Association="MAPModel.FK_Vocabolario_Lingue" ManuallyRouted="false" />
|
||||
<AssociationConnector Association="MAPModel.FK_Permessi2Funzione_Permessi" ManuallyRouted="false" />
|
||||
<EntityTypeShape EntityType="MAPModel.Documenti" Width="1.5" PointX="12.375" PointY="16.75" />
|
||||
</Diagram>
|
||||
</edmx:Diagrams>
|
||||
</edmx:Designer>
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Codice generato da un modello.
|
||||
//
|
||||
// Le modifiche manuali a questo file potrebbero causare un comportamento imprevisto dell'applicazione.
|
||||
// Se il codice viene rigenerato, le modifiche manuali al file verranno sovrascritte.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MedAP_data
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
public partial class Documenti
|
||||
{
|
||||
public int idxDoc { get; set; }
|
||||
public Nullable<System.DateTime> emesso { get; set; }
|
||||
public string Gruppo { get; set; }
|
||||
public string RagSoc { get; set; }
|
||||
public int num { get; set; }
|
||||
public int anno { get; set; }
|
||||
public Nullable<int> Trim { get; set; }
|
||||
public Nullable<int> Mese { get; set; }
|
||||
public decimal netto { get; set; }
|
||||
public decimal iva { get; set; }
|
||||
public decimal importo { get; set; }
|
||||
public string tipo { get; set; }
|
||||
public int idxCli { get; set; }
|
||||
public decimal totPagato { get; set; }
|
||||
public decimal totScadenze { get; set; }
|
||||
public string Descrizione { get; set; }
|
||||
public double ritenuta { get; set; }
|
||||
public decimal CostiAss { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -8,7 +8,11 @@ namespace MedAP_data
|
||||
{
|
||||
public class MedAPModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gestione contesto dati
|
||||
/// </summary>
|
||||
static MAPEntities ctx = new MAPEntities();
|
||||
|
||||
/// <summary>
|
||||
/// elenco completo
|
||||
/// </summary>
|
||||
@@ -58,5 +62,57 @@ namespace MedAP_data
|
||||
}
|
||||
return query.Count();
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// elenco completo
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static IEnumerable<Documenti> ElencoDocumenti()
|
||||
{
|
||||
return ElencoDocumenti("", 0, 10);
|
||||
}
|
||||
/// <summary>
|
||||
/// elenco filtrato da parametro ricerca
|
||||
/// </summary>
|
||||
/// <param name="searchMe"></param>
|
||||
/// <param name="startRowIndex"></param>
|
||||
/// <param name="maximumRows"></param>
|
||||
/// <returns></returns>
|
||||
public static IEnumerable<Documenti> ElencoDocumenti(string searchMe, int startRowIndex, int maximumRows)
|
||||
{
|
||||
IQueryable<Documenti> query;
|
||||
if (searchMe != "" && searchMe != null)
|
||||
{
|
||||
query = ctx.Documenti.Where(s => s.RagSoc.Contains(searchMe) || s.Descrizione.Contains(searchMe));
|
||||
}
|
||||
else
|
||||
{
|
||||
query = ctx.Documenti;
|
||||
}
|
||||
var result = from r in query.OrderBy(s => s.RagSoc).Skip(startRowIndex).Take(maximumRows) select r;
|
||||
return result;
|
||||
}
|
||||
/// <summary>
|
||||
/// elenco filtrato da parametro ricerca
|
||||
/// </summary>
|
||||
/// <param name="searchMe"></param>
|
||||
/// <param name="startRowIndex"></param>
|
||||
/// <param name="maximumRows"></param>
|
||||
/// <returns></returns>
|
||||
public static int ElencoDocumentiCount(string searchMe, int startRowIndex, int maximumRows)
|
||||
{
|
||||
IQueryable<Documenti> query;
|
||||
if (searchMe != "" && searchMe != null)
|
||||
{
|
||||
query = ctx.Documenti.Where(s => s.RagSoc.Contains(searchMe) || s.Descrizione.Contains(searchMe));
|
||||
}
|
||||
else
|
||||
{
|
||||
query = ctx.Documenti;
|
||||
}
|
||||
return query.Count();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -91,6 +91,9 @@
|
||||
<Compile Include="Clienti.cs">
|
||||
<DependentUpon>APModel.tt</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Documenti.cs">
|
||||
<DependentUpon>APModel.tt</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="MedAPModel.cs" />
|
||||
<Compile Include="Contributi.cs">
|
||||
<DependentUpon>APModel.tt</DependentUpon>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
||||
9f80f002ebadb11f6dcc63d9f9ddf2828e93148f
|
||||
30338fa98c0593a3698e3167cbb08a45e46823b0
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -597,5 +597,43 @@
|
||||
<End Role="Permessi" EntitySet="Permessi" />
|
||||
<End Role="Permessi2Funzione" EntitySet="Permessi2Funzione" />
|
||||
</AssociationSet>
|
||||
<EntitySet Name="Documenti" EntityType="MAPModel.Documenti" />
|
||||
</EntityContainer>
|
||||
<EntityType Name="Documenti">
|
||||
<Key>
|
||||
<PropertyRef Name="idxDoc" />
|
||||
<PropertyRef Name="Gruppo" />
|
||||
<PropertyRef Name="RagSoc" />
|
||||
<PropertyRef Name="num" />
|
||||
<PropertyRef Name="anno" />
|
||||
<PropertyRef Name="netto" />
|
||||
<PropertyRef Name="iva" />
|
||||
<PropertyRef Name="importo" />
|
||||
<PropertyRef Name="tipo" />
|
||||
<PropertyRef Name="idxCli" />
|
||||
<PropertyRef Name="totPagato" />
|
||||
<PropertyRef Name="totScadenze" />
|
||||
<PropertyRef Name="Descrizione" />
|
||||
<PropertyRef Name="ritenuta" />
|
||||
<PropertyRef Name="CostiAss" />
|
||||
</Key>
|
||||
<Property Name="idxDoc" Type="Int32" Nullable="false" />
|
||||
<Property Name="emesso" Type="DateTime" Precision="0" />
|
||||
<Property Name="Gruppo" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
||||
<Property Name="RagSoc" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
||||
<Property Name="num" Type="Int32" Nullable="false" />
|
||||
<Property Name="anno" Type="Int32" Nullable="false" />
|
||||
<Property Name="Trim" Type="Int32" />
|
||||
<Property Name="Mese" Type="Int32" />
|
||||
<Property Name="netto" Type="Decimal" Nullable="false" Precision="9" Scale="2" />
|
||||
<Property Name="iva" Type="Decimal" Nullable="false" Precision="9" Scale="2" />
|
||||
<Property Name="importo" Type="Decimal" Nullable="false" Precision="9" Scale="2" />
|
||||
<Property Name="tipo" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
||||
<Property Name="idxCli" Type="Int32" Nullable="false" />
|
||||
<Property Name="totPagato" Type="Decimal" Nullable="false" Precision="19" Scale="4" />
|
||||
<Property Name="totScadenze" Type="Decimal" Nullable="false" Precision="19" Scale="4" />
|
||||
<Property Name="Descrizione" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
|
||||
<Property Name="ritenuta" Type="Double" Nullable="false" />
|
||||
<Property Name="CostiAss" Type="Decimal" Nullable="false" Precision="19" Scale="4" />
|
||||
</EntityType>
|
||||
</Schema>
|
||||
@@ -317,5 +317,29 @@
|
||||
</MappingFragment>
|
||||
</EntityTypeMapping>
|
||||
</EntitySetMapping>
|
||||
<EntitySetMapping Name="Documenti">
|
||||
<EntityTypeMapping TypeName="MAPModel.Documenti">
|
||||
<MappingFragment StoreEntitySet="v_docsExpl">
|
||||
<ScalarProperty Name="CostiAss" ColumnName="CostiAss" />
|
||||
<ScalarProperty Name="ritenuta" ColumnName="ritenuta" />
|
||||
<ScalarProperty Name="Descrizione" ColumnName="Descrizione" />
|
||||
<ScalarProperty Name="totScadenze" ColumnName="totScadenze" />
|
||||
<ScalarProperty Name="totPagato" ColumnName="totPagato" />
|
||||
<ScalarProperty Name="idxCli" ColumnName="idxCli" />
|
||||
<ScalarProperty Name="tipo" ColumnName="tipo" />
|
||||
<ScalarProperty Name="importo" ColumnName="importo" />
|
||||
<ScalarProperty Name="iva" ColumnName="iva" />
|
||||
<ScalarProperty Name="netto" ColumnName="netto" />
|
||||
<ScalarProperty Name="Mese" ColumnName="Mese" />
|
||||
<ScalarProperty Name="Trim" ColumnName="Trim" />
|
||||
<ScalarProperty Name="anno" ColumnName="anno" />
|
||||
<ScalarProperty Name="num" ColumnName="num" />
|
||||
<ScalarProperty Name="RagSoc" ColumnName="RagSoc" />
|
||||
<ScalarProperty Name="Gruppo" ColumnName="Gruppo" />
|
||||
<ScalarProperty Name="emesso" ColumnName="emesso" />
|
||||
<ScalarProperty Name="idxDoc" ColumnName="idxDoc" />
|
||||
</MappingFragment>
|
||||
</EntityTypeMapping>
|
||||
</EntitySetMapping>
|
||||
</EntityContainerMapping>
|
||||
</Mapping>
|
||||
@@ -300,6 +300,45 @@ avviso 6002: Nessuna chiave primaria definita per la tabella/visualizzazione 'Me
|
||||
<Property Name="Lemma" Type="nvarchar" MaxLength="50" Nullable="false" />
|
||||
<Property Name="Traduzione" Type="nvarchar" MaxLength="500" Nullable="false" />
|
||||
</EntityType>
|
||||
<!--Errori trovati durante la generazione:
|
||||
avviso 6002: Nessuna chiave primaria definita per la tabella/visualizzazione 'MedAP.dbo.v_docsExpl'. La chiave è stata dedotta e la definizione è stata creata come tabella/visualizzazione di sola lettura.-->
|
||||
<EntityType Name="v_docsExpl">
|
||||
<Key>
|
||||
<PropertyRef Name="idxDoc" />
|
||||
<PropertyRef Name="Gruppo" />
|
||||
<PropertyRef Name="RagSoc" />
|
||||
<PropertyRef Name="num" />
|
||||
<PropertyRef Name="anno" />
|
||||
<PropertyRef Name="netto" />
|
||||
<PropertyRef Name="iva" />
|
||||
<PropertyRef Name="importo" />
|
||||
<PropertyRef Name="tipo" />
|
||||
<PropertyRef Name="idxCli" />
|
||||
<PropertyRef Name="totPagato" />
|
||||
<PropertyRef Name="totScadenze" />
|
||||
<PropertyRef Name="Descrizione" />
|
||||
<PropertyRef Name="ritenuta" />
|
||||
<PropertyRef Name="CostiAss" />
|
||||
</Key>
|
||||
<Property Name="idxDoc" Type="int" Nullable="false" />
|
||||
<Property Name="emesso" Type="date" />
|
||||
<Property Name="Gruppo" Type="nvarchar" MaxLength="50" Nullable="false" />
|
||||
<Property Name="RagSoc" Type="nvarchar" MaxLength="50" Nullable="false" />
|
||||
<Property Name="num" Type="int" Nullable="false" />
|
||||
<Property Name="anno" Type="int" Nullable="false" />
|
||||
<Property Name="Trim" Type="int" />
|
||||
<Property Name="Mese" Type="int" />
|
||||
<Property Name="netto" Type="decimal" Precision="9" Scale="2" Nullable="false" />
|
||||
<Property Name="iva" Type="decimal" Precision="9" Scale="2" Nullable="false" />
|
||||
<Property Name="importo" Type="decimal" Precision="9" Scale="2" Nullable="false" />
|
||||
<Property Name="tipo" Type="nvarchar" MaxLength="50" Nullable="false" />
|
||||
<Property Name="idxCli" Type="int" Nullable="false" />
|
||||
<Property Name="totPagato" Type="money" Nullable="false" />
|
||||
<Property Name="totScadenze" Type="money" Nullable="false" />
|
||||
<Property Name="Descrizione" Type="nvarchar(max)" Nullable="false" />
|
||||
<Property Name="ritenuta" Type="float" Nullable="false" />
|
||||
<Property Name="CostiAss" Type="money" Nullable="false" />
|
||||
</EntityType>
|
||||
<Association Name="anagr_elem_doc${EF6530B8-621C-4A01-B6E9-82278E2DA243}">
|
||||
<End Role="Anagr_tipo_elem" Type="Self.Anagr_tipo_elem" Multiplicity="0..1" />
|
||||
<End Role="Anagr_elem_doc" Type="Self.Anagr_elem_doc" Multiplicity="*" />
|
||||
@@ -520,6 +559,28 @@ avviso 6002: Nessuna chiave primaria definita per la tabella/visualizzazione 'Me
|
||||
[Anagr_righe_voci_fatt].[no_ritenuta] AS [no_ritenuta]
|
||||
FROM [dbo].[Anagr_righe_voci_fatt] AS [Anagr_righe_voci_fatt]</DefiningQuery>
|
||||
</EntitySet>
|
||||
<EntitySet Name="v_docsExpl" EntityType="Self.v_docsExpl" store:Type="Views" store:Schema="dbo">
|
||||
<DefiningQuery>SELECT
|
||||
[v_docsExpl].[idxDoc] AS [idxDoc],
|
||||
[v_docsExpl].[emesso] AS [emesso],
|
||||
[v_docsExpl].[Gruppo] AS [Gruppo],
|
||||
[v_docsExpl].[RagSoc] AS [RagSoc],
|
||||
[v_docsExpl].[num] AS [num],
|
||||
[v_docsExpl].[anno] AS [anno],
|
||||
[v_docsExpl].[Trim] AS [Trim],
|
||||
[v_docsExpl].[Mese] AS [Mese],
|
||||
[v_docsExpl].[netto] AS [netto],
|
||||
[v_docsExpl].[iva] AS [iva],
|
||||
[v_docsExpl].[importo] AS [importo],
|
||||
[v_docsExpl].[tipo] AS [tipo],
|
||||
[v_docsExpl].[idxCli] AS [idxCli],
|
||||
[v_docsExpl].[totPagato] AS [totPagato],
|
||||
[v_docsExpl].[totScadenze] AS [totScadenze],
|
||||
[v_docsExpl].[Descrizione] AS [Descrizione],
|
||||
[v_docsExpl].[ritenuta] AS [ritenuta],
|
||||
[v_docsExpl].[CostiAss] AS [CostiAss]
|
||||
FROM [dbo].[v_docsExpl] AS [v_docsExpl]</DefiningQuery>
|
||||
</EntitySet>
|
||||
<AssociationSet Name="anagr_elem_doc${EF6530B8-621C-4A01-B6E9-82278E2DA243}" Association="Self.anagr_elem_doc${EF6530B8-621C-4A01-B6E9-82278E2DA243}">
|
||||
<End Role="Anagr_tipo_elem" EntitySet="Anagr_tipo_elem" />
|
||||
<End Role="Anagr_elem_doc" EntitySet="Anagr_elem_doc" />
|
||||
|
||||
Reference in New Issue
Block a user