完善差旅补助规定与费用类型(07-28-travel-reimbursement-guide)
这个提交包含在:
@@ -21,7 +21,7 @@ function buildTemplate(overrides = {}) {
|
||||
return {
|
||||
id: TEMPLATE_ID,
|
||||
name: "国内差旅报销",
|
||||
description: "机票、火车票与市内交通占位模板",
|
||||
description: "机票、火车票与大巴车票占位模板",
|
||||
items: [
|
||||
{
|
||||
expenseTypeId: EXPENSE_TYPE_ID,
|
||||
|
||||
@@ -60,7 +60,7 @@ function buildTemplate(overrides = {}) {
|
||||
},
|
||||
{
|
||||
expenseTypeId: BUS_TYPE_ID,
|
||||
description: "市内交通占位",
|
||||
description: "大巴车票占位",
|
||||
},
|
||||
],
|
||||
...overrides,
|
||||
@@ -127,7 +127,7 @@ async function buildApp(options = {}) {
|
||||
expenseTypes: options.expenseTypes ?? [
|
||||
{ id: AIRFARE_TYPE_ID, code: "travel_airfare", name: "机票", category: "travel", enabled: true },
|
||||
{ id: TRAIN_TYPE_ID, code: "travel_train", name: "火车票", category: "travel", enabled: true },
|
||||
{ id: BUS_TYPE_ID, code: "travel_bus", name: "市内交通", category: "travel", enabled: true },
|
||||
{ id: BUS_TYPE_ID, code: "travel_bus", name: "大巴车票", category: "travel", enabled: true },
|
||||
{ id: TAXI_TYPE_ID, code: "travel_taxi", name: "打车费", category: "travel", enabled: true },
|
||||
{ id: TRANSPORT_TYPE_ID, code: "transport", name: "legacy-交通费", category: "travel", enabled: true },
|
||||
],
|
||||
|
||||
在新工单中引用
屏蔽一个用户