i would like to make a widget to show me a date selection but i dont want the business days to be selected or any other day that would make the business to stop… i have this code
<?php $this->widget('zii.widgets.jui.CJuiDatePicker',
array(
'model'=>$model,
'attribute'=>'fecha_cot',
'language'=>'es',
'options'=>array(
'dateFormat'=>'yy-mm-dd',
'constrainInput'=>'false',
'duration'=>'fast',
'showAnim'=>'slide',
),
)
);
?>
is there any way to do this on the widget… or i have to define the function in some other place… because it will only work for business days and then to calculate days later to give back a further date which it has to be inside a business day