追加功能 #484
v4.0: Logistics - Logistics & Custom - Step 1
Start date:
09/08/2025
Due date:
09/30/2025
% Done:
100%
Estimated time:
100.00 h
Description
Background
Task Details
- 1. Logistics & Custom
- Git提交
#xxx(redmine number): xxx(redmine title) - xxx(任意:补充内容)
- 代码规范
2.1: 结构:Public -> Protected -> Private
2.2: 其他代码规范同SBX
- MVCL的v3/v4物理分割
3.1: v3/v4的代码分为两个文件,比如: order.php, order_v3.php
3.2: system也分为两个文件,暂时只有一个user_v3
- Note: front的$this->user在v4中会替换为$this->customer, 即v4中需要清除$this->user
3.3: 代码中,区分v3/v4的调用,比如:new User_V3
- 前台代码
twig, js, css (js, css尽量写在单独的css文件中)
- 后台代码
MVCL (L:en,cn)
- 注释
- 类名:
/** * xxx * * @copyright RedBlue-OTS 2024 * @version v4 * */
- 函数名:参数类型 + 返回值类型
/** * xxx * * @param xxx $xxx * @param xxx $xxx * @return xxx */
- 类名:
- Report and Solution
Others
Related issues
Updated by Junyi Zhang 3 months ago
- % Done changed from 0 to 40
Output(2025/09/08 - 2025/09/13)
Fucntion- Logistics list
- 批处理tracking info
- 支持切换显示货币
- 根据箱子的运送地址,来决定使用哪种运费的计算方式
- 生成DHL资料,报关资料。(参考trello: https://trello.com/c/GPr9ZYPx#comment-68d35637c47d667897810a9b )
- 是否报关
- 申报比例
- 报关资料中ppu=ppu + shipping cost
- 有相同报关信息的产品合并
Updated by Junyi Zhang 22 days ago
- Copied to 追加功能 #493: v4.0: Logistics - Logistics & Custom - Step 2 added