src/Networks/Affilinet.php 1 location
|
@@ 195-200 (lines=6) @@
|
192 |
|
public function getSales(\DateTime $dateFrom, \DateTime $dateTo, array $arrMerchantID = array()): array |
193 |
|
{ |
194 |
|
$arrResult = array(); |
195 |
|
if (count( $arrMerchantID ) < 1) { |
196 |
|
$merchants = $this->getMerchants(); |
197 |
|
foreach ($merchants as $merchant) { |
198 |
|
$arrMerchantID[$merchant->merchant_ID] = ['cid' => $merchant->merchant_ID, 'name' => $merchant->name]; |
199 |
|
} |
200 |
|
} |
201 |
|
$transactionList = $this->_network->getTransactionList($arrMerchantID, $dateFrom,$dateTo); |
202 |
|
//echo "<br>merchants id array<br>".print_r($arrMerchantID); |
203 |
|
//$counter=0; |
src/Networks/Publicideas.php 1 location
|
@@ 165-170 (lines=6) @@
|
162 |
|
return array(); |
163 |
|
} |
164 |
|
$arrResult = array(); |
165 |
|
if (count( $arrMerchantID ) < 1) { |
166 |
|
$merchants = $this->getMerchants(); |
167 |
|
foreach ($merchants as $merchant) { |
168 |
|
$arrMerchantID[$merchant->merchant_ID] = ['cid' => $merchant->merchant_ID, 'name' => $merchant->name]; |
169 |
|
} |
170 |
|
} |
171 |
|
$transactionList = $this->_network->getTransactionList($arrMerchantID, $dateFrom, $dateTo); |
172 |
|
//$i=0; |
173 |
|
foreach($transactionList as $transaction) { |
src/Networks/TradeDoublerWhitelabel.php 1 location
|
@@ 192-197 (lines=6) @@
|
189 |
|
return array(); |
190 |
|
} |
191 |
|
$arrResult = array(); |
192 |
|
if (count( $arrMerchantID ) < 1) { |
193 |
|
$merchants = $this->getMerchants(); |
194 |
|
foreach ($merchants as $merchant) { |
195 |
|
$arrMerchantID[$merchant->merchant_ID] = ['cid' => $merchant->merchant_ID, 'name' => $merchant->name]; |
196 |
|
} |
197 |
|
} |
198 |
|
$transactionList = $this->_network->getTransactionList($arrMerchantID, $dateFrom, $dateTo); |
199 |
|
foreach($transactionList as $transaction) { |
200 |
|
$Transaction = Transaction::createInstance(); |
src/Networks/Zanox.php 1 location
|
@@ 223-228 (lines=6) @@
|
220 |
|
} |
221 |
|
|
222 |
|
$arrResult = array(); |
223 |
|
if (count( $arrMerchantID ) < 1) { |
224 |
|
$merchants = $this->getMerchants(); |
225 |
|
foreach ($merchants as $merchant) { |
226 |
|
$arrMerchantID[$merchant->merchant_ID] = ['cid' => $merchant->merchant_ID, 'name' => $merchant->name]; |
227 |
|
} |
228 |
|
} |
229 |
|
$transcationList = $this->_network->getTransactionList( $arrMerchantID, $dateFrom2, $dateTo ); |
230 |
|
foreach ($transcationList as $transaction) { |
231 |
|
$Transaction = Transaction::createInstance(); |
src/Networks/Effiliation.php 1 location
|
@@ 165-170 (lines=6) @@
|
162 |
|
{ |
163 |
|
$arrResult = array(); |
164 |
|
try { |
165 |
|
if (count( $arrMerchantID ) < 1) { |
166 |
|
$merchants = $this->getMerchants(); |
167 |
|
foreach ($merchants as $merchant) { |
168 |
|
$arrMerchantID[$merchant->merchant_ID] = ['cid' => $merchant->merchant_ID, 'name' => $merchant->name]; |
169 |
|
} |
170 |
|
} |
171 |
|
$transactionList = $this->_network->getTransactionList($arrMerchantID, $dateFrom, $dateTo); |
172 |
|
|
173 |
|
foreach($transactionList as $transaction) { |