ncc-erp / ncc-erp-project

Tool ERP-Project
MIT License
3 stars 2 forks source link

Resource Request: improvement #251

Open tiennguyenhuuncc opened 6 days ago

tiennguyenhuuncc commented 6 days ago

1. Thêm menu và page: Admin > CV Status - page CV Status như sau: image image image tham khảo: https://dev-checkpointv2.nccsoft.vn/app/categories/flags?pageNumber=1&pageSize=20&searchText=&filterItems=%5B%5D (admin/123qwe)

  1. Update page Resource Request image

    • Sửa table ResourceRequestCV thêm khóa ngoại: CVStatusId, not null
    • Khi thêm mới CV cho request: SendCV Date, Interview Time nếu ko nhập gì -> hiển thị empty trên UI, hiện tại đang ăn theo now()
    • UI của CV Status sẽ có màu tương ứng theo data trong table CVStatus, vd như ảnh sau image
  2. Auto tạo thread bên mezon khi thêm mới request

    • 3.1 Tạo thread ở channel sau: https://mezon.ai/invite/1838857026558496768
    • 3.2 Đưa sale-support-resource channel Id 1838857026558496768 vào setting lưu trong db ( tham khảo cách get và set setting từ db ở mục trong ảnh dưới đây) image
    • 3.3 Click vào btn Setting trong ảnh sau để view và update sale-support-resource channel Id image
    • 3.4 Tạo thread có tên là ResourceRequest.Code, nếu tồn tại thread có tên như vậy rồi thì đưa ra thông báo lỗi
    • 3.5 Khi tạo thread thành công thì gửi notice tới thread theo template sau: ResourceRequest.Description

@a.tranvan, @b.tranvan

tag những ai theo setting ở 3.3, UI như sau image

tiennguyenhuuncc commented 1 day ago

mỗi mục 1,2,3 có 1 pr, như vậy tổng là 3 pr mục 3 tham khảo bên timesheet image