added manual payement

This commit is contained in:
Bachir Soussi Chiadmi 2021-06-21 15:46:10 +02:00
parent 6eb07263d3
commit 580d6f9059
14 changed files with 77 additions and 32 deletions

5
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,5 @@
{
"recommendations": [
"felixfbecker.php-debug"
]
}

26
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,26 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Listen for Xdebug",
"type": "php",
"request": "launch",
"serverSourceRoot":"192.168.0.21"
"port": 9001,
"pathMappings": {
"/var/www/html/d8.materio.com/public_html": "${workspaceFolder}"
},
},
{
"name": "Launch currently open script",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 9001
}
]
}

View File

@ -1,23 +0,0 @@
uuid: 9fd9ac25-5b14-4630-a056-546da6b3b418
langcode: en
status: false
dependencies:
module:
- commerce_cmcic
id: cm_cic
label: CIC-CM
weight: -10
plugin: commerce_cmcic
configuration:
display_label: 'Credit Card via CIC-CM'
mode: test
payment_method_types:
- credit_card
collect_billing_information: true
bank_type: monetico
version: '3.0'
security_key: 7C86189FA72DA637A722BB395BFB9D403D3C7097
tpe: '6277685'
company: materio
conditions: { }
conditionOperator: AND

View File

@ -0,0 +1,19 @@
uuid: f8318796-0261-48b2-9f16-0b127f0cd47f
langcode: fr
status: true
dependencies: { }
id: manual
label: Manuel
weight: null
plugin: manual
configuration:
instructions:
value: ''
format: plain_text
display_label: 'Virement ou chèque'
mode: n/a
payment_method_types:
- credit_card
collect_billing_information: true
conditions: { }
conditionOperator: AND

View File

@ -22,13 +22,13 @@ mode: default
content:
address:
type: address_default
weight: 1
weight: 0
settings: { }
third_party_settings: { }
region: content
tax_number:
type: commerce_tax_number_default
weight: 0
weight: 1
region: content
settings: { }
third_party_settings: { }

View File

@ -23,7 +23,6 @@ module:
commerce_cart: 0
commerce_cart_api: 0
commerce_checkout: 0
commerce_cmcic: 0
commerce_license: 0
commerce_log: 0
commerce_migrate: 0

View File

@ -14,15 +14,16 @@ id: profile.customer.tax_number
field_name: tax_number
entity_type: profile
bundle: customer
label: 'Tax number'
description: ''
label: 'VAT number'
description: 'Intra-community VAT number (to be completed only for professionals outside France)'
required: false
translatable: false
default_value:
- { }
default_value_callback: ''
settings:
countries: { }
countries:
EU: EU
verify: true
allow_unverified: true
field_type: commerce_tax_number

View File

@ -7,7 +7,11 @@ dependencies:
- commerce_tax
module:
- commerce_tax
- field_permissions
- profile
third_party_settings:
field_permissions:
permission_type: public
id: profile.tax_number
field_name: tax_number
entity_type: profile

View File

@ -0,0 +1,2 @@
configuration:
display_label: 'Bank transfer or check'

View File

@ -0,0 +1,2 @@
label: 'numéro de TVA'
description: 'N° de TVA intracommunautaire (à renseigner uniquement pour les professionnels hors France)'

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -2459,8 +2459,18 @@ article.card{
order:2;
background-color: $color-webshowroom;
padding: 1em;
fieldset#edit-payment-information{
#edit-payment-information-add-payment-method{
// display: flex;
// flex-flow: column-reverse;
// #edit-payment-information-add-payment-method-payment-details{
// margin: 1em 0 0;
// }
}
}
label,
legend,
.description,
fieldset#edit-review-contact-information,
fieldset#edit-review-payment-information{
color: #fff;