Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REACH2-704:Reach new dashboard in admin console #8805

Merged
merged 12 commits into from Oct 17, 2019

Conversation

ravitshalem
Copy link
Contributor

No description provided.

@@ -500,6 +500,14 @@ public static function addEntryVendorTask(entry $entry, ReachProfile $reachProfi
$entryVendorTask->setAccessKeyExpiry($accessKeyExpiry);
$entryVendorTask->setAccessKey(kReachUtils::generateReachVendorKs($entryVendorTask->getEntryId(), $shouldModerateOutput, $accessKeyExpiry));
$entryVendorTask->setPrice(kReachUtils::calculateTaskPrice($entry, $vendorCatalogItem));
$turnAroundTime = $vendorCatalogItem->getTurnAroundTime();
if ($turnAroundTime == -1)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consult product manager

{
$turnAroundTime = 0;
}
$entryVendorTask->setExpectedFinishTime($turnAroundTime);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove , until it is not queue - value should be zero

$this->setQueueTime(time());
$time = time();
$this->setQueueTime($time);
$this->setExpectedFinishTime($this->getExpectedFinishTime() + $time);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Get the expected time from the profile


protected function applyFiltersAccordingToPartner($filter)
{
if (kCurrentContext::$ks_partner_id == -2)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use existing const from Partner::

release-notes.md Outdated
rt_attr_timestamp=expected_finish_time

### Deployment scripts ###
- php deployment/updates/scripts/add_permissions/2019_03_05_add_reach_extendAccessKey_action.php
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add new script

@ravitshalem ravitshalem merged commit 1ac72db into Orion-15.9.0 Oct 17, 2019
@ravitshalem ravitshalem deleted the Orion-15.8.0-REACH2-704 branch October 17, 2019 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant