定制 fond-of-oryx/jellyfish-buffer-gui 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

fond-of-oryx/jellyfish-buffer-gui

最新稳定版本:2.0.0

Composer 安装命令:

composer require fond-of-oryx/jellyfish-buffer-gui

包简介

JellyfishCreditMemo module.

README 文档

README

license

Installation

composer require fond-of-oryx/jellyfish-buffer-gui

Configuration

Register FondOfOryx path for Zed translations in shop config (config/shared/default_config.php)

if (file_exists(APPLICATION_VENDOR_DIR . '/fond-of-oryx')) {
    $config[TranslatorConstants::TRANSLATION_ZED_FILE_PATH_PATTERNS][] = APPLICATION_VENDOR_DIR . '/fond-of-oryx/*/data/translation/Zed/[a-z][a-z]_[A-Z][A-Z].csv';
}

Update translation cache ./vendor/bin/console translator:generate-cache

Register FondOfOryx path for Zed navigation (Pyz/Zed/ZedNavigation/ZedNavigationConfig.php)

public function getNavigationSchemaPathPattern()
    {
        $navigationSchemaPathPatterns = parent::getNavigationSchemaPathPattern();

        if (file_exists(APPLICATION_VENDOR_DIR . '/fond-of-oryx')) {
            $navigationSchemaPathPatterns[] = APPLICATION_VENDOR_DIR . '/fond-of-oryx/*/src/*/Zed/*/Communication/';
        }

        return $navigationSchemaPathPatterns;
    }

Build Zed Navigation Cache ./vendor/bin/console navigation:build-cache

Add Data to Zed Sales Details Page (Pyz/Zed/Sales/SalesConfig.php)

public function getSalesDetailExternalBlocksUrls()
    {
        $projectExternalBlocks = [
            'jellyfishBuffer' => 'jellyfish-buffer-gui/export/list',
            ...
        ];

        $externalBlocks = parent::getSalesDetailExternalBlocksUrls();

        return array_merge($externalBlocks, $projectExternalBlocks);
    }

统计信息

  • 总下载量: 15.94k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-01-26