$positions =
array_chunk($positions,
$this->_document
['pagebreak'
], true
);
$this->_view->
assign('Pages',
$positions);
$user =
[ 'shipping' =>
$order->shipping,
'billing' =>
$order->billing,
'additional' =>
[ 'countryShipping' =>
$order->shipping->country,
'country' =>
$order->billing->country,
],
'attributes' =>
$this->
getUserAttributes($order->userID
),
];
$this->_view->
assign('User',
$user);
} /**
* Loads translations including fallbacks
*
* @param string $languageId
* @param string $type
*
* @return array
*/