<?php

/**
 * @link      http://www.u-bo.com
 * @copyright 南京友博网络科技有限公司 
 * @license   http://www.u-bo.com/license/
 */

namespace home\modules\statement\controllers;

use Yii;
use yii\web\ForbiddenHttpException;
use qcbase\models\Auth;
use yii\data\ActiveDataProvider;
use common\components\Tool;
use common\models\Common;
use home\modules\statement\models\StatementAccount;
use yii\db\Query;
use yii\helpers\ArrayHelper;
use common\models\PermissionScope;
use home\models\Attachment;
use yii\helpers\Url;
use home\modules\customer\models\Customer;
use home\modules\statement\models\StatementLink;
use home\modules\statement\models\StatementLinkContract;

/**
 * 对账单关联合同处理
 * 
 * @author HuLimin http://blog.u-bo.com
 * @since 0.1
 */
class StatementLinkContractController extends \home\controllers\Controller
{

    public function actions()
    {
        $actions = parent::actions();
        $actions['create']['layout'] = '//modal';
        $actions['view']['layout'] = '//modal';
        $actions['update']['layout'] = '//modal';
        return $actions;
    }

}
