Opened 14 years ago
Closed 10 years ago
#6268 closed enhancement (fixed)
[Draft patch] Payment keys are outdated
Reported by: | flaimo | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 15.02 |
Component: | Internal preset | Version: | tested |
Keywords: | Cc: | Stemby |
Description (last modified by )
payment keys have been changed to a strict yes/no/interval list. josm should be updated to reflect those changes in the autocomplete list of keys as well as affected presets (fuel for example).
Attachments (2)
Change History (28)
comment:1 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:2 by , 14 years ago
- it isn't used on the dialog for fuel stations, that was my mistake; i thought i saw it there. i checked again and it is used on the preset dialog for public transport vending machines for example. besides the fact that the current dialog produces tags that were also wrong after the old notation (payment:credit_cards=yes was never correct, since it expected a list of credit cards instead of "yes"), the checkboxes there should be changed to payment:visa, payment:mastercard, and so on… . see the wiki page for the current list of keys.
- same thing for the keys in the autocomplete list when adding a new key/value entry. all keys that used to expect a list of entries as a value (payment:credit_cards, payment:debit_cards, …) now have been split up into yes/no keys (payment:visa, payment:maestro,…)
comment:4 by , 14 years ago
Component: | Core → Internal preset |
---|---|
Version: | → tested |
comment:5 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | needinfo → new |
comment:6 by , 14 years ago
ok, i went through the preset xml. i think the following payment lines should replace the old ones:
item name="Fuel"
<space /> <label text="Payment methods: Cash" /> <check key="payment:coins" text="Coins" default="off" /> <check key="payment:notes" text="Notes" default="off" /> <check key="payment:cash" text="Cash (Shortcut for Coins and Notes)" default="on" /> <space /> <label text="Payment methods: Debit cards" /> <check key="payment:maestro" text="Maestro" default="off" /> <check key="payment:laser" text="Laser" default="off" /> <space /> <label text="Payment methods: Credit cards" /> <check key="payment:mastercard" text="Mastercard" default="off" /> <check key="payment:visa" text="Visa" default="off" /> <check key="payment:american_express" text="American Express" default="off" /> <check key="payment:discover_card" text="Discover Card" default="off" /> <space /> <label text="Payment methods: Fuel cards" /> <check key="payment:dkv" text="DKV" default="off" /> <check key="payment:uta" text="UTA" default="off" /> <check key="payment:routex" text="Routex" default="off" /> <check key="payment:roadrunner" text="Roadrunner" default="off" /> <check key="payment:svg" text="SVG" default="off" />
item name="Ticket Machine"
<label text="Payment methods: Cash" /> <check key="payment:coins" text="Coins" default="off" /> <check key="payment:notes" text="Notes" default="off" /> <space /> <label text="Payment methods: Debit cards" /> <check key="payment:maestro" text="Maestro" default="off" /> <check key="payment:laser" text="Laser" default="off" /> <space /> <label text="Payment methods: Credit cards" /> <check key="payment:mastercard" text="Mastercard" default="off" /> <check key="payment:visa" text="Visa" default="off" /> <check key="payment:american_express" text="American Express" default="off" /> <check key="payment:discover_card" text="Discover Card" default="off" /> <space /> <label text="Payment methods: Public transport" /> <check key="payment:oyster" text="Oyster" default="off" /> <check key="payment:bob" text="Bob" default="off" />
item name="Telephone"
<label text="Payment methods: Cash" /> <check key="payment:coins" text="Coins" default="off" /> <check key="payment:notes" text="Notes" default="off" /> <space /> <label text="Payment methods: Debit cards" /> <check key="payment:maestro" text="Maestro" default="off" /> <check key="payment:laser" text="Laser" default="off" /> <space /> <label text="Payment methods: Credit cards" /> <check key="payment:mastercard" text="Mastercard" default="off" /> <check key="payment:visa" text="Visa" default="off" /> <check key="payment:american_express" text="American Express" default="off" /> <check key="payment:discover_card" text="Discover Card" default="off" /> <space /> <label text="Payment methods: Other" /> <check key="payment:telephone_card" text="Telephone card" default="off" />
item name="Vending machine"
<label text="Payment methods: Cash" /> <check key="payment:coins" text="Coins" default="off" /> <check key="payment:notes" text="Notes" default="off" /> <space /> <label text="Payment methods: Debit cards" /> <check key="payment:maestro" text="Maestro" default="off" /> <check key="payment:laser" text="Laser" default="off" /> <space /> <label text="Payment methods: Credit cards" /> <check key="payment:mastercard" text="Mastercard" default="off" /> <check key="payment:visa" text="Visa" default="off" /> <check key="payment:american_express" text="American Express" default="off" /> <check key="payment:discover_card" text="Discover Card" default="off" />
comment:8 by , 12 years ago
Description: | modified (diff) |
---|
The list of different payment keys did grow.
- Do we need an own preset entry ?
- How to handle country specific keys ?
- The preset for
amenity=fuel
will not fit on many screens if I would add payment keys. Is there a possibility to get two checkboxes in a column (#8735) ?
comment:9 by , 12 years ago
Cc: | added |
---|
comment:10 by , 12 years ago
I did play with ticket_machine
:
- I am not sure how to handle the old keys which are still valid with
no
as value to indicate that this payment type is not accepted. - The "Electronic Purses and Charge cards" part is nasty, too, as we probably need only one entry per country, but I do not know how we could get it working this way.
Find attached first patch and have a look at the screenshot:
follow-ups: 13 14 comment:12 by , 12 years ago
This is really nice, but huge.
I wonder if we should not first made some other improvements to presets mechanism, such as #8958, and maybe collapsable sections that user could show/hide dynamically inside presets window (example for payment methods)
comment:13 by , 12 years ago
comment:14 by , 12 years ago
Replying to Don-vip:
This is really nice, but huge.
+1,
I would for sure use the new separator for the payment section but that would even introduce one or two more line though dropping the repeated text.
Ok, I will try to work on some other tickets and to understand validator.
I wonder if we should not first made some other improvements to presets mechanism, such as #8958, and maybe collapsable sections that user could show/hide dynamically inside presets window (example for payment methods)
+1, for collapsable.
#8958 is not that important as I would prefer #8959 (#7797) width option to parse collaps status of sections.
#6990 should also have a higher priority to get multivalues better promoted and for sure my baby would be #8891.
comment:15 by , 11 years ago
Summary: | Payment keys are outdated → [Draft patch] Payment keys are outdated |
---|
comment:17 by , 11 years ago
Type: | defect → enhancement |
---|
comment:18 by , 11 years ago
As collapsable sections are not available, yet, we could have an own preset for each payment method and use inter-preset links.
comment:19 by , 10 years ago
Milestone: | → 15.02 |
---|
follow-up: 23 comment:22 by , 10 years ago
Replying to Klumbumbus:
In 8059/josm:
Thanks, though I think the public_transport stuff should have an own preset like the telephone cards.
follow-up: 25 comment:23 by , 10 years ago
Replying to skyper:
Thanks, though I think the public_transport stuff should have an own preset like the telephone cards.
I don't really understand, can you explain a bit more please?
Actually I will remove some of the public_transport payment methods again since they are not really used.
- payment:oyster used 0x
- payment:bob used 1x
- payment:sube used 0x
- payment:icsf used 54x (last edited by 5 different users)
comment:24 by , 10 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:25 by , 10 years ago
Replying to Klumbumbus:
Replying to skyper:
Thanks, though I think the public_transport stuff should have an own preset like the telephone cards.
I don't really understand, can you explain a bit more please?
I meant, that public_transport payment methods are only useful for certain items and should not be included in the general payment preset chunk but only in a chunk for public_transport related stuff. Same is true for fuel_cards or telephone_cards which are only useful on gas stations respectively phones.
JOSM only uses checkboxes for payments (and thus yes/no only), so what do you request?