Skip to content

Commit

Permalink
Merge pull request #17 from jojovem/patch-1
Browse files Browse the repository at this point in the history
Correção status de Suspensão Manual
  • Loading branch information
lucasmro authored May 28, 2017
2 parents dcc150d + 0bfb49a commit 6b11f5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ClearSale/ClearSaleAnalysis.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ private function notApproved(PackageStatus $packageStatus)
{
switch ($packageStatus->getOrder()->getStatus()) {
case OrderReturn::STATUS_SAIDA_REPROVADA_SEM_SUSPEITA:
case OrderReturn::STATUS_SAIDA_SUSPENSAO_MANUAL:
case OrderReturn::STATUS_SAIDA_CANCELADO_PELO_CLIENTE:
case OrderReturn::STATUS_SAIDA_FRAUDE_CONFIRMADA:
case OrderReturn::STATUS_SAIDA_REPROVACAO_AUTOMATICA:
Expand All @@ -146,6 +145,7 @@ private function waitingForApproval(PackageStatus $packageStatus)
switch ($packageStatus->getOrder()->getStatus()) {
case OrderReturn::STATUS_SAIDA_ANALISE_MANUAL:
case OrderReturn::STATUS_SAIDA_NOVO:
case OrderReturn::STATUS_SAIDA_SUSPENSAO_MANUAL:
return true;
default:
return false;
Expand Down

0 comments on commit 6b11f5e

Please sign in to comment.