Skip to content
This repository was archived by the owner on Sep 14, 2020. It is now read-only.

Commit 0629e5b

Browse files
committed
Merge pull request #111 from jgautheron/patch-1
Added CC Type to the available custom columns for the sales grids
2 parents bf7d4fd + 222072b commit 0629e5b

File tree

1 file changed

+2
-1
lines changed
  • app/code/community/BL/CustomGrid/Model/Grid/Type/Sales

1 file changed

+2
-1
lines changed

app/code/community/BL/CustomGrid/Model/Grid/Type/Sales/Abstract.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ protected function _getAdditionalCustomColumns()
137137

138138
// Payment fields
139139
$columns['payment_method'] = $this->_getPaymentCustomColumn('payment_method', $helper->__('Method'), $helper->__('Payment'), 'method');
140+
$columns['cc_type'] = $this->_getPaymentCustomColumn('cc_type', $helper->__('CC Type'), $helper->__('Payment'));
140141

141142
// Items
142143
$columns['default_items'] = $this->_getItemsCustomColumn('default_items');
@@ -152,4 +153,4 @@ protected function _getAdditionalCustomColumns()
152153

153154
return array_filter($columns);
154155
}
155-
}
156+
}

0 commit comments

Comments
 (0)