Skip to content

Commit

Permalink
1.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Apr 7, 2024
1 parent 192af1a commit 9ddae56
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions Test/Basic.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,16 @@ function t02_orders_stripe():void {
$a['id'], $a['country']
];}, df_oro_get_list('customers', [], [], true));
$websites = array_values(df_map(
df_sort_l(
df_sort(
array_filter(
df_oro_get_list('orders', ['product' => 1], ['website'], true)['included']
,function(array $a):bool {return
'extenddfwebsites' === $a['type']
&& 'magento_2' === dfa_deep($a, 'relationships/platform/data/id')
;}
), '', function(array $a):string {return dfa_deep($a, 'attributes/domain');}
)
,function(array $a):string {return dfa_deep($a, 'attributes/domain');}
,true
), function(array $a) use($customers):array {$at = $a['attributes']; return [
'country' => $customers[dfa_deep($a, 'relationships/dfcustomer_websites/data/id')]
,'edition' => $at['m2_is_enterprise'] ? 'Enterprise' : 'Community'
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/oro"
,"version": "1.2.4"
,"version": "1.2.5"
,"description": "Oro Platform integration with Magento 2"
,"type": "magento2-module"
,"homepage": "https://oplatform.club"
Expand All @@ -11,6 +11,6 @@
"homepage": "https://upwork.com/fl/mage2pro",
"role": "Developer"
}]
,"require": {"mage2pro/core": ">=10.8.2"}
,"require": {"mage2pro/core": ">=10.8.3"}
,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\Oro\\": ""}}
}

0 comments on commit 9ddae56

Please sign in to comment.