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

Commit

Permalink
Add Payment Method and CC Type
Browse files Browse the repository at this point in the history
These two fields are really useful in the Sales/Order view.
  • Loading branch information
jgautheron committed Oct 24, 2014
1 parent bf7d4fd commit fa48573
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion app/code/community/BL/CustomGrid/etc/customgrid.xml
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,24 @@
</model_params>
</store_id>

<payment_method model="customgrid/custom_column_order_payment" module="customgrid">
<name>Method</name>
<group>Payment</group>
<allow_renderers>1</allow_renderers>
<model_params>
<payment_field>method</payment_field>
</model_params>
</payment_method>

<cc_type model="customgrid/custom_column_order_payment" module="customgrid">
<name>CC Type</name>
<group>Payment</group>
<allow_renderers>1</allow_renderers>
<model_params>
<payment_field>cc_type</payment_field>
</model_params>
</cc_type>

<status_color model="customgrid/custom_column_order_status_color" module="customgrid">
<name>Status (With Color)</name>
<description>Displays the status and colorizes the row</description>
Expand Down Expand Up @@ -1407,4 +1425,4 @@
</text>
</attribute>
</column_renderers>
</customgrid>
</customgrid>

0 comments on commit fa48573

Please sign in to comment.