Fix vari...
git-svn-id: https://keyhammer.ath.cx/svn/XPS/trunk@27 43c8e981-f90d-406c-a89a-24a2c4268d51
This commit is contained in:
+14
-7
@@ -1,10 +1,17 @@
|
||||
------------------------------------------------
|
||||
- 20081024
|
||||
------------------------------------------------
|
||||
OK 01 - togliere codCli (non gli serve)
|
||||
OK 02 - togliere data prev da ins magazziniere...
|
||||
03 - una vista x ogni funzione
|
||||
04 - barcode da web?
|
||||
05 - avanzamento stato: obj mamma ha stato min tra i vari child
|
||||
06 - agganciare filtraggi e filtro ricerca generica
|
||||
OK 07 - accettazione x magazziniere, che non possa accettare o cancellare post aver già accettato... idem x editing...
|
||||
OK - togliere codCli (non gli serve)
|
||||
OK - togliere data prev da ins magazziniere...
|
||||
OK - agganciare filtraggi e filtro ricerca generica
|
||||
OK - accettazione x magazziniere, che non possa accettare o cancellare post aver già accettato... idem x editing...
|
||||
- inserire voci in mantis varie
|
||||
- una vista x ogni funzione
|
||||
- magazzino (ok quasi)
|
||||
- produzione
|
||||
- realizzare allocazione risorse
|
||||
- segreteria
|
||||
- admin (da magazzino... con altri editing & co...)
|
||||
- barcode da web?
|
||||
- avanzamento stato: obj mamma ha stato min tra i vari child
|
||||
-
|
||||
+10
-6
@@ -33,7 +33,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="txtDDT" runat="server"></asp:TextBox>
|
||||
<asp:RequiredFieldValidator ID="rfvDDT" runat="server" ErrorMessage="!!!" ControlToValidate="txtDDT" />
|
||||
<asp:RequiredFieldValidator ID="rfvDDT" runat="server" ErrorMessage="!!!" ControlToValidate="txtDDT" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -41,7 +41,7 @@
|
||||
<asp:Label ID="lblDataDDT" runat="server" />
|
||||
</td>
|
||||
<td>
|
||||
<asp:TextBox ID="txtDataDDT" runat="server"></asp:TextBox>
|
||||
<asp:TextBox ID="txtDataDDT" runat="server"></asp:TextBox>
|
||||
<asp:RequiredFieldValidator ID="rfvDataDDT" runat="server" ErrorMessage="!!!" ControlToValidate="txtDataDDT" />
|
||||
<cc1:CalendarExtender ID="CalendarExtender1" runat="server" FirstDayOfWeek="Monday"
|
||||
TargetControlID="txtDataDDT" Format="dd/MM/yyyy">
|
||||
@@ -70,7 +70,7 @@
|
||||
</div>
|
||||
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataSourceID="ods"
|
||||
DataKeyNames="Cod" AllowPaging="True" AllowSorting="True" OnSelectedIndexChanged="grView_SelectedIndexChanged"
|
||||
OnDataBound="grView_DataBound" onrowupdating="grView_RowUpdating">
|
||||
OnDataBound="grView_DataBound" OnRowUpdating="grView_RowUpdating">
|
||||
<RowStyle CssClass="ctrRowStyle" />
|
||||
<AlternatingRowStyle CssClass="ctrAltRowStyle" />
|
||||
<EditRowStyle CssClass="ctrEditRowStyle" />
|
||||
@@ -91,8 +91,9 @@
|
||||
<ItemTemplate>
|
||||
<asp:ImageButton ID="imgSelect" runat="server" CausesValidation="False" CommandName="Select"
|
||||
ToolTip='<%# traduci("Select") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.seleziona, SteamWare.dimImg.small) %>' />
|
||||
<asp:ImageButton ID="imgAccetta" runat="server" CausesValidation="False" CommandName="Update" OnClick="imgAccetta_Click"
|
||||
ToolTip='<%# traduci("Accetta")%>' ImageUrl='<%# imgPath(SteamWare.tipoImg.conferma , SteamWare.dimImg.small) %>' Visible='<%# isAccettVisible(Eval("CodStato")) %>' />
|
||||
<asp:ImageButton ID="imgAccetta" runat="server" CausesValidation="False" CommandName="Update"
|
||||
OnClick="imgAccetta_Click" ToolTip='<%# traduci("Accetta")%>' ImageUrl='<%# imgPath(SteamWare.tipoImg.conferma , SteamWare.dimImg.small) %>'
|
||||
Visible='<%# isAccettVisible(Eval("CodStato")) %>' />
|
||||
</ItemTemplate>
|
||||
<%--<EditItemTemplate>
|
||||
<asp:ImageButton ID="imgUpdate" runat="server" CausesValidation="False" CommandName="Update"
|
||||
@@ -153,10 +154,13 @@
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="Original_{0}"
|
||||
SelectMethod="GetData" TypeName="DS_applicazioneTableAdapters.v_commesseTableAdapter"
|
||||
DeleteMethod="sp_delObj">
|
||||
DeleteMethod="sp_delObj" FilterExpression=" Cliente LIKE '%{0}%' OR DDT LIKE '%{0}%' OR Descrizione LIKE '%{0}%' ">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="Original_Cod" Type="String" />
|
||||
</DeleteParameters>
|
||||
<FilterParameters>
|
||||
<asp:SessionParameter DefaultValue="*" Name="ricerca" SessionField="valoreCercato" />
|
||||
</FilterParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini"></asp:Label><br />
|
||||
<asp:Label ID="lblWarning" runat="server" Visible="false" CssClass="erroreMid" />
|
||||
@@ -149,12 +149,27 @@ public partial class mod_elencoComm : ApplicationUserControl
|
||||
{
|
||||
base.OnInit(e);
|
||||
_idxGridView = "CodDDT";
|
||||
mf_clienti.eh_selValore += new EventHandler(mf_clienti_eh_selValore);
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
mf_clienti.ods = odsFiltroClienti;
|
||||
}
|
||||
}
|
||||
|
||||
void mf_clienti_eh_selValore(object sender, EventArgs e)
|
||||
{
|
||||
// controllo se filtro attivo...
|
||||
if (mf_clienti.valore != "*")
|
||||
{
|
||||
ods.FilterExpression = string.Format("( Cliente LIKE '%{0}%' OR DDT LIKE '%{0}%' OR Descrizione LIKE '%{0}%' ) AND CodCliente = '{0}'", mf_clienti.valore);
|
||||
}
|
||||
else
|
||||
{
|
||||
ods.FilterExpression = " Cliente LIKE '%{0}%' OR DDT LIKE '%{0}%' OR Descrizione LIKE '%{0}%' ";
|
||||
}
|
||||
grView.DataBind();
|
||||
}
|
||||
|
||||
protected override void traduciObj()
|
||||
{
|
||||
base.traduciObj();
|
||||
@@ -292,5 +307,10 @@ public partial class mod_elencoComm : ApplicationUserControl
|
||||
return isAccettVisible(codStato);
|
||||
}
|
||||
|
||||
protected override void OnUnload(EventArgs e)
|
||||
{
|
||||
base.OnUnload(e);
|
||||
mf_clienti.eh_selValore -= new EventHandler(mf_clienti_eh_selValore);
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user