NYBU#54902 Reserveringen 'Voor meerdere aanpassen' kan nu ook filter (bolletjes) aanpassen
svn path=/Website/trunk/; revision=40229
This commit is contained in:
@@ -44,6 +44,7 @@ var rsv_ruimte_key = getQParamInt("rsv_ruimte_key");
|
||||
-- 8192 Reserveringsstatus
|
||||
-- 16384 Afgesproken ruimteprijs
|
||||
-- 32768 Korting
|
||||
-- 65536 Flags (bolletjes)
|
||||
*/
|
||||
|
||||
%>
|
||||
@@ -111,6 +112,8 @@ var rsv_ruimte_key = getQParamInt("rsv_ruimte_key");
|
||||
<% if (foboOnly) { %>
|
||||
<br><label><input name='c8192' value="8192" type='checkbox'><%=L("lcl_status_FO")%></label>
|
||||
<% } %>
|
||||
<br><label><input name='c65536' value="65536" type='checkbox'><%=L("lcl_res_flags")%></label>
|
||||
|
||||
<br>
|
||||
<br><label><input name='c128' value="128" type='checkbox'><%=L("lcl_reserved_object")%></label>
|
||||
<br><label><input name='c256' value="256" type='checkbox'><%=L("lcl_catering")%></label>
|
||||
|
||||
@@ -42,12 +42,14 @@ var rsv_ruimte_key = getQParamInt("rsv_ruimte_key");
|
||||
-- 8192 Reserveringsstatus
|
||||
-- 16384 Afgesproken ruimteprijs
|
||||
-- 32768 Korting
|
||||
-- 65536 Flags (bolletjes)
|
||||
*/
|
||||
|
||||
var what = getFParamInt( "c1", 0, true) + getFParamInt( "c2", 0, true) + getFParamInt( "c4", 0, true) + getFParamInt( "c8", 0, true)
|
||||
+ getFParamInt( "c16", 0, true) + getFParamInt( "c32", 0, true) + getFParamInt( "c64", 0, true) + getFParamInt( "c128", 0, true)
|
||||
+ getFParamInt( "c256", 0, true) + getFParamInt( "c512", 0, true) + getFParamInt( "c1024", 0, true) + getFParamInt("c2048", 0, true)
|
||||
+ getFParamInt("c4096", 0, true) + getFParamInt("c8192", 0, true) + getFParamInt("c16384", 0, true) + getFParamInt("c32768", 0, true);
|
||||
+ getFParamInt("c4096", 0, true) + getFParamInt("c8192", 0, true) + getFParamInt("c16384", 0, true) + getFParamInt("c32768", 0, true)
|
||||
+ getFParamInt("c65536", 0, true);
|
||||
|
||||
var sql = "SELECT rr.res_reservering_key"
|
||||
+ " , rr.res_rsv_ruimte_van"
|
||||
@@ -102,6 +104,8 @@ if (what & 16384)
|
||||
changed += (changed != ""? ", " : "") + L("lcl_res_ruimtetotaal");
|
||||
if (what & 32768)
|
||||
changed += (changed != ""? ", " : "") + L("lcl_res_ruimtekorting");
|
||||
if (what & 65536)
|
||||
changed += (changed != ""? ", " : "") + L("lcl_res_flags");
|
||||
|
||||
var msg = L("lcl_res_multi_copy").format(resnum) + changed;
|
||||
|
||||
@@ -216,7 +220,10 @@ if (what != "" && keyList.length > 0)
|
||||
}
|
||||
}
|
||||
|
||||
shared.trackaction("RESMLT", rsv_ruimte_key);
|
||||
// Only track if anything changed
|
||||
if (what & 131071)
|
||||
shared.trackaction("RESMLT", rsv_ruimte_key);
|
||||
|
||||
result = { success : true, refresh: true };
|
||||
|
||||
Response.Write(JSON.stringify(result));
|
||||
|
||||
Reference in New Issue
Block a user