minor fixes
This commit is contained in:
@@ -9,6 +9,13 @@ class Deliveries
|
||||
{
|
||||
use Basic;
|
||||
|
||||
public static function init()
|
||||
{
|
||||
return [
|
||||
'sale_channels' => SaleChannels::getOptions(),
|
||||
];
|
||||
}
|
||||
|
||||
public static function getSaleChannelId($deliveryId)
|
||||
{
|
||||
return $deliveryId ? Deliveries::getField($deliveryId, 'sale_channel_id') : SaleChannels::getDefaultID();
|
||||
|
||||
Reference in New Issue
Block a user