add transfer#list pdf download, fix helper#fixascii function

This commit is contained in:
2016-01-06 16:18:15 +01:00
parent 932f071c13
commit 39ae361505
29 changed files with 1519 additions and 373 deletions

View File

@@ -0,0 +1,43 @@
<?php
namespace backend\models;
use Yii;
use common\models\Transfer;
use common\components\RoleDefinition;
use common\models\Account;
use common\components\DailyListing;
/**
* TransferSearch represents the model behind the search form about `common\models\Transfer`.
*/
class TransferListUserGroupedSearch extends \common\models\TransferListSearch
{
public $ticketMoneyByUser;
public function init(){
parent::init();
$this->mode = 'admin';
}
public function search($params)
{
$this->load($params);
if (!$this->validate()) {
}
$listing = new DailyListing();
$listing->mode = $this->mode;
$listing->loadFilters($this);
$this->ticketMoneyByUser = $listing->readTicketMoneyByUser();
}
}