Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Generate Contract

Đang mở
#367 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
20/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
typescript
Lĩnh vực
backend, frontend

Hướng nghiên cứu

Bắt đầu bằng cách xem xét wizard tạo hợp đồng đã mô tả và các tham chiếu Figma được liên kết cho các bước 1–3. Xác nhận bước thứ tư và thứ năm còn thiếu, giải quyết mục đang chờ xử lý trong luồng chính, và xác minh các tiêu chí chấp nhận cho việc chọn template, liên kết tình nguyện viên và số lần sử dụng template trước khi triển khai.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement :rocket: web-app
  • #381

User Story

As user, I want to generate a contract for volunteers using a predefined template so that the contract creation process is efficient and aligned with the organization's needs.

Description

The system allows users to generate contracts for volunteers by following a step-by-step wizard.

The process starts with selecting a template and then choosing the volunteers to whom the contract will be applied. This ensures that all contracts are consistent and tailored to the appropriate volunteer roles.

Actors

  • Web Users

Preconditions

  • The user navigates to the "Contracte" section under "Documente".

Main Flow

  1. User clicks the 'Genereaza contract' button
  2. The system displays a list of available contract templates.
  3. The administrator selects a template from the list and proceed to the next step
  4. The system displays a list of volunteers
  5. User selects one or more volunteers to whom the contract will be applied and proceed to the next step
  6. The system presents a form to the user for entering contract details
  7. The user can either input these details individually for each volunteer or apply them to all selected volunteers at once using the "Aplică pentru toate" feature.
  8. [IN PENDING]

Business Rules

  1. The user must select a contract template before proceeding to the volunteer selection.
  2. The step banner functions as a breadcrumb, allowing the user to click on and navigate to any completed step in the wizard.
  3. The user should be able to navigate back and forth through the wizard using the "Pasul anterior" and "Pasul următor" buttons.
  4. In the first and second steps of the wizard, the user must make at least one selection before they can proceed to the next step.

Acceptance Criteria

  1. The system displays a list of all available contract templates for selection.
  2. The system displays a list of all available volunteers, showing their details accurately.
  3. The contract is generated successfully, with all selected volunteers associated with the newly created contract.
  4. The system updates the usage count of the selected template after the contract is finalized.

Additional Information

  • Figma references:
    • Step 1: here
    • Step 2: here
    • Step 3: here
    • Step 4: missing from design
    • Step 5: missing from design
Ngôn ngữ chính
TypeScript
Star
3
Fork
2
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của code4romania/vic

Tất cả issue của code4romania/vic

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.