Commit graph

6 commits

Author SHA1 Message Date
Liordino Neto
f9be68f98a fix: make table fields show a '-' instead of an empty string when the
col content is null

fix: make all notifications fields optional

fix: make the notifications overrides fields valid only if the machine/
cryptocurrency and at least one of the other options are filled
2020-10-15 21:24:40 +02:00
Liordino Neto
3c0f4ec194 feat: Prevent leaving the page without saving (#431)
* fix: make all fields required on the Terms & Conditions page if Show on
screen is enabled

fix: enable/disable the Terms & Conditions form based on the Show on
screen toggle

fix: replaced deactivated field with plain text when not editing

fix: make de non editable text content field scrollable

style: make it follow the same style as the other screens, with the edit
button and links to save and cancel

feat: created Prompt component to avoid leaving pages without saving

feat: applied component to the editable table

feat: applied component to the Cashout, Commissions, Locales, Cashboxes,
Notifications, CryptoBalanceOverrides and Wallet pages

feat: applied component to the ContactInfo and ReceiptPrinting pages

refactor: export the default prompt message to be used in other contexts

fix: applied prompt component to the Operator Info pages

fix: create routes for the operator info components

feat: applied the Prompt component to the Contact Info and Receipt pages

feat: applied the Prompt component to the Terms & Conditions page

* refactor: move prompt to components

* feat: use formik on the boolean properties table

* chore: removed console.logs

chore: removed comments

refactor: moved BooleanCell to the BooleanPropertiesTable file and make
it not a formik field
2020-09-21 12:45:29 +01:00
Liordino Neto
8564c8b727 fix: replaced ternary operator with a more readable expression on the
percentage calculation
2020-09-02 12:29:01 +02:00
Liordino Neto
112544fc75 fix: increased width of inputs so they doesn't cut off text
fix: reenabled the cash-out display component with 500 notes max bot and top

fix: fixed repeated import on new-admin config accounts

feat: reenabled the cash-out display component
2020-09-02 12:29:01 +02:00
Taranto
ec73f0b022 fix: flat schema on operator info pages 2020-05-09 20:14:43 +01:00
Taranto
ffa8713ee4 feat: notifications rework 2020-04-23 18:38:29 +02:00