?> </th> <th class="address" ><?php echo TextHelper::_('COBALT_ADDRESS'); ?> </th> <th class="added" ><?php echo TextHelper::_('COBALT_PEOPLE_ADDED'); ?> </th> <th class="updated" ><?php echo TextHelper::_('COBALT_PEOPLE_UPDATED'); ?> </th> </tr> </thead> <tbody id="list"> <?php $n = count($this->people); $k = 0; for ($i = 0; $i < $n; $i++) { $person = $this->people[$i]; $k = $i % 2; $pView = ViewHelper::getView('people', 'entry', 'phtml'); $pView->person = $person; $pView->k = $k; echo $pView->render(); } ?> </tbody>
echo TextHelper::_('COBALT_COMPANIES_NAME'); ?> </th> <th class="contact"><?php echo ucwords(TextHelper::_('COBALT_CONTACT_DETAILS')); ?> </th> <th class="created" ><?php echo TextHelper::_('COBALT_COMPANIES_ADDED'); ?> </th> <th class="updated" ><?php echo TextHelper::_('COBALT_COMPANIES_UPDATED'); ?> </th> <th class="notes" > </th> </thead> <tbody id="list"> <?php $n = count($this->companies); for ($i = 0; $i < $n; $i++) { $company = $this->companies[$i]; $k = $i % 2; $cView = ViewHelper::getView('companies', 'entry', 'phtml'); $cView->company = $company; $cView->k = $k; echo $cView->render(); } ?> </tbody>
<?php /*------------------------------------------------------------------------ # Cobalt # ------------------------------------------------------------------------ # @author Cobalt # @copyright Copyright (C) 2012 cobaltcrm.org All Rights Reserved. # @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL # Website: http://www.cobaltcrm.org -------------------------------------------------------------------------*/ // no direct access defined('_CEXEC') or die('Restricted access'); $c = count($this->people); for ($i = 0; $i < $c; $i++) { $person = $this->people[$i]; $k = $i % 2; $data = array(array('ref' => 'k', 'data' => $k), array('ref' => 'person', 'data' => $person)); $person_entry = ViewHelper::getView('people', 'people_dock_entry', 'phtml', array('person' => $person, 'k' => $k)); echo $person_entry->render(); }
if (count($users) > 0) { foreach ($users as $user) { echo "<li><a href='javascript:void(0);' class='filter_user_" . $user['id'] . "' onclick='Task.updateEventList(" . $user['id'] . ",0)'>" . $user['first_name'] . " " . $user['last_name'] . "</a></li>"; } } ?> </ul> </span> <?php } ?> </div> <div id="task_container"> <div id="task_list"> <?php $task_list = ViewHelper::getView('events', 'event_listings', 'phtml', array('events' => $this->events)); echo $task_list->render(); ?> </div> <div id="edit_task" style="display:none;"> </div> <div id="edit_event" style="display:none;"> </div> </div> </div> </div> <?php if ($app->input->get('view') != "print") { ?> <div class="text-center" id="controls_area_bottom"> <p><a class="btn btn-default" href="<?php
<table class="table table-striped table-hover table-bordered"> <th></th> <th><?php echo TextHelper::_('COBALT_PEOPLE_NAME'); ?> </th> <th><?php echo TextHelper::_('COBALT_PEOPLE_PHONE'); ?> </th> <th><?php echo TextHelper::_('COBALT_PEOPLE_OWNER'); ?> </th> <th><?php echo TextHelper::_('COBALT_PEOPLE_TYPE'); ?> </th> <th><?php echo TextHelper::_('COBALT_PEOPLE_CONTACTED'); ?> </th> <tbody id="people_list"> <?php $deal_dock_list = ViewHelper::getView('people', 'people_dock_list', 'phtml', array('people' => $this->people)); echo $deal_dock_list->render(); ?> </tbody> </table>
// no direct access defined('_CEXEC') or die('Restricted access'); ?> <table class="table table-striped table-hover table-bordered" id="deal_list"> <tr> <th><?php echo ucwords(TextHelper::_('COBALT_DEAL_NAME')); ?> </th> <th><?php echo ucwords(TextHelper::_('COBALT_DEAL_OWNER')); ?> </th> <th><?php echo ucwords(TextHelper::_('COBALT_DEAL_STATUS')); ?> </th> <th class="right"><?php echo ucwords(TextHelper::_('COBALT_DEAL_AMOUNT')); ?> </th> </tr> <tbody id="deal_dock_list"> <?php $deal_dock_list = ViewHelper::getView('deals', 'deal_dock_list', 'phtml', array('deals' => $this->deals)); echo $deal_dock_list->render(); ?> </tbody> </table>
?> </div></th> <th class="contacts"><?php echo ucwords(TextHelper::_('COBALT_EVENTS_CONTACTS')); ?> </th> <th class="notes"><?php echo ucwords(TextHelper::_('COBALT_EVENTS_NOTES')); ?> </th> </tr> </thead> <tbody id="list"> <?php $data = array('events' => $this->events); $event_list = ViewHelper::getView('events', 'list', 'phtml', $data); echo $event_list->render(); ?> </tbody> </table> </form> </div> <div id="deal_contacts_modal_dialog" style="display:none;"></div> <div id="edit_task" style="display:none;"></div> <div id="edit_event" style="display:none;"></div> <div id="note_modal" class="modal fade" tabindex="-1" role="dialog"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h3 id="noteModalHeaderTitle"> </h3>
<?php /*------------------------------------------------------------------------ # Cobalt # ------------------------------------------------------------------------ # @author Cobalt # @copyright Copyright (C) 2012 cobaltcrm.org All Rights Reserved. # @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL # Website: http://www.cobaltcrm.org -------------------------------------------------------------------------*/ // no direct access defined('_CEXEC') or die('Restricted access'); $n = count($this->deals); for ($i = 0; $i < $n; $i++) { $deal = $this->deals[$i]; $k = $i % 2; $view = ViewHelper::getView('deals', 'deal_dock_entry', 'phtml', array('deal' => $deal, 'offset' => $k)); echo $view->render(); }
</th> <th class="actual_close" ><?php echo ucwords(TextHelper::_('COBALT_DEALS_ACTUAL_CLOSE')); ?> </th> <th class="contacts" > </th> </tr> </thead> <tbody id="list"> <?php $stages = DealHelper::getStages(null, TRUE, FALSE); $statuses = DealHelper::getStatuses(null, true); $sources = DealHelper::getSources(null); $users = UsersHelper::getUsers(null, TRUE); $n = count($this->dealList); $k = 0; for ($i = 0; $i < $n; $i++) { $deal = $this->dealList[$i]; $k = $i % 2; $entryView = ViewHelper::getView('deals', 'entry', 'phtml'); $entryView->deal = $deal; $entryView->stages = $stages; $entryView->statuses = $statuses; $entryView->sources = $sources; $entryView->users = $users; $entryView->k = $k; echo $entryView->render(); } ?> </tbody>