kleuren voor matrix
This commit is contained in:
@@ -301,7 +301,8 @@ class Rapijkpunten extends MY_Controller{
|
|||||||
$userLijsten = new Userlijsten($orguserid, $orgid, $orgversies);
|
$userLijsten = new Userlijsten($orguserid, $orgid, $orgversies);
|
||||||
$lijsten = $userLijsten->getLijsten();
|
$lijsten = $userLijsten->getLijsten();
|
||||||
$nieuwsteversie = $userLijsten->getNieuwsteVersie();
|
$nieuwsteversie = $userLijsten->getNieuwsteVersie();
|
||||||
|
//LS matrixmodel.js verwacht een variable vorm die aangeeft of het een individuele versie is
|
||||||
|
$lijsten[0]->vorm=2;
|
||||||
$data =[
|
$data =[
|
||||||
'lijsten' => $lijsten,
|
'lijsten' => $lijsten,
|
||||||
'aantal' => $aantal,
|
'aantal' => $aantal,
|
||||||
|
|||||||
@@ -190,8 +190,9 @@
|
|||||||
<!-- ko foreach: ijkpunten -->
|
<!-- ko foreach: ijkpunten -->
|
||||||
|
|
||||||
<th class="clickable"
|
<th class="clickable"
|
||||||
|
data-bind="click: $parent.fToonToelichting"
|
||||||
style=" text-align:center; font-size: x-small; padding: 3px; border: 2px solid white; width: 30px;">
|
style=" text-align:center; font-size: x-small; padding: 3px; border: 2px solid white; width: 30px;">
|
||||||
<span data-bind="text: nummer, attr:{'title' : omschrijving}, click: $parent.fToonToelichting">
|
<span data-bind="text: nummer, attr:{'title' : omschrijving}">
|
||||||
</span>
|
</span>
|
||||||
</th>
|
</th>
|
||||||
<!-- /ko -->
|
<!-- /ko -->
|
||||||
|
|||||||
@@ -119,7 +119,6 @@ $(function () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function fAddResult(k) {
|
function fAddResult(k) {
|
||||||
var dit = this;
|
|
||||||
if (k.gem === '' || isNaN(k.gem) || k.gem === null) {
|
if (k.gem === '' || isNaN(k.gem) || k.gem === null) {
|
||||||
this.gem = 0;
|
this.gem = 0;
|
||||||
}
|
}
|
||||||
@@ -128,7 +127,11 @@ $(function () {
|
|||||||
}
|
}
|
||||||
this.num = k.nummer;
|
this.num = k.nummer;
|
||||||
this.colorcode = '#e08885';
|
this.colorcode = '#e08885';
|
||||||
if(k.kleur) dit.colorcode = k.kleur;
|
if(k.kleurcode) this.colorcode = k.kleurcode;
|
||||||
|
if (k.disabled == "T" || k.disablenvt == "T") {
|
||||||
|
this.gem='';
|
||||||
|
this.colorcode="#cccccc";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function fAddCriteria(c) {
|
function fAddCriteria(c) {
|
||||||
|
|||||||
Reference in New Issue
Block a user