Completed
Push — master ( 62d2ea...1993b9 )
by Andrii
11:09
created

MonthlyDocumentsColumn::getUpdateButtonRoute()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 2
Bugs 0 Features 1
Metric Value
c 2
b 0
f 1
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
cc 1
eloc 2
nc 1
nop 1
crap 2
1
<?php
2
/**
3
 * Finance module for HiPanel
4
 *
5
 * @link      https://github.com/hiqdev/hipanel-module-finance
6
 * @package   hipanel-module-finance
7
 * @license   BSD-3-Clause
8
 * @copyright Copyright (c) 2015-2017, HiQDev (http://hiqdev.com/)
9
 */
10
11
namespace hipanel\modules\finance\grid;
12
13
use hipanel\widgets\ArraySpoiler;
14
use hipanel\helpers\FontIcon;
15
use hipanel\widgets\ModalButton;
16
use Yii;
17
use yii\base\InvalidConfigException;
18
use yii\helpers\Html;
19
20
class MonthlyDocumentsColumn extends DocumentsColumn
21
{
22
    protected function getRouteForUpdate()
23
    {
24
        return ['@purse/generate-and-save-monthly-document'];
25
    }
26
}
27