I have a field, consultant, in my mySQL table which is either 0 or 1. I'f like to display this on the Table row as either Yes or No. How can I set this up?
<?php
Table::create(array(
"dataStore"=>$this->dataStore("ThreeWayRiskAnalysis")->filter("taxyear","=",$_SESSION['last_TY']),
"showFooter"=>true,
"columns"=>array(
"employee",
"title",
"wages"=>array(
"cssStyle"=>"text-align:right",
"prefix"=>"$",
"footer"=>"sum",
"footerText"=>"<b>Total Wages:</b> @value"
),
"risk",
"consultant",
"QREs"=>array(
"cssStyle"=>"text-align:right",
"prefix"=>"$",
"footer"=>"sum",
"footerText"=>"<b>Total Wages Qualified:</b> @value"
)
),
"cssClass"=>array(
"table"=>"table-bordered table-striped table-hover"
)
));
?>