Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Give option to give formatter arguments #6

Closed
peterjaap opened this issue Jul 11, 2018 · 2 comments
Closed

Give option to give formatter arguments #6

peterjaap opened this issue Jul 11, 2018 · 2 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@peterjaap
Copy link
Contributor

For example;

randomNumber($nbDigits = NULL, $strict = false) // 79907610

We should be able to set $nbDigits and $strict somehow in our yaml definition.

@peterjaap peterjaap added help wanted Extra attention is needed good first issue Good for newcomers labels Jul 11, 2018
@peterjaap
Copy link
Contributor Author

Closed by #16

@peterjaap
Copy link
Contributor Author

For example;

creditmemo:
  sales_creditmemo:
    columns:
      customer_note:
        formatter:
          name: sentence
      transaction_id:
        formatter:
          name: randomNumber
          nbDigits: 8

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant