Esempio n. 1
0
;width:<?php 
        echo number_format($goal['goal_info'] / $goal['amount'] * 100);
        ?>
%;"></div>
                                    </div>
                                    <div class="clearfix">
                                        <span class="goal_info_out_of">
                                            <?php 
        if ($goal['goal_type'] == 'win_cash') {
            echo ConfigHelper::getCurrency() . (int) $goal['goal_info'];
            ?>
 <?php 
            echo TextHelper::_("COBALT_OUT_OF");
            ?>
 <?php 
            echo ConfigHelper::getConfigValue('currency');
            echo $goal['amount'] . " " . TextHelper::_('COBALT_WON');
        }
        if ($goal['goal_type'] == 'win_deals') {
            echo (int) $goal['goal_info'];
            ?>
 <?php 
            echo TextHelper::_("COBALT_OUT_OF");
            ?>
 <?php 
            echo $goal['amount'] . " " . TextHelper::_('COBALT_DEALS_WON');
        }
        if ($goal['goal_type'] == 'move_deals') {
            echo (int) $goal['goal_info'];
            ?>
 <?php 
Esempio n. 2
0
</span>
            </div>

            <div class="row-fluid">
                <strong><?php 
echo TextHelper::_('COBALT_EMAIL_SHORT');
?>
</strong>
                <?php 
if (array_key_exists('email', $person)) {
    ?>
                    <span class="pull-right"><a target='_blank' href="mailto:<?php 
    echo $person['email'];
    ?>
?bcc=<?php 
    echo ConfigHelper::getConfigValue('imap_user');
    ?>
"><?php 
    echo $person['email'];
    ?>
</a></span>
                <?php 
}
?>
            </div>


            <?php 
if (array_key_exists('work_address_1', $person) && $person['work_address_1'] != "") {
    ?>
Esempio n. 3
0
                                    <td>
                                        <a href="<?php 
    echo RouteHelper::_('index.php?view=deals&layout=deal&id=' . $deal->id);
    ?>
">
                                            <?php 
    echo $deal->name;
    ?>
                                        </a>
                                    </td>
                                    <td><div class="deal-status-'<?php 
    echo strtolower($deal->status_name);
    ?>
"></div></td>
                                    <td><span class="amount"><?php 
    echo ConfigHelper::getConfigValue('currency') . $deal->amount;
    ?>
</span></td>
                                </tr>
                                <?php 
    $i++;
    ?>
                            <?php 
}
?>
                        </table>
                </div>
            </li>
       </ul>
    </div>
    <div class="col-md-8">
Esempio n. 4
0
-------------------------------------------------------------------------*/
// no direct access
defined('_CEXEC') or die('Restricted access');
?>

<table class="table table-striped table-hover">
        <thead>
            <th class="checkbox_column"><input type="checkbox" onclick="selectAll(this);" /></th>
            <th><div class="sort_order"><a class="s.name" onclick="sortTable('s.name',this)"><?php 
echo TextHelper::_('COBALT_REPORTS_SOURCE');
?>
</a></div></th>
            <th><div class="sort_order"><a class="count(d.id)" onclick="sortTable('count(d.id)',this)"><?php 
echo TextHelper::_('COBALT_NUMBER_OF_DEALS');
?>
</a></div></th>
            <th><div class="sort_order"><a class="sum(d.amount)" onclick="sortTable('sum(d.amount)',this)"><?php 
echo JText::sprintf('COBALT_REVENUE', ConfigHelper::getConfigValue('currency'));
?>
</a></div></th>
            <th><div class="sort_order"><a class="s.cost" onclick="sortTable('s.cost',this)"><?php 
echo JText::sprintf('COBALT_TOTAL_COSTS', ConfigHelper::getConfigValue('currency'));
?>
</a></div></th>
            <th><div class="sort_order"><a class="roi" onclick="sortTable('roi',this)"><?php 
echo TextHelper::_('COBALT_RETURN_ON_INVESTMENTS');
?>
</a></div></th>
        </thead>
        <tbody class="results" id="reports">
Esempio n. 5
0
<?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');
$deal = $this->deal;
$k = $this->offset;
echo '<tr class="cobalt_row_' . $k . '">';
echo '<td><a href="' . RouteHelper::_('index.php?view=deals&layout=deal&id=' . $deal->id) . '">' . $deal->name . '</a></td>';
echo '<td>' . $deal->owner_first_name . ' ' . $deal->owner_last_name . '</td>';
echo '<td><div class="deal-status-' . strtolower($deal->status_name) . '"></div></td>';
echo '<td><span class="amount">' . ConfigHelper::getConfigValue('currency') . $deal->amount . '</span></td>';
echo '</tr>';
Esempio n. 6
0
            <li>
                <div class="goal_container media">
                    <div class="goal_img pull-left"><img src="<?php 
echo JURI::base();
?>
src/Cobalt/media/images/win_more_cash.png" /></div>
                    <div class="goal_info_container media-body">
                        <h4><a data-target="#editModal" data-toggle="modal" href="<?php 
echo RouteHelper::_('index.php?view=goals&layout=edit&type=win_cash&format=raw&tmpl=component');
?>
"><?php 
echo ucwords(TextHelper::_('COBALT_WIN_MORE_CASH'));
?>
</a></h4>
                        <div class="goal_info"><?php 
echo JText::sprintf('COBALT_CREATE_GOAL_TRACK_CASH', ConfigHelper::getConfigValue('currency'));
?>
</div>
                    </div>
                </div>
                <hr />
            </li>
            <li>
                <div class="goal_container media">
                    <div class="goal_img pull-left"><img src="<?php 
echo JURI::base();
?>
src/Cobalt/media/images/win_more_deals.png" /></div>
                    <div class="goal_info_container media-body">
                        <h4><a data-target="#editModal" data-toggle="modal" href="<?php 
echo RouteHelper::_('index.php?view=goals&layout=edit&type=win_deals&format=raw&tmpl=component');