Kaynağa Gözat

[Administration] Tiller : correctif synchronisation

feature/souke
Guillaume Bourgeois 11 ay önce
ebeveyn
işleme
b6b26e972c
1 değiştirilmiş dosya ile 10 ekleme ve 3 silme
  1. +10
    -3
      common/logic/Order/Order/Service/TillerManager.php

+ 10
- 3
common/logic/Order/Order/Service/TillerManager.php Dosyayı Görüntüle

@@ -138,8 +138,15 @@ class TillerManager extends AbstractManager
if ($ordersOpendistrib) {
foreach ($ordersOpendistrib as $orderOpendistrib) {
$this->orderBuilder->initOrder($orderOpendistrib);
$ordersOpendistribSynchro[$orderOpendistrib->id] = false;
if (isset($ordersTiller->orders)) {

if($orderOpendistrib->tiller_external_id) {
$ordersOpendistribSynchro[$orderOpendistrib->id] = true;
}
else {
$ordersOpendistribSynchro[$orderOpendistrib->id] = false;
}

/*if (isset($ordersTiller->orders)) {
foreach ($ordersTiller->orders as $orderTiller) {
if ($orderOpendistrib->tiller_external_id == $orderTiller->id) {
$amountTotalPaidOrderOpendistrib = (int)round(
@@ -151,7 +158,7 @@ class TillerManager extends AbstractManager
}
}
}
}
}*/
}
}


Yükleniyor…
İptal
Kaydet