ajustes al formulario de organizaciones
This commit is contained in:
@@ -99,18 +99,14 @@ export const trainingSurveys = t.pgTable(
|
||||
.notNull()
|
||||
.default(''),
|
||||
communeSpokespersonCedula: t
|
||||
.text('commune_spokesperson_cedula')
|
||||
.notNull()
|
||||
.default(''),
|
||||
.text('commune_spokesperson_cedula'),
|
||||
communeSpokespersonRif: t
|
||||
.text('commune_spokesperson_rif')
|
||||
.notNull()
|
||||
.default(''),
|
||||
.text('commune_spokesperson_rif'),
|
||||
communeSpokespersonPhone: t
|
||||
.text('commune_spokesperson_phone')
|
||||
.notNull()
|
||||
.default(''),
|
||||
communeEmail: t.text('commune_email').notNull().default(''),
|
||||
communeEmail: t.text('commune_email'),
|
||||
communalCouncil: t.text('communal_council').notNull(),
|
||||
siturCodeCommunalCouncil: t.text('situr_code_communal_council').notNull(),
|
||||
communalCouncilRif: t.text('communal_council_rif').notNull().default(''),
|
||||
@@ -119,13 +115,9 @@ export const trainingSurveys = t.pgTable(
|
||||
.notNull()
|
||||
.default(''),
|
||||
communalCouncilSpokespersonCedula: t
|
||||
.text('communal_council_spokesperson_cedula')
|
||||
.notNull()
|
||||
.default(''),
|
||||
.text('communal_council_spokesperson_cedula'),
|
||||
communalCouncilSpokespersonRif: t
|
||||
.text('communal_council_spokesperson_rif')
|
||||
.notNull()
|
||||
.default(''),
|
||||
.text('communal_council_spokesperson_rif'),
|
||||
communalCouncilSpokespersonPhone: t
|
||||
.text('communal_council_spokesperson_phone')
|
||||
.notNull()
|
||||
|
||||
@@ -30,11 +30,11 @@ export class CreateTrainingDto {
|
||||
|
||||
// === 2. DATOS OSP ===
|
||||
@ApiProperty()
|
||||
@IsString()
|
||||
@IsOptional()
|
||||
ospName: string;
|
||||
|
||||
@ApiProperty()
|
||||
@IsString()
|
||||
@IsOptional()
|
||||
ospRif: string;
|
||||
|
||||
@ApiProperty()
|
||||
@@ -165,20 +165,13 @@ export class CreateTrainingDto {
|
||||
@IsString()
|
||||
communeSpokespersonName: string;
|
||||
|
||||
@ApiProperty()
|
||||
@IsString()
|
||||
communeSpokespersonCedula: string;
|
||||
|
||||
@ApiProperty()
|
||||
@IsString()
|
||||
communeSpokespersonRif: string;
|
||||
|
||||
@ApiProperty()
|
||||
@IsString()
|
||||
communeSpokespersonPhone: string;
|
||||
|
||||
@ApiProperty()
|
||||
@IsString()
|
||||
@IsOptional()
|
||||
communeEmail: string;
|
||||
|
||||
@ApiProperty()
|
||||
@@ -197,14 +190,6 @@ export class CreateTrainingDto {
|
||||
@IsString()
|
||||
communalCouncilSpokespersonName: string;
|
||||
|
||||
@ApiProperty()
|
||||
@IsString()
|
||||
communalCouncilSpokespersonCedula: string;
|
||||
|
||||
@ApiProperty()
|
||||
@IsString()
|
||||
communalCouncilSpokespersonRif: string;
|
||||
|
||||
@ApiProperty()
|
||||
@IsString()
|
||||
communalCouncilSpokespersonPhone: string;
|
||||
|
||||
Reference in New Issue
Block a user