Abbozzata gestioen editing x selezione ricambi assegnati ad intervento

This commit is contained in:
Samuele E. Locatelli
2015-11-26 12:57:42 +01:00
parent c158071d25
commit 5fca8a14ce
11 changed files with 814 additions and 778 deletions
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large Load Diff
@@ -25,7 +25,7 @@ public partial class mod_dettaglioIntervento : System.Web.UI.UserControl
{
btnCancel.Visible = false;
}
}
/// <summary>
/// setup iniziale e di reset dei controlli
@@ -36,7 +36,7 @@ public partial class mod_dettaglioIntervento : System.Web.UI.UserControl
frmView_default.ChangeMode(FormViewMode.ReadOnly);
frmView_default.Visible = true;
frmView_full.Visible = false;
btnCancel.Enabled= userCanEditData;
btnCancel.Enabled = userCanEditData;
btnCompilaMtz.Enabled = userCanEditData;
btnEditFull.Enabled = userCanEditData;
}
@@ -102,7 +102,7 @@ public partial class mod_dettaglioIntervento : System.Web.UI.UserControl
{
frmView_default.ChangeMode(FormViewMode.ReadOnly);
frmView_default.Visible = true;
frmView_full.Visible = false;
frmView_full.Visible = false;
btnCancel.Visible = false;
frmView_default.DataBind();
frmView_full.DataBind();
@@ -146,6 +146,17 @@ public partial class mod_dettaglioIntervento : System.Web.UI.UserControl
{
}
/// <summary>
/// determina visibilità modulo ricambi (SE abilitato)
/// </summary>
public bool showMR
{
get
{
// FARE!!! check su db + file?...
bool answ = true;
return answ;
}
}
}
@@ -20,24 +20,6 @@ public partial class mod_dettaglioIntervento {
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton btnElenco;
/// <summary>
/// btnCancel control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button btnCancel;
/// <summary>
/// cbeCancel control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::AjaxControlToolkit.ConfirmButtonExtender cbeCancel;
/// <summary>
/// btnCompilaMtz control.
/// </summary>
@@ -56,6 +38,24 @@ public partial class mod_dettaglioIntervento {
/// </remarks>
protected global::System.Web.UI.WebControls.Button btnEditFull;
/// <summary>
/// btnCancel control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button btnCancel;
/// <summary>
/// cbeCancel control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::AjaxControlToolkit.ConfirmButtonExtender cbeCancel;
/// <summary>
/// frmView_default control.
/// </summary>
@@ -72,7 +72,7 @@
</div>
</div>
</div>
<div style="font-size: 8pt; clear: both; text-align: center; vertical-align: top; padding: 20px 2px; background-color: #E5E2E1; height: 00px;">
<div style="font-size: 8pt; clear: both; text-align: center; vertical-align: top; padding: 20px 2px; background-color: #E5E2E1; height: 200px;" class="bg_plus">
<div style="border: 1px solid gray; float: left; height: 180px;">
<div style="clear: both; height: 160px;">
<div style="float: left; width: 250px; margin: -10px 10px -2px 10px;">
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -9,7 +9,7 @@
<asp:Content runat="server" ID="FeaturedContent" ContentPlaceHolderID="FeaturedContent">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="MCon" runat="server">
<div class="container-flow">
<div class="container">
<div class="row panel panel-default" style="margin: 4px 8px;">
<div class="panel-heading">
<div class="row" style="margin: 2px 4px;">
@@ -108,8 +108,8 @@ exec voc.stp_insNewLemma'EditRicManIcon', 'fa fa-pencil'
exec voc.stp_insNewLemma'reportInterattivoIcon', 'fa fa-star'
exec voc.stp_insNewLemma 'GestOperMtzIcon', 'fa fa-user'
UPDATE vocabolario SET traduzione = 'Anagrafiche' WHERE lemma = 'AnagraficheBase' AND Lingua = 'IT'
UPDATE vocabolario SET traduzione = 'Interventions' WHERE lemma = 'RicManArea' AND Lingua = 'IT'
UPDATE vocabolario SET traduzione = 'Interventi' WHERE lemma = 'RicManArea' AND Lingua = 'EN'
UPDATE vocabolario SET traduzione = 'Interventions' WHERE lemma = 'RicManArea' AND Lingua = 'EN'
UPDATE vocabolario SET traduzione = 'Interventi' WHERE lemma = 'RicManArea' AND Lingua = 'IT'
exec voc.stp_insNewLemma 'Admin', 'Admin'
exec voc.stp_insNewLemma 'AreaMtz', 'Manutenzione'
UPDATE vocabolario SET traduzione = 'Maintenance' WHERE lemma = 'AreaMtz' AND Lingua = 'EN'
@@ -134,4 +134,5 @@ exec voc.stp_insNewLemma 'chLangIcon', 'fa fa-globe'
exec voc.stp_insNewLemma 'lblNewTag', 'Nuova Etichetta'
exec voc.stp_insNewLemma 'addNewTag', 'Aggiungi Etichetta'
exec voc.stp_insNewLemma 'RecordDuplicato', 'Record Duplicato'
exec voc.stp_insNewLemma 'RicambiImpiegati', 'Ricambi Impiegati'