Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Phone

    • default :

      Code Block
      "phoneValidation": {
        "regex": /^[0-9]*$/,
        "regexMsg": {
            "en": "Invalid phone number",
            "fr": "Numéro de téléphone invalide"
        }
      }
  • Fax

    • default:

      Code Block
      "faxValidation", {
          "regex": /^[0-9]{8,9}$/,
          "regexMsg": {
              "en": "Invalid fax number",
              "fr": "Numéro de fax invalide"
          }
      }
  • PaymentReference

    • default:

      Code Block
      "paymentReferenceValidation", {
          "regex": /.+/,
          "regexMsg": {
              "en": "Invalid payment reference",
              "fr": "Référence de payement invalide"
          }
      }
  • AccountancyAccount

    • default:

      Code Block
      "accountancyAccountValidation", {
          "regex": /.+/,
          "regexMsg": {
              "en": "Invalid accountancy account",
              "fr": "Numéro de compte comptable invalide"
          }
      }

phoneRegexMsg ={“fr“:”Numéro de téléphone invalide”, “en“: “Invalid phone number”}

faxRegexMsg = {“fr“:”Numéro de fax invalide”, “en“: “Invalid fax number ”}

paymentReferenceRegexMsg ={“fr“:”Référence de payement invalide”, “en“: “Invalid payment reference”}

accoutancyAccountRegexMsg ={“fr“:”Numéro de compte comptable invalide”, “en“: “Invalid accountancy account”}

The PolicyHolder card

General Information

...

  • Code (varchar) (Mandatory, not editable once created)

  • TradeName (varchar) (Mandatory)

  • LocationsUUID (fk tblLocations) - (location contribution_fe) (Mandatory)

  • Address (json): multiline TextInput

  • Phone (varchar): string + configurable Regex (default Regex : ^[0-9]*$) for validation/constraint

  • Fax (varchar): + configurable Regex for validation/constraint (for the testing we could use something like ^[0-9]{8,9}$)

  • Email (varchar): + std email field validation

  • ContactName (json)

  • LegalForm (configEnum:legalForm )

  • ActivityCode (configEnum:activity)

  • AccountancyAccount (varchar) + configurable Regex (default Regex : ^.+$) for validation/constraint

  • BankAccount (json)

  • PaymentReference (varchar) + configurable Regex (default Regex: ^.+$) for validation/constraint

  • DateValidFrom (date) (Mandatory)

  • DateValidTo (date)

...