Skip to content

Commit

Permalink
exportSpss
Browse files Browse the repository at this point in the history
  • Loading branch information
TonisOrmisson committed Nov 6, 2017
1 parent 7f3840a commit b904e0c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 10 additions & 0 deletions application/views/admin/export/spss_view.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<?php
/**
* Export results to SPSS view
* @var AdminController $this
*/

// DO NOT REMOVE This is for automated testing to validate we see that page
echo viewHelper::getViewTestTag('exportSpss');

?>
<div class='side-body <?php echo getSideBodyClass(false); ?>'>
<h3><?php eT("Export response data to SPSS");?></h3>
<?php echo CHtml::form(array("admin/export/sa/exportspss/sid/{$surveyid}/"), 'post', array('id'=>'exportspss', 'class'=>''));?>
Expand Down
3 changes: 2 additions & 1 deletion tests/data/views/adminSurveyViews.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
//'surveyResponsesBrowse' =>['route'=>'responses/sa/browse/surveyid/{SID}'],
'dataEntryView' =>['route'=>'dataentry/sa/view/surveyid/{SID}'],
'statisticsIndex' =>['route'=>'statistics/sa/index/surveyid/{SID}'],
'exportResults' =>['route'=>'admin/export/sa/exportresults/surveyid/{SID}'],
'exportResults' =>['route'=>'export/sa/exportresults/sid/{SID}'],
'exportSpss' =>['route'=>'export/sa/exportspss/sid/{SID}'],



Expand Down

0 comments on commit b904e0c

Please sign in to comment.