追加功能 #443
v4.0: Order detail - Step 1
Start date:
12/25/2024
Due date:
02/14/2025
% Done:
100%
Estimated time:
80.00 h
Description
Background
- New requirement for v4.0 OTS
See: OneDrive\赤蓝商贸(上海)有限公司\Shanghai Group - IT\开发相关\OTS V4\开发需求
- List the functions related to the order Detail
No Function D/M R/W Done/To-Do Others 1 Display order detail D/M R Done - 2 Upload/download/remove attach files D/M R/W To-Do - 3 Upload/download/remove product proof images D/M R/W To-Do - 4 Edit order D/M W To-Do - 5 Add/Remove order D/M W To-Do -
- Order detail: mobile
- Extra:
- Update order_history: Only order_status is changed -> update order_history
- mobile (page 16): order detail 中的input date应为订单级别还是子订单级别:
方案1. 同order list为子订单级别: 则这个信息需要随着区域二的子订单来切换为当前子订单的创建日期
方案2. 订单级别:则可按word需求,这部分固定不变
A: 订单级别,即order的create date。
- Git提交
#xxx(redmine number): xxx(redmine title) - xxx(任意:补充内容)
- 代码规范
2.1: 结构:Public -> Protected -> Private
2.2: 其他代码规范同SBX
- 数据层规范(Model)
3.1: 数据库操作只应出现在model或者system中。
3.2: v3/v4的model分为两个文件,比如: order.php, order_v3.php
- 前台代码
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