@autobusal/routes-order 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -87,6 +87,13 @@ const Payments = ({ selected, isPartner, t, onChange }: Props): JSX.Element => {
87
87
  { t('routes_order.step5.actions.card') }
88
88
  </ButtonPayment>
89
89
  ) }
90
+
91
+ { (data?.raiffeisen || isPartner) && (
92
+ <ButtonPayment type="button" $selected={ selected === 'raiffeisen' } onClick={ () => onChange('raiffeisen') }>
93
+ <AiOutlineCreditCard />
94
+ { t('routes_order.step5.actions.card') }
95
+ </ButtonPayment>
96
+ ) }
90
97
  </ContainerPayments>
91
98
  </Container>
92
99
  </>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobusal/routes-order",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "type": "module",
5
5
  "main": "index.ts"
6
6
  }
package/types.ts CHANGED
@@ -15,6 +15,7 @@ export interface ActionData {
15
15
  bkt: boolean
16
16
  stripe: boolean
17
17
  mollie: boolean
18
+ raiffeisen: boolean
18
19
  }
19
20
 
20
21
  export interface SaveData {