251225:1703 On going update to 1.7.0: Refoctory drawing Module not finish
Spec Validation / validate-markdown (push) Has been cancelled
Spec Validation / validate-diagrams (push) Has been cancelled
Spec Validation / check-todos (push) Has been cancelled

This commit is contained in:
admin
2025-12-25 17:03:33 +07:00
parent 7db6a003db
commit cd73cc1549
60 changed files with 8201 additions and 832 deletions
@@ -90,8 +90,8 @@ export class DocumentNumberingController {
async previewNumber(@Body() dto: PreviewNumberDto) {
return this.numberingService.previewNumber({
projectId: dto.projectId,
originatorOrganizationId: dto.originatorId,
typeId: dto.typeId,
originatorOrganizationId: dto.originatorOrganizationId,
typeId: dto.correspondenceTypeId,
subTypeId: dto.subTypeId,
rfaTypeId: dto.rfaTypeId,
disciplineId: dto.disciplineId,
@@ -12,12 +12,12 @@ export class PreviewNumberDto {
@ApiProperty({ description: 'Originator organization ID' })
@IsInt()
@Type(() => Number)
originatorId!: number;
originatorOrganizationId!: number;
@ApiProperty({ description: 'Correspondence type ID' })
@IsInt()
@Type(() => Number)
typeId!: number;
correspondenceTypeId!: number;
@ApiPropertyOptional({ description: 'Sub type ID (for TRANSMITTAL)' })
@IsOptional()
@@ -108,8 +108,8 @@ export class FormatService {
'{ORG}': orgCode,
'{RECIPIENT}': recipientCode,
'{DISCIPLINE}': disciplineCode,
'{YEAR}': year.toString().substring(2),
'{YEAR:BE}': (year + 543).toString().substring(2),
'{YEAR}': year.toString(),
'{YEAR:BE}': (year + 543).toString(),
'{REV}': '0',
};
}