Browse Source

only one retry for annual licence. Displaying state on licence edit form #1958

bach 2 years ago
parent
commit
2f6560b88a

+ 1 - 3
config/sync/commerce_recurring.commerce_billing_schedule.annual.yml

@@ -8,14 +8,12 @@ displayLabel: Annual
 billingType: prepaid
 retrySchedule:
   - 1
-  - 3
-  - 5
 unpaidSubscriptionState: canceled
 plugin: rolling
 configuration:
   trial_interval: {  }
   interval:
     number: 1
-    unit: year
+    unit: month
 prorater: full_price
 proraterConfiguration: {  }

+ 39 - 0
config/sync/core.entity_form_display.commerce_license.role.default.yml

@@ -0,0 +1,39 @@
+uuid: 0d6fcab7-f639-4dbc-a0d2-bc0e0a45dd76
+langcode: fr
+status: true
+dependencies:
+  module:
+    - commerce
+    - commerce_license
+id: commerce_license.role.default
+targetEntityType: commerce_license
+bundle: role
+mode: default
+content:
+  product_variation:
+    type: entity_reference_autocomplete
+    weight: 0
+    region: content
+    settings:
+      match_operator: CONTAINS
+      match_limit: 10
+      size: 60
+      placeholder: ''
+    third_party_settings: {  }
+  state:
+    type: options_select
+    weight: 2
+    region: content
+    settings: {  }
+    third_party_settings: {  }
+  uid:
+    type: entity_reference_autocomplete
+    weight: 1
+    region: content
+    settings:
+      match_operator: CONTAINS
+      match_limit: 10
+      size: 60
+      placeholder: ''
+    third_party_settings: {  }
+hidden: {  }