Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $oBidAuction = BidAuction::model()->getByDate($oDate);
- $bidData = MonitoringToolKompService::getInstance()->capacityMonitoring($oDate, $oBidAuction->bid_direction);
- if($bidData['bidCapacity'] > $bidData['currentCapacity']) {
- $this->addAlertEmail(BidAlert::TYPE_RED_ALERT);
- }
- if($bidData['plannedCapacity'] > $bidData['currentCapacity']) {
- echo 'ORANGE ALERT';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement