Completed
Push — master ( 888d0b...6476e7 )
by
unknown
04:54
created

Mygento_Payture_Model_Source_Tax::toOptionArray()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 11
Code Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 11
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 8
nc 1
nop 0
1
<?php
2
3
/**
4
 *
5
 *
6
 * @category Mygento
7
 * @package Mygento_Payture
8
 * @copyright 2017 NKS LLC. (https://www.mygento.ru)
9
 */
10
class Mygento_Payture_Model_Source_Tax
11
{
12
13
    public function toOptionArray()
14
    {
15
        return [
16
            ['value' => 1, 'label' => Mage::helper('payture')->__('Ставка НДС 18%')],
17
            ['value' => 2, 'label' => Mage::helper('payture')->__('Ставка НДС 10%')],
18
            ['value' => 3, 'label' => Mage::helper('payture')->__('Ставка НДС расч. 18/118')],
19
            ['value' => 4, 'label' => Mage::helper('payture')->__('Ставка НДС расч. 10/110')],
20
            ['value' => 5, 'label' => Mage::helper('payture')->__('Ставка НДС 0%')],
21
            ['value' => 6, 'label' => Mage::helper('payture')->__('НДС не облагается')]
22
        ];
23
    }
24
}
25