Commit graph

27 commits

Author SHA1 Message Date
Vesa Luusua
a7b7c58d80 Extract transaction related code to its own util file
from types.js
2019-01-30 14:20:59 +02:00
Kimmo Puputti
565a32f3c9 Rename transition/review/message attribute at to createdAt 2018-04-18 15:45:10 +03:00
Hannu Lyytikainen
bc3f767c9b Add a booking breakdown example for units type 2018-03-13 14:11:58 +02:00
Kimmo Puputti
0b77b9070b Transition ref rename: mark delivered -> complete 2018-01-11 15:05:41 +02:00
Kimmo Puputti
6a84e89459 Transition ref rename: remove TX_ prefix 2018-01-11 14:56:47 +02:00
Kimmo Puputti
c249491152 Transition ref rename: auto decline -> expire 2018-01-11 14:45:08 +02:00
Kimmo Puputti
135a6dab7e Transition ref rename: preauthorize -> request 2018-01-11 14:43:43 +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
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
Kimmo Puputti
186005dfd3 Improve wrong currency handling 2017-11-29 10:02:15 +02:00
Hannu Lyytikainen
1292484476 Add tx transitions to test data 2017-11-17 14:20:52 +02:00
Vesa Luusua
23b729db45 Add test for canceled Booking breakdown 2017-10-26 14:55:05 +03:00
Vesa Luusua
4b85ce658b API returns reversal flag, our tests should give it too 2017-10-19 15:23:13 +03:00
Sampo Toiva
64f8bcaf88 Transactions can be declined not rejected 2017-10-12 19:04:13 +03:00
Kimmo Puputti
fa359f0826 Add breakdown examples for all provider tx states 2017-10-02 15:50:38 +03:00
Kimmo Puputti
0c7b8ca355 Use transaction lastTransition instead of state 2017-10-02 15:50:38 +03:00
Kimmo Puputti
fb305e42fe Use the whole tx and booking objects breakdown 2017-09-05 15:40:28 +03:00
Kimmo Puputti
f610add431 Change breakdown texts based on tx state 2017-08-30 11:00:15 +03:00
Mikko Koski
47e9adb85b Update line item code keywords 2017-07-02 10:23:39 +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
Kimmo Puputti
fef33ac278 Add breakdown styles 2017-06-29 15:33:25 +03:00
Kimmo Puputti
0c5847b3f3 Move total/subtotal calculation out from breakdown component 2017-06-29 11:13:28 +03:00
Kimmo Puputti
4971edafb5 Rename BookingInfo refs to BookingBreakdown 2017-06-29 11:13:28 +03:00
Kimmo Puputti
6b99e1f5a7 Rename BookingInfo to BookingBreakdown 2017-06-29 11:13:28 +03:00
Renamed from src/components/BookingInfo/BookingInfo.example.js (Browse further)