YetiForceCompany/YetiForceCRM

View on GitHub
layouts/basic/modules/SSalesProcesses/Hierarchy.tpl

Summary

Maintainability
Test Coverage
{*<!-- {[The file is published on the basis of YetiForce Public License 6.5 that can be found in the following directory: licenses/LicenseEN.txt or yetiforce.com]} -->*}
{strip}
    <div id="salesProcessesHierarchyContainer" class="modelContainer modal fade" tabindex="-1">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title">{\App\Language::translate('LBL_SHOW_HIERARCHY', $MODULE)}</h5>
                    <button type="button" class="close" data-dismiss="modal" title="{\App\Language::translate('LBL_CLOSE')}">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="modal-body">
                    <div id="hierarchyScroll">
                        <table class="table table-bordered">
                            <thead>
                                <tr class="blockHeader">
                                    {foreach item=HEADERNAME from=$HIERARCHY['header']}
                                        <th class="text-center text-nowrap">{\App\Language::translate($HEADERNAME, $MODULE)}</th>
                                    {/foreach}
                                </tr>
                            </thead>
                            {foreach item=ENTRIES from=$HIERARCHY['entries']}
                                <tbody>
                                    <tr>
                                        {foreach item=LISTFIELDS from=$ENTRIES}
                                            <td class="text-nowrap">{$LISTFIELDS}</td>
                                        {/foreach}
                                    </tr>
                                </tbody>
                            {/foreach}
                        </table>
                    </div>
                </div>
                <div class="modal-footer">
                    <div class="float-right cancelLinkContainer">
                        <button class="btn btn-warning" type="reset" data-dismiss="modal"><strong>{\App\Language::translate('LBL_CLOSE', $MODULE)}</strong></button>
                    </div>
                </div>
            </div>
        </div>
    </div>
{/strip}