src/Config/ShopCapabilities.php
public function getDateToUseOptions()
    {
        return array(
            PluginConfig::InvoiceDate_InvoiceCreate => $this->t('option_dateToUse_1'),
            PluginConfig::InvoiceDate_OrderCreate => $this->t('option_dateToUse_2'),
            PluginConfig::InvoiceDate_Transfer => $this->t('option_dateToUse_3'),
        );
    }
public function getDateToUseOptions()
    {
        return array(
            PluginConfig::InvoiceDate_InvoiceCreate => $this->t('option_dateToUse_1'),
            PluginConfig::InvoiceDate_OrderCreate => $this->t('option_dateToUse_2'),
            PluginConfig::InvoiceDate_Transfer => $this->t('option_dateToUse_3'),
        );
    }
public function getDateToUseOptions ( ) { return array ( PluginConfig :: InvoiceDate_InvoiceCreate => $ this -> t ( 'option_dateToUse_1' ) , PluginConfig :: InvoiceDate_OrderCreate => $ this -> t ( 'option_dateToUse_2' ) , PluginConfig :: InvoiceDate_Transfer => $ this -> t ( 'option_dateToUse_3' ) , ) ; }
Returns a list of valid date sources that can be used as invoice date.

This may differ per shop as not all shops support invoices as a separate
entity.

Overrides should typically return a subset of the constants defined in
this base implementation, but including at least
{@see \Siel\Acumulus\PluginConfig::InvoiceDate_Transfer}.

@return string[]
An array keyed by the option values and having translated descriptions
as values.
Returns a list of valid date sources that can be used as invoice date .