Skip to content
Code-Schnipsel Gruppen Projekte
Commit 6933d845 erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

Merge branch 'next-2.x' into 'main'

fix: mobile flex removed

See merge request !116
Übergeordnete b211d07a d07df740
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
2 Merge Requests!117Update 'next-3.x' with latest changes from 'main',!116fix: mobile flex removed
Pipeline-Nr. 11143 mit Warnungen bestanden
......@@ -122,7 +122,7 @@ define('package/quiqqer/order/bin/frontend/Basket', [
const products = basket.products;
// if there are no products yet, merge without query
if (!products.length) {
if (typeof products === 'undefined' || !products.length) {
GlobalBasket.setAttribute('mergeLocalStorage', 1);
GlobalBasket.load().then(function () {
if (QUIQQER_SITE.type !== 'quiqqer/order:types/orderingProcess') {
......
<div name="order">
<div class="quiqqer-order-ordering-timeline">
<div class="quiqqer-order-ordering-timeline" style="display: none">
<div class="quiqqer-order-ordering-timeline-container">
<ul></ul>
</div>
......
......@@ -43,6 +43,7 @@
/** processing / time line
============================================*/
.quiqqer-order-ordering-timeline {
margin-bottom: 2rem;
}
......@@ -389,7 +390,7 @@
}
.quiqqer-order-ordering-nobody-tabNav {
display: flex;
/*display: flex;*/
padding-block: 1rem;
overflow: auto;
white-space: nowrap;
......
......@@ -86,6 +86,10 @@
.quiqqer-order-customerData .qui-select {
width: 100%;
}
.quiqqer-order-customerData-edit-street_no {
flex-flow: wrap !important;
}
}
.quiqqer-order-customerData label [name="street"] {
......
......@@ -464,6 +464,9 @@ public function createOrder(QUI\Interfaces\Users\User $PermissionUser = null): O
['hash' => $Order->getUUID()]
);
// get complete new instance
$Order = new Order($Order->getUUID());
$Order->setAttribute('inOrderCreation', true);
$this->setAttribute('inOrderCreation', true);
......
......@@ -121,10 +121,10 @@ public function __construct(array $attributes = [])
$step = $this->getAttribute('step');
$Order = $this->getOrder();
if (
$Order->getCustomer()->getUUID() !== $User->getUUID()
&& !QUI::getUsers()->isSystemUser($User)
) {
$customerUUID = $Order->getCustomer()->getUUID();
$userUUID = $User->getUUID();
if ($customerUUID !== $userUUID && !QUI::getUsers()->isSystemUser($User)) {
throw new QUI\Permissions\Exception([
'quiqqer/order',
'exception.no.permission.for.this.order'
......
0% Lade oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren