From 2f6560b88a15fa0c54d18493cb14fc6d2d115890 Mon Sep 17 00:00:00 2001 From: bach Date: Tue, 20 Sep 2022 21:44:43 +0200 Subject: [PATCH] only one retry for annual licence. Displaying state on licence edit form #1958 --- ...rring.commerce_billing_schedule.annual.yml | 4 +- ..._display.commerce_license.role.default.yml | 39 +++++++++++++++++++ 2 files changed, 40 insertions(+), 3 deletions(-) create mode 100644 config/sync/core.entity_form_display.commerce_license.role.default.yml diff --git a/config/sync/commerce_recurring.commerce_billing_schedule.annual.yml b/config/sync/commerce_recurring.commerce_billing_schedule.annual.yml index 1f5244c6..80b4f1a2 100644 --- a/config/sync/commerce_recurring.commerce_billing_schedule.annual.yml +++ b/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: { } diff --git a/config/sync/core.entity_form_display.commerce_license.role.default.yml b/config/sync/core.entity_form_display.commerce_license.role.default.yml new file mode 100644 index 00000000..60d3322d --- /dev/null +++ b/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: { }