fix report 2
This commit is contained in:
@@ -253,6 +253,14 @@ class Controller extends BaseController
|
||||
return self::metalTypeLabel();
|
||||
}
|
||||
|
||||
/** عنوان محصول(ات) کیف اصلی از `main_wallet_products` */
|
||||
public static function mainWalletProductLabel(): string
|
||||
{
|
||||
$labels = app(ConfigService::class)->mainWalletProductLabels();
|
||||
|
||||
return $labels !== '' ? $labels : self::mainWalletMetalLabel();
|
||||
}
|
||||
|
||||
/** برچسب معاملات آبشده: مقدار setting یا «آبشده» */
|
||||
public static function meltedGoldLabel(): string
|
||||
{
|
||||
@@ -328,22 +336,22 @@ class Controller extends BaseController
|
||||
|
||||
public static function mainMetalBuyTitle(): string
|
||||
{
|
||||
return self::productBuyTitle(self::mainWalletMetalLabel());
|
||||
return self::productBuyTitle(self::mainWalletProductLabel());
|
||||
}
|
||||
|
||||
public static function mainMetalSellTitle(): string
|
||||
{
|
||||
return self::productSellTitle(self::mainWalletMetalLabel());
|
||||
return self::productSellTitle(self::mainWalletProductLabel());
|
||||
}
|
||||
|
||||
public static function mainMetalDepositTitle(): string
|
||||
{
|
||||
return 'واریز ' . self::mainWalletMetalLabel();
|
||||
return 'واریز ' . self::mainWalletProductLabel();
|
||||
}
|
||||
|
||||
public static function mainMetalWithdrawTitle(): string
|
||||
{
|
||||
return 'برداشت ' . self::mainWalletMetalLabel();
|
||||
return 'برداشت ' . self::mainWalletProductLabel();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user