Fix beneficiaries issue with File numbers
This commit is contained in:
parent
58f5a23d1d
commit
203aadaee1
|
@ -19,6 +19,7 @@ COPY . .
|
||||||
|
|
||||||
RUN go mod download && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /server
|
RUN go mod download && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /server
|
||||||
|
|
||||||
|
RUN rm -r themes/*
|
||||||
RUN git clone --depth 1 https://git.coopgo.io/coopgo-apps/parcoursmob-default-theme themes/default
|
RUN git clone --depth 1 https://git.coopgo.io/coopgo-apps/parcoursmob-default-theme themes/default
|
||||||
RUN git clone -b spie06 --depth 1 https://git.coopgo.io/coopgo-apps/parcoursmob-default-theme themes/spie06
|
RUN git clone -b spie06 --depth 1 https://git.coopgo.io/coopgo-apps/parcoursmob-default-theme themes/spie06
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ type BeneficiariesForm struct {
|
||||||
Email string `json:"email" validate:"required,email"`
|
Email string `json:"email" validate:"required,email"`
|
||||||
Birthdate *time.Time `json:"birthdate" validate:"required"`
|
Birthdate *time.Time `json:"birthdate" validate:"required"`
|
||||||
PhoneNumber string `json:"phone_number" validate:"required,phoneNumber"`
|
PhoneNumber string `json:"phone_number" validate:"required,phoneNumber"`
|
||||||
FileNumber string `json:"file_number" validate:"required"`
|
FileNumber string `json:"file_number"`
|
||||||
Address any `json:"address,omitempty"`
|
Address any `json:"address,omitempty"`
|
||||||
Gender string `json:"gender"`
|
Gender string `json:"gender"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue