File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 2828<div class="<?= $ widget ->blockClass ?> " style="<?= $ widget ->blockStyle ?> ">
2929 <?php
3030 if ($ widget ->xls ) {
31- echo Html::beginForm (['/export/csv ' ], 'post ' );
31+ //echo Html::beginForm(['/export/csv'], 'post');
32+ echo Html::beginForm (['/export/xls ' ], 'post ' );
3233 echo Html::hiddenInput ('model ' , $ widget ->model );
3334 echo Html::hiddenInput ('searchAttributes ' , $ widget ->searchAttributes );
3435 echo Html::hiddenInput ('sort ' , $ widget ->sort );
7980</div>
8081<div class="<?= $ widget ->blockClass ?> " style="<?= $ widget ->blockStyle ?> ">
8182 <?php
82- if ($ widget ->html ) {
83+ //if ($widget->html) {
84+ if ($ widget ->pdf ) {
8385 echo Html::beginForm (['/export/pdf ' ], 'post ' );
8486 echo Html::hiddenInput ('model ' , $ widget ->model );
8587 echo Html::hiddenInput ('searchAttributes ' , $ widget ->searchAttributes );
You can’t perform that action at this time.
0 commit comments