-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
let store choose reference and status more freely
- Loading branch information
iesus
committed
Mar 21, 2018
1 parent
d786ced
commit c03c3f9
Showing
5 changed files
with
81 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
app/code/community/Svea/Checkout/Model/System/Source/Svea/Reference.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?php | ||
|
||
/** | ||
* Source model to get an array of supported language settings. | ||
* | ||
* @package Svea_Checkout | ||
* @module Webbhuset | ||
* @author Webbhuset <[email protected]> | ||
*/ | ||
class Svea_Checkout_Model_System_Source_Svea_Reference | ||
{ | ||
/** | ||
* Creates a list of available reference options. | ||
* countries and locales. | ||
* | ||
* @return array | ||
*/ | ||
public function toOptionArray() | ||
{ | ||
return [ | ||
[ | ||
'label' => Mage::helper('sveacheckout')->__('Suffixed Order ID'), | ||
'title' => Mage::helper('sveacheckout')->__('Suffixed Order ID'), | ||
'value' => 'suffixed-order-id', | ||
], | ||
[ | ||
'label' => Mage::helper('sveacheckout')->__('Suffixed Increment ID'), | ||
'title' => Mage::helper('sveacheckout')->__('Suffixed Increment ID'), | ||
'value' => 'suffixed-increment-id', | ||
], | ||
[ | ||
'label' => Mage::helper('sveacheckout')->__('Plain Order ID'), | ||
'title' => Mage::helper('sveacheckout')->__('Plain Order ID'), | ||
'value' => 'plain-order-id', | ||
], | ||
[ | ||
'label' => Mage::helper('sveacheckout')->__('Plain Increment ID'), | ||
'title' => Mage::helper('sveacheckout')->__('Plain Increment ID'), | ||
'value' => 'plain-increment-id', | ||
] | ||
]; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters