Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/2.2.6 #266

Merged
merged 4 commits into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions etc/db_schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@
<column name="description" nullable="true" xsi:type="text" comment="Product description"/>
<column name="plan_id" nullable="true" xsi:type="varchar" comment="Api's id" length="21"/>
<column name="product_id" nullable="true" xsi:type="int" comment="Product in Magento's table" padding="11"/>
<column name="credit_card" nullable="false" xsi:type="char" comment="Accepts credit card" length="1"/>
<column name="installments" nullable="false" xsi:type="char" comment="Accepts installments" length="1"/>
<column name="boleto" nullable="false" xsi:type="char" comment="Accepts boleto" length="1"/>
<column name="credit_card" nullable="false" xsi:type="varchar" comment="Accepts credit card" length="1"/>
<column name="installments" nullable="false" xsi:type="varchar" comment="Accepts installments" length="1"/>
<column name="boleto" nullable="false" xsi:type="varchar" comment="Accepts boleto" length="1"/>
<column name="billing_type" nullable="false" xsi:type="varchar" comment="Prepaid, postpaid or exact_day" length="11"/>
<column name="status" nullable="false" xsi:type="varchar" comment="Active, inactive or deleted" length="11"/>
<column name="trial_period_days" nullable="true" xsi:type="varchar" comment="Trial period in days" length="11"/>
Expand Down
2 changes: 1 addition & 1 deletion view/frontend/web/js/core/checkout/PlatformConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ define([], () => {

availableBrands[i] = {
'title': brands[i],
'image': url
'image': jQuery.isArray(url) ? url.find(element => element.includes('Pagarme')) : url

};
}
Expand Down
Loading