Merge pull request 'phase-edit-fix: добавил право на редактирование justification в форме 4' (#135) from phase-edit-fix into test
Reviewed-on: #135
This commit is contained in:
commit
cff0bc2283
@ -41,7 +41,7 @@ class FormType(Base):
|
|||||||
FormTypeEnum.FORM_1: ["plan", "contract_summary", "allocation", "sequestration", "reserve", "approved", "collegial", "ckk", "contract_detail", "q1", "q2", "q3", "q4", "totals"],
|
FormTypeEnum.FORM_1: ["plan", "contract_summary", "allocation", "sequestration", "reserve", "approved", "collegial", "ckk", "contract_detail", "q1", "q2", "q3", "q4", "totals"],
|
||||||
FormTypeEnum.FORM_2: ["plan", "seq_dfip", "seq_ssp", "approved", "contract", "booking", "q1", "q2", "q3", "q4", "totals", "contract_summary", "allocation", "collegial", "ckk", "fact_q1", "fact_q2", "fact_q3", "fact_q4"],
|
FormTypeEnum.FORM_2: ["plan", "seq_dfip", "seq_ssp", "approved", "contract", "booking", "q1", "q2", "q3", "q4", "totals", "contract_summary", "allocation", "collegial", "ckk", "fact_q1", "fact_q2", "fact_q3", "fact_q4"],
|
||||||
FormTypeEnum.FORM_3: ["q1", "q2", "q3", "q4", "year"],
|
FormTypeEnum.FORM_3: ["q1", "q2", "q3", "q4", "year"],
|
||||||
FormTypeEnum.FORM_4: ["plan", "seq_dfip", "approved", "contract", "booking", "q1", "q2", "q3", "q4", "totals", "contract_summary", "allocation", "reserve", "collegial", "ckk"],
|
FormTypeEnum.FORM_4: ["header", "plan", "seq_dfip", "approved", "contract", "booking", "q1", "q2", "q3", "q4", "totals", "contract_summary", "allocation", "reserve", "collegial", "ckk"],
|
||||||
}
|
}
|
||||||
|
|
||||||
_sheet_list_with_directions = {
|
_sheet_list_with_directions = {
|
||||||
|
|||||||
@ -3,7 +3,7 @@ import enum
|
|||||||
from typing import Any, Dict, Generic, List, Literal, Optional, TypeVar
|
from typing import Any, Dict, Generic, List, Literal, Optional, TypeVar
|
||||||
from sqlalchemy.exc import MissingGreenlet
|
from sqlalchemy.exc import MissingGreenlet
|
||||||
|
|
||||||
FormPhaseRole = Literal["DFIP", "EXECUTOR_RF", "ADMIN"]
|
FormPhaseRole = Literal["DFIP", "EXECUTOR_RF", "ADMIN", "DURRS"]
|
||||||
|
|
||||||
|
|
||||||
from pydantic import BaseModel, ConfigDict, EmailStr, Field, field_validator, model_validator
|
from pydantic import BaseModel, ConfigDict, EmailStr, Field, field_validator, model_validator
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user