FSN#38676: AiAi bij kopieren opdracht.
svn path=/Website/trunk/; revision=32164
This commit is contained in:
@@ -2088,25 +2088,9 @@ mld = {setmeldingstatus:
|
||||
opdr_handfiat: oRs("mld_opdr_handfiat").Value == 1 // Vrijwillig fiatteren.
|
||||
};
|
||||
oRs.close();
|
||||
//
|
||||
// Uitvoertijd.
|
||||
if (result.uitvoerende_key > 0)
|
||||
{
|
||||
var sql = "SELECT b.prs_bedrijf_uurloon"
|
||||
+ ", b.prs_bedrijf_naam"
|
||||
+ ", b.prs_bedrijf_t_uitvoertijd.tijdsduur tijdsduur"
|
||||
+ ", b.prs_bedrijf_t_uitvoertijd.eenheid eenheid"
|
||||
+ " FROM prs_bedrijf b"
|
||||
+ " WHERE b.prs_bedrijf_key = " + result.uitvoerende_key;
|
||||
var oRs = Oracle.Execute(sql);
|
||||
if (!oRs.eof) // Had in theorie ook een persoon kunnen zijn?
|
||||
{
|
||||
result.h_rate_uitv = oRs("prs_bedrijf_uurloon").Value;
|
||||
result.uitvoerende = oRs("prs_bedrijf_naam").Value;
|
||||
result.uitvoertijd = oRs("tijdsduur").Value;
|
||||
result.uitvoertijd_eenheid = oRs("eenheid").Value;
|
||||
}
|
||||
oRs.Close();
|
||||
}
|
||||
result.uitvoertijd = mld.getbedrijfuitvoertijd(result.uitvoerende_key);
|
||||
return result;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user