Skip to content

Commit

Permalink
fix: remove check Quang's accounting
Browse files Browse the repository at this point in the history
  • Loading branch information
lmquang committed Dec 15, 2023
1 parent 7217a46 commit 65f658d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions pkg/handler/payroll/payroll_calculator.go
Original file line number Diff line number Diff line change
Expand Up @@ -428,16 +428,6 @@ func (h *handler) getAccountingExpense(batch int) (res []bcModel.Todo, err error
// find expense in list of todos
for k := range todos {
if len(todos[k].Assignees) == 1 && todos[k].Assignees[0].ID != consts.HanBasecampID {
// HACK: some todo is specific batch only
if strings.Contains(todos[k].Title, "Tiền điện") {
if batch != 1 {
continue
}
} else if strings.Contains(todos[k].Title, "Office Rental") || strings.Contains(todos[k].Title, "CBRE") {
if batch != 15 {
continue
}
}
mu.Lock()
res = append(res, todos[k])
mu.Unlock()
Expand Down

0 comments on commit 65f658d

Please sign in to comment.