追加功能 #478
v4.0: Logistics - Packing & Label - Step 1
Start date:
07/22/2025
Due date:
08/15/2025
% Done:
100%
Estimated time:
100.00 h
Description
Background
Task Details
- 1. Packing & Label
- 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
Updated by Junyi Zhang 5 months ago
Output(2025/08/18 - 2025/08/22) (2025/08/11 - 2025/08/15) (2025/08/04 - 2025/08/08),(2025/07/21 - 2025/07/22), (2025/07/18)
Functions:- 以Packing & Label作为logictics的主页面,添加其他模块到menu中。
- Cartons' Parameters
- Cartons' Locations
- Packing Rules
- Shipping cost calculator
- Packing & Label - Cartons' Location: 拼箱和无箱的location编辑模块
- Packing Rules: 拼箱规则编辑页面
- Support product
- Support option value
- Support product + option value - Packing module:
- 参考Trello: https://trello.com/c/ireiTayR/24-13-%E5%8C%85%E8%A3%85%E6%89%93%E5%8D%B0-packing-label#comment-68abea5c4de79e7e552e6037
- 自动拼箱 (参考Trello)
- 打印(Print label)(参考Trello)
- Mobile版本的UI (参考Trello: https://trello.com/c/ireiTayR#comment-691fd540fb19754d1d0ce341 )
Database: 参考 #440