HSLE#34957 Kopieren catering bestelling voor dezelfde dag maar voor een andere ruimte

svn path=/Website/trunk/; revision=28552
This commit is contained in:
Erik Groener
2016-03-21 10:23:12 +00:00
parent 4cadb54c83
commit ce620764de
2 changed files with 3 additions and 3 deletions

View File

@@ -504,7 +504,7 @@ FCLTHeader.Requires({plugins: ["jQuery", "kenmerk"],
rrr.alg_locatie_key = oRs("alg_locatie_key").Value;
rrr.alg_gebouw_key = oRs("alg_gebouw_key").Value;
rrr.alg_verdieping_key = oRs("alg_verdieping_key").Value;
rrr.alg_ruimte_key = oRs("alg_ruimte_key").Value;
rrr.alg_ruimte_key = rsv_ruimte_key > 0 ? oRs("alg_ruimte_key").Value : -1;
}
// Script zorgt ervoor dat ook bij het openen van het scherm de image achter het label komt te staan.
@@ -1498,7 +1498,7 @@ FCLTHeader.Requires({plugins: ["jQuery", "kenmerk"],
res_key : rrr.reservering_key,
act_key : rrr.activiteit_key,
defaults : rrr.flex_defaults, // pacta: { bsn: "12345678", plaats: "Enschede", postcode:"1234AB" }
rsv_ruimte_key : rsv_ruimte_key, // niet bij 'ruimte erbij'
rsv_ruimte_key : ((restype == "CV" && rsv_copy_key > -1) ? rsv_copy_key : rsv_ruimte_key), // ook bij 'ruimte erbij'
reado: false,
flexcolumns: S("res_flexcolumns"),
hide: rrr.activiteit_key<0

View File

@@ -512,7 +512,7 @@ if (options.length > 1) {
if (this_res.couldCreate)
{
buttons.push( {id: "repeatbutton", title: L("lcl_res_add_deelres"), icon: "../Pictures/resrepeat.png", action: "makeMulti()" } );
if (restype == "R")
if (restype == "R" || restype == "CV")
buttons.push( {title: L("lcl_res_add_deelresruimte"), icon: "../Pictures/plus.png", action: "ruimteErbij()" } );
}
if (multiDeel && this_res.couldCreate)