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

MonthlyDocumentsColumn   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 3
Bugs 0 Features 1
Metric Value
wmc 1
c 3
b 0
f 1
lcom 0
cbo 1
dl 0
loc 7
ccs 0
cts 6
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getRouteForUpdate() 0 4 1
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