Vesa Luusua
d5ab34226c
Move forms to forms folder (away from src/containers)
2018-05-02 14:38:20 +03:00
Vesa Luusua
fdeba7369b
Refactor BookingDatesForm: use Form connector from Final Form
2018-04-20 13:05:18 +03:00
Kimmo Puputti
c6ed7b3492
Make breakdown estimation into a separate component
2018-04-10 10:40:48 +03:00
Kimmo Puputti
322e65ef41
Move breakdown estimation to a separate file
2018-04-09 15:34:29 +03:00
Vesa Luusua
598c3ab99e
review changes
2018-03-28 23:32:49 +13:00
Vesa Luusua
b2fd6db90a
convert dates to relevant API date / UTC moment
2018-03-27 01:47:30 -11:00
Vesa Luusua
cd0c3932bf
Review changes
2018-02-02 16:25:18 +02:00
Vesa Luusua
c04dca2df3
Update BookingDatesForm to be ready for changes with LINE_ITEM_UNITS
2018-02-02 16:20:35 +02:00
Vesa Luusua
23faad9146
Rename: DateRangeInputField -> FieldDateRangeInput
2018-01-30 13:48:59 +02:00
Kimmo Puputti
135a6dab7e
Transition ref rename: preauthorize -> request
2018-01-11 14:43:43 +02:00
Kimmo Puputti
07c540fd19
Merge pull request #638 from sharetribe/refactor-prop-types
...
Refactor propTypes module
2018-01-11 13:29:35 +02:00
Kimmo Puputti
f0b955dc5b
Refactor propTypes module
...
- Rename types
- Collect propTypes within a named propTypes export
- Use named imports for easier refactoring and customisation later
- Rename sdk types to sdkTypes in imports to avoid confusion
2018-01-11 11:40:03 +02:00
Vesa Luusua
a05595741e
Submit button in mobile is behind browser's bottom bar
2018-01-10 16:36:39 +02:00
Kimmo Puputti
86b7543546
Name the unit type config prop
2018-01-10 14:43:30 +02:00
Kimmo Puputti
9ef9012e7c
Make unitType configurable for stable tests and examples
2018-01-10 13:46:02 +02:00
Kimmo Puputti
4097f7bb9d
Add daily bookings support to BookingDatesForm
2018-01-10 13:46:02 +02:00
Kimmo Puputti
b44828045d
Add support for daily breakdowns
2018-01-03 14:34:31 +02:00
Kimmo Puputti
14763906c5
Make booking unit type configurable
2018-01-03 13:22:17 +02:00
Kimmo Puputti
7a1e589af3
Validate lien items more strictly
2018-01-02 15:34:11 +02:00
Vesa Luusua
7f7b79c60e
Months in short format
2017-12-22 13:15:15 +02:00
Kimmo Puputti
59f1dbbff6
Fix missing transitions attr from fake tx in listing breakdown
2017-11-20 13:31:29 +02:00
Kimmo Puputti
985be6ef7b
Fix missing tx prop
2017-10-26 11:42:18 +03:00
Kimmo Puputti
a996f154d1
Import PropTypes from the prop-types package
2017-10-17 09:50:22 +03:00
Kimmo Puputti
90ab9c9a69
Format with latest Prettier
2017-10-13 10:11:51 +03:00
Kimmo Puputti
78de6d9d69
Disable deprecated proptype import lint error
2017-10-12 14:09:02 +03:00
Hannu Lyytikainen
ae62d9bbbd
Fix booking own listing
...
Event from the form submit handler is also passed to the submit handler
obtained in the props.
2017-10-10 18:24:16 +03:00
Hannu Lyytikainen
8571f329ba
Add a null check for a function from props
...
Also a typo/casing fix to comments
2017-10-10 10:58:29 +03:00
Hannu Lyytikainen
a7f8160091
Move date range picker input names to date utils
2017-10-06 16:26:09 +03:00
Hannu Lyytikainen
5994d56807
Change booking button behaviour
...
If no start or end date is missing for the booking instead of being
disabled the booking button when clicked moves focus to the date picker.
2017-10-06 16:26:09 +03:00
Kimmo Puputti
4a3983f77e
Use Form instead of form
2017-10-05 10:31:41 +03:00
Kimmo Puputti
0c7b8ca355
Use transaction lastTransition instead of state
2017-10-02 15:50:38 +03:00
Kimmo Puputti
340d9c3aea
Merge pull request #380 from sharetribe/closed-listing-status
...
Add listing closed status to listing page
2017-09-07 08:25:15 +03:00
Hannu Lyytikainen
2748d68773
Add own listing text for BookingDatesForm
2017-09-06 15:53:43 +03:00
Kimmo Puputti
fb305e42fe
Use the whole tx and booking objects breakdown
2017-09-05 15:40:28 +03:00
Kimmo Puputti
1b86113895
Change fn name to convey that it only deals with nightly bookings
2017-09-05 12:21:07 +03:00
Kimmo Puputti
9392e7cd85
Create a fake tx object for the breakdown estimation
2017-09-01 14:32:21 +03:00
Kimmo Puputti
5385cc82e2
Use react-intl for date formatting
2017-09-01 14:28:12 +03:00
Kimmo Puputti
1b64089f0a
Add missing tx state
2017-08-31 11:34:45 +03:00
Kimmo Puputti
178937ab27
Try not to pass around subUnitDivisor
2017-08-28 11:14:22 +03:00
Kimmo Puputti
55e9574ce8
Avoid passing around currencyConfig
2017-08-25 10:59:15 +03:00
Kimmo Puputti
a214a04901
Remove subUnitDivisor from convertMoneyToNumber params
2017-08-25 10:09:52 +03:00
Vesa Luusua
90302b7687
Don't show price breakdown title without breakdown
2017-07-05 15:51:15 +03:00
Vesa Luusua
8c7fcb62a1
BookingDatesForm had a missig price breakdown title
2017-07-04 16:22:02 +03:00
Vesa Luusua
29458624fe
BookingDatesForm fixed to follow design.
2017-07-03 12:23:21 +03:00
Vesa Luusua
adcc5f9277
run prettier
2017-07-02 10:24:46 +03:00
Mikko Koski
096af7c766
Fix merge conflicts and run prettier
2017-07-02 10:23:37 +03:00
Mikko Koski
5ac536a5ae
Update tests and test data
2017-07-02 10:22:26 +03:00
Mikko Koski
227aef9cf5
Make pretransaction breakdown to use line items
2017-07-02 10:03:35 +03:00
Vesa Luusua
2fe32ee55b
BookingDatesForm changed to take in DateRangeInputField
2017-06-30 11:28:25 +03:00
Kimmo Puputti
3c2b0f528f
Remove pristine check from disabled state
2017-06-29 15:33:25 +03:00