<div class="app-header bg-header-1">
    <div class="layout-fixed full-h text-center">
        <div class="full-h v-bottom-i pdB15">
            <div class="app-content-header bg-header-1">
                <div class="text-name-header-1 nowrap">{{nameCusOnTop}}</div>
                <div class="text-title-header-1 nowrap mgT10">Opportunity action</div>
            </div>
        </div>
    </div>
    <button class="popup-back-button bg-transparent pd0-i biger-3-time" type="button" ng-click="closeFornAction()"></button>
</div>
<div class="box-setting-4 bg-header-1 no-saperator">
    <div class="pdB15">
        <div class="layout-fixed pdLR10">
            <div>
                <div class="layout-fixed w-auto-i">
                    <div class="pdR10">
                        <button class="button-function-2 blue w30px h30px" type="button" ng-click="openByGetTemplate('popupOpportunityHistory')">
                            <svg class="h16px" viewBox="0 0 489.959 489.959"> <rect x="58.586" y="78.162" style="fill:#FFF;" width="223.107" height="30.674" /> <path style="fill:#FFF;" d="M345.801,130.687V5.684H0v384.844h154.361c30.178,55.825,89.217,93.747,157.078,93.747     c98.557,0,178.52-79.898,178.52-178.455C489.959,218.954,427.921,146.714,345.801,130.687z M166.03,322.127     c-9.06,0-16.372-7.312-16.372-16.329c0-9.038,7.312-16.372,16.372-16.372c9.017,0,16.329,7.334,16.329,16.372     C182.359,314.815,175.047,322.127,166.03,322.127z M58.586,182.737v30.652h100.39c-13.374,22.024-22.261,47.046-25.022,73.945     H58.586v30.674h75.023c1.186,17.537,4.918,34.384,10.807,50.174c-59.773,0-113.462,0-122.134,0c0-20.255,0-319.938,0-340.214     c20.061,0,281.154,0,301.214,0c0,7.097,0,48.405,0,99.959c-4.012-0.28-8.003-0.604-12.08-0.604     c-50.778,0-96.551,21.355-129.036,55.437L58.586,182.737L58.586,182.737z M327.854,160.346c0,9.038-7.356,16.372-16.415,16.372     c-8.995,0-16.351-7.334-16.351-16.372c0-9.038,7.356-16.372,16.351-16.372C320.477,143.953,327.854,151.308,327.854,160.346z      M311.439,467.579c-8.995,0-16.351-7.313-16.351-16.351c0-9.06,7.356-16.394,16.351-16.394c9.038,0,16.372,7.312,16.415,16.394     C327.854,460.245,320.499,467.579,311.439,467.579z M410.47,231.94l-69.156,69.156c0.345,1.855,0.561,3.753,0.561,5.695     c0,17.774-14.388,32.162-32.14,32.162c-17.71,0-32.033-14.28-32.14-31.968l-70.989-55.178c-6.32-4.918-7.744-13.633-3.192-19.435     c4.508-5.846,13.331-6.579,19.586-1.661l66.244,51.511c2.459-2.071,5.177-3.861,8.24-5.112c4.228-2.114,8.93-3.408,13.956-3.408     c4.271,0,8.348,0.884,12.08,2.394c0,0.582,0,1.186,0,1.769c0.712,0.367,1.402,0.755,2.114,1.165l65.942-65.963     c6.061-6.018,15.121-6.665,20.341-1.467C417.114,216.776,416.489,225.922,410.47,231.94z M456.891,322.127     c-9.103,0-16.351-7.312-16.351-16.329c0-9.038,7.248-16.372,16.351-16.372c9.017,0,16.351,7.334,16.372,16.372     C473.263,314.815,465.907,322.127,456.891,322.127z" /> </svg>
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<form class="app-content" id="formOppotunitiesAction" name="formOppotunitiesAction" ng-submit="validateForm(formOppotunitiesAction, 'OppotunitiesAction')" novalidate="">
    <div class="app-content-inner content-pd">
        <button type="submit" id="submitFormOppotunitiesAction" style="display:none;"></button>
        <ion-scroll class="scroll-area" direction="y" has-bouncing="false" overflow-scroll="false" delegate-handle="scrollOppotunitiesAction" on-scroll="scrollContent('scrollOppotunitiesAction')">
            <div class="box-setting-4 form-field-container no-saperator">
                <div class="content content-in">
                    <div class="itm">
                        <label class="label-form-field-1">Find Client</label>
                        <div class="layout-fixed">
                            <div>
                                <div class="input-form-field-1" ng-click="focusHandle($event)">
                                    <input type="text" class="h32px" name="search_customer_result" id="search_customer_result" placeholder="Click here to search client"
                                    ng-model="showdataautocomple" readonly="" ng-click="openAutocomplete('ion-autocomplete-search-customer')" />
                                    <textarea autocomplete="off"
                                    class="ion-autocomplete-search-customer"
                                    ion-autocomplete=""
                                    item-value-key="id"
                                    item-view-value-key="name"
                                    items-clicked-method="clickOnItem(callback,'cusAction')"
                                    items-method="autoComplete(query,'cusAction')"
                                    items-method-value-key="items"
                                    items-removed-method="removeItemsAutocomplete(callback,'cusAction')"
                                    max-selected-items="1"
                                    ng-model="autocompleteList.dataOrder"
                                    external-model="initialSearchCustomer"
                                    model-to-item-method="setValueForInputSearchCustomer(modelValue)"
                                    manage-externally="true"
                                    placeholder="" readonly="readonly" style="width:100%;display: none" type="text"></textarea>
                                </div>
                            </div>
                            <div class="w30px clear" ng-if="flagColor!=null && flagColor!=''">
                                <button class="bg-transparent pd0-i biger-3-time right" ng-click="openByGetTemplate('popupOpportunityActionFlagNote')" type="button">
                                    <svg class="icon-flag-1 h20px" viewBox="0 0 60 60"> <polygon points="52,23.5 10,40 10,22 10,4 " class="flag-canvas" /> <path d="M9,0C8.448,0,8,0.447,8,1v3v55c0,0.553,0.448,1,1,1s1-0.447,1-1V4V1C10,0.447,9.552,0,9,0z" style="fill:{{flagColor}};" /> </svg>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="box-setting-4 form-field-container no-saperator">
                <div class="title">Dispatch</div>
                <div class="content content-in">
                    <div class="itm">
                        <label class="label-form-field-1">Issue</label>
                        <div class="layout-fixed">
                            <div>
                                <div class="input-form-field-1" ng-click="focusHandle($event)">
                                    <input type="text" class="h32px" id="issueOpportunityAction" ng-model="OpportunitiesActionData.issue">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="itm">
                        <label class="label-form-field-1">City</label>
                        <div class="layout-fixed">
                            <div>
                                <div class="input-form-field-1" ng-click="focusHandle($event)">
                                    <input type="text" class="h32px" id="cityOpportunityAction" ng-model="OpportunitiesActionData.city">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="itm">
                        <label class="label-form-field-1">Client type</label>
                        <div class="layout-fixed">
                            <div>
                                <div class="input-form-field-1" ng-click="focusHandle($event)">
                                    <textarea class="h65px" name="customer_type" id="customerTypeOpportunityAction" ng-model="OpportunitiesActionData.customerType"></textarea>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="itm">
                        <label class="label-form-field-1">Time</label>
                        <div class="layout-fixed">
                            <div>
                                <div class="input-form-field-1" ng-click="focusHandle($event)">
                                    <input type="text" class="h32px" id="timeOpportunityAction" ng-model="OpportunitiesActionData.time">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="itm">
                        <div class="layout-fixed">
                            <div>
                                <button class="button-form-field-2 h38px full-w" type="button" ng-click="requiredSendToDispath()" ng-disabled="!sendDispathButton">Send to Dispatch</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="box-setting-4 form-field-container">
                <div class="title">Client</div>
                <div class="content content-in">
                    <div class="itm">
                        <div class="layout-fixed input-1-group">
                            <div>
                                <label class="label-form-field-1" ng-class="{ 'has-errors' : formOppotunitiesAction.first_name.$invalid }">Fisrt Name</label>
                                <div class="layout-fixed">
                                    <div>
                                        <div class="input-form-field-1" ng-class="{ 'has-errors' : formOppotunitiesAction.first_name.$invalid }" ng-click="focusHandle($event)">
                                            <input type="text" class="h32px" name="first_name" placeholder="" ng-model="OpportunitiesActionData.selectCustomer.first_name" required />
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div>
                                <label class="label-form-field-1" ng-class="{ 'has-errors' : formOppotunitiesAction.last_name.$invalid }">Last Name</label>
                                <div class="layout-fixed">
                                    <div>
                                        <div class="input-form-field-1" ng-class="{ 'has-errors' : formOppotunitiesAction.last_name.$invalid }" ng-click="focusHandle($event)">
                                            <input type="text" class="h32px" name="last_name" placeholder="" ng-model="OpportunitiesActionData.selectCustomer.last_name" required />
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="itm">
                        <label class="label-form-field-1">Company Name</label>
                        <div class="layout-fixed">
                            <div>
                                <div class="input-form-field-1" ng-click="focusHandle($event)">
                                    <input type="text" class="h32px" name="" ng-model="OpportunitiesActionData.selectCustomer.company_name" placeholder="" />
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="itm">
                        <label class="label-form-field-1" ng-class="{ 'has-errors' : OpportunitiesActionData.selectCustomer.addStreet.length == 0 }">Address</label>
                        <div class="layout-fixed">
                            <div>
                                <div class="input-form-field-1" ng-class="{ 'has-errors' : OpportunitiesActionData.selectCustomer.addStreet.length == 0 }" ng-click="focusHandle($event)">
                                    <!-- <ion-google-place getplace="true" location-changed="locationChangedAddJobsite" ng-model="OpportunitiesActionData.selectCustomer.street" required placeholder="" style="padding: 0px;border-width: 0px;" name="street"></ion-google-place> -->
                                    <tags-input ng-model="OpportunitiesActionData.selectCustomer.addStreet"
                                    add-on-paste="true"
                                    display-property="description"
                                    key-property="place_id"
                                    on-tag-adding="selectAddress($tag,'oppaction')"
                                    enable-editing-last-tag="true"
                                    max-tags="1"
                                    min-tags="1"
                                    on-tag-removed="removetag($tag,'oppaction')">
                                    <auto-complete load-on-empty="true" source="loadAddress($query)"></auto-complete>
                                </tags-input>
                            </div>
                        </div>
                    </div>
                    <input type="hidden" ng-model="OpportunitiesActionData.selectCustomer.street">
                </div>
                <div class="itm">
                    <label class="label-form-field-1">Apt#/ Unit#</label>
                    <div class="layout-fixed">
                        <div>
                            <div class="input-form-field-1" ng-click="focusHandle($event)">
                                <input type="text" class="h32px" name="" value="" placeholder="" ng-model="OpportunitiesActionData.selectCustomer.apt_unit" />
                            </div>
                        </div>
                    </div>
                </div>
                <div class="itm">
                    <div class="layout-fixed input-1-group">
                        <div class="layout-w-1:2">
                            <label class="label-form-field-1">City</label>
                            <div class="layout-fixed">
                                <div>
                                    <div class="input-form-field-1" ng-click="focusHandle($event)">
                                        <input type="text" class="h32px locality" name="" placeholder="" ng-model="OpportunitiesActionData.selectCustomer.city" />
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div>
                            <label class="label-form-field-1">State</label>
                            <div class="layout-fixed">
                                <div>
                                    <div class="input-form-field-1" ng-click="focusHandle($event)">
                                        <input type="text" class="h32px" name="" placeholder="" ng-model="OpportunitiesActionData.selectCustomer.state" />
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div>
                            <label class="label-form-field-1">Zip Code</label>
                            <div class="layout-fixed">
                                <div>
                                    <div class="input-form-field-1" ng-click="focusHandle($event)">
                                        <input type="text" class="h32px" ng-model="OpportunitiesActionData.selectCustomer.zipcode" />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="itm">
                    <div class="layout-fixed input-1-group">
                        <div>
                            <label class="label-form-field-1" ng-class="{ 'has-errors' : formOppotunitiesAction.phone.$invalid }">Primary Phone</label>
                            <div class="layout-fixed">
                                <div>
                                    <div class="input-form-field-1" ng-class="{ 'has-errors' : formOppotunitiesAction.phone.$invalid || formOppotunitiesAction.phone_detail.$invalid }" ng-click="focusHandle($event)">
                                        <input type="text" class="h32px" name="phone" value="" placeholder="" phone-input pattern=".{10,20}" ng-model="OpportunitiesActionData.selectCustomer.phone" required="" />
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div>
                            <div class="layout-fixed">
                                <div>
                                    <div class="input-form-field-1" ng-class="{ 'has-errors' : formOppotunitiesAction.phone_detail.$invalid }" ng-click="focusHandle($event)">
                                        <input type="text" class="h32px pdR35-i" ng-model="OpportunitiesActionData.selectCustomer.phone_detail" name="phone_detail" placeholder="Detail" required="">
                                        <div class="sign-r clear">
                                            <button class="bg-transparent full-h right pdR8" type="button" ng-click="addRowPhoneEdit()">
                                                <svg class="h20px" viewBox="0 0 53 53"> <polygon points="7,8.5 47,8.5 47,0.5 0,0.5 0,45.5 7,45.5 " style="fill:#B1C7D7;" /> <rect height="44" width="46" style="fill:#1075BB;" y="8.5" x="7" /> <line y2="41.5" x2="30" y1="19.5" x1="30" style="fill:none;stroke:#FFF;stroke-width:3;stroke-linecap:round;stroke-miterlimit:10;" /> <line y2="30.5" x2="19" y1="30.5" x1="41" style="fill:none;stroke:#FFF;stroke-width:3;stroke-linecap:round;stroke-miterlimit:10;" /> </svg>
                                            </button>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="layout-fixed input-1-group mgT8" ng-repeat="item in OpportunitiesActionData.selectCustomer.phone2 track by $index">
                        <div>
                            <div class="layout-fixed">
                                <div>
                                    <div class="input-form-field-1" ng-class="{ 'has-errors' : formOppotunitiesAction.add_phone{{$index}}.$invalid }" ng-click="focusHandle($event)">
                                        <input type="text" class="h32px" placeholder="(000) 000-0000" phone-input pattern=".{10,20}" ng-model="item.phone" name="add_phone{{$index}}" required="">
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div>
                            <div class="layout-fixed">
                                <div>
                                    <div class="input-form-field-1" ng-class="{ 'has-errors' : formOppotunitiesAction.add_phone_detail{{$index}}.$invalid }" ng-click="focusHandle($event)">
                                        <input type="text" class="h32px pdR35-i" placeholder="Detail" ng-model="item.phone_detail" name="add_phone_detail{{$index}}" required="">
                                        <div class="sign-r clear">
                                            <button class="bg-transparent full-h right pdR10" type="button" ng-click="removeItemPhoneEdit($index)">
                                                <svg class="h16px" viewBox="0 0 64 64"> <g> <path d="M28.941,31.786L0.613,60.114c-0.787,0.787-0.787,2.062,0,2.849c0.393,0.394,0.909,0.59,1.424,0.59   c0.516,0,1.031-0.196,1.424-0.59l28.541-28.541l28.541,28.541c0.394,0.394,0.909,0.59,1.424,0.59c0.515,0,1.031-0.196,1.424-0.59   c0.787-0.787,0.787-2.062,0-2.849L35.064,31.786L63.41,3.438c0.787-0.787,0.787-2.062,0-2.849c-0.787-0.786-2.062-0.786-2.848,0   L32.003,29.15L3.441,0.59c-0.787-0.786-2.061-0.786-2.848,0c-0.787,0.787-0.787,2.062,0,2.849L28.941,31.786z" fill="#D75A4A" /> </g> </svg>
                                            </button>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="itm">
                    <label class="label-form-field-1" ng-class="{ 'has-errors' : formOppotunitiesAction.email.$invalid }">Email</label>
                    <div class="layout-fixed input-1-group mgT8">
                        <div>
                            <div class="layout-fixed">
                                <div>
                                    <div class="input-form-field-1" ng-class="{ 'has-errors' : formOppotunitiesAction.email.$invalid }" ng-click="focusHandle($event)">
                                        <input type="text" class="h32px" name="email" placeholder="Example@email.com" ng-model="OpportunitiesActionData.selectCustomer.email" ng-change="requiredEmail('pending')" />
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div>
                            <div class="layout-fixed">
                                <div>
                                    <div class="input-form-field-1" ng-class="{ 'has-errors' : formOppotunitiesAction.add_mail_detail.$invalid }" ng-click="focusHandle($event)">
                                        <input type="text" class="h32px pdR35-i" placeholder="Detail" ng-model="OpportunitiesActionData.selectCustomer.email_detail" name="add_mail_detail" required="">
                                        <div class="sign-r clear">
                                            <button class="bg-transparent full-h right pdR8" type="button" ng-click="addRowEmail()">
                                                <svg class="h20px" viewBox="0 0 53 53"> <polygon points="7,8.5 47,8.5 47,0.5 0,0.5 0,45.5 7,45.5 " style="fill:#B1C7D7;" /> <rect height="44" width="46" style="fill:#1075BB;" y="8.5" x="7" /> <line y2="41.5" x2="30" y1="19.5" x1="30" style="fill:none;stroke:#FFF;stroke-width:3;stroke-linecap:round;stroke-miterlimit:10;" /> <line y2="30.5" x2="19" y1="30.5" x1="41" style="fill:none;stroke:#FFF;stroke-width:3;stroke-linecap:round;stroke-miterlimit:10;" /> </svg>
                                            </button>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="layout-fixed input-1-group mgT8" ng-repeat="item in OpportunitiesActionData.selectCustomer.email2 track by $index">
                        <div>
                            <div class="layout-fixed">
                                <div>
                                    <div class="input-form-field-1" ng-class="{ 'has-errors' : formOppotunitiesAction.add_mail{{$index}}.$invalid }" ng-click="focusHandle($event)">
                                        <input type="text" class="h32px" placeholder="Example@email.com" name="add_mail{{$index}}"  ng-model="item.email" ng-change="requiredEmail('pending')" />
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div>
                            <div class="layout-fixed">
                                <div>
                                    <div class="input-form-field-1" ng-class="{ 'has-errors' : formOppotunitiesAction.add_mail_detail{{$index}}.$invalid }" ng-click="focusHandle($event)">
                                        <input type="text" class="h32px pdR35-i" placeholder="Detail" ng-model="item.email_detail" name="add_mail_detail{{$index}}" required="">
                                        <div class="sign-r clear">
                                            <button class="bg-transparent full-h right pdR10" type="button" ng-click="removeItemEmail($index)">
                                                <svg class="h16px" viewBox="0 0 64 64"> <g> <path d="M28.941,31.786L0.613,60.114c-0.787,0.787-0.787,2.062,0,2.849c0.393,0.394,0.909,0.59,1.424,0.59   c0.516,0,1.031-0.196,1.424-0.59l28.541-28.541l28.541,28.541c0.394,0.394,0.909,0.59,1.424,0.59c0.515,0,1.031-0.196,1.424-0.59   c0.787-0.787,0.787-2.062,0-2.849L35.064,31.786L63.41,3.438c0.787-0.787,0.787-2.062,0-2.849c-0.787-0.786-2.062-0.786-2.848,0   L32.003,29.15L3.441,0.59c-0.787-0.786-2.061-0.786-2.848,0c-0.787,0.787-0.787,2.062,0,2.849L28.941,31.786z" fill="#D75A4A" /> </g> </svg>
                                            </button>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="itm">
                    <label class="label-form-field-1">Referred Client</label>
                    <div class="layout-fixed">
                        <div>
                            <div class="input-form-field-1" ng-click="focusHandle($event)">
                                <textarea autocomplete="off"
                                class="ion-autocomplete"
                                ion-autocomplete=""
                                item-value-key="id"
                                item-view-value-key="name"
                                items-clicked-method="clickOnItem(callback,'referonaction')"
                                items-method="autoComplete(query,'referonaction')"
                                items-method-value-key="items"
                                items-removed-method="removeItemsAutocomplete(callback,'referonaction')"
                                max-selected-items="1"
                                ng-model="autocompleteList.dataCustomerRef"
                                placeholder="" readonly="readonly" style="width:100%" type="text"></textarea>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </ion-scroll>
</div>
</form>
<div class="box-information box-setting-4 no-saperator">
    <div class="content content-in">
        <div class="itm">
            <div class="layout-fixed">
                <div class="pdB5">
                    <label class="label-form-field-1 bg-transparent">{{lastMessAndRoom.roomName}}: <span class="clr-gray">{{lastMessAndRoom.sentFrom}}</span><span class="clr-gray lowercase"> {{lastMessAndRoom.time}} </span> </label>
                    <div class="layout-fixed pdL5 mgT5">
                        <div class="text nowrap clr-orange" ng-bind-html="lastMessAndRoom.lastestMessage"></div>
                    </div>
                </div>
                <div class="w60px clear">
                    <button class="button-function-2 blue w30px h30px right" ng-click="redirectToDispathRoom()" type="button">
                        <svg class="h16px" viewBox="0 0 60.731 60.73"> <g> <g> <path fill="#FFFFFF" d="M14.882,0.77v16.388H0v30.109h6.693v12.694l11.31-12.694h21.579V35.561h0.405l12.937,14.517V35.561h7.808V0.77H14.882z     M58.482,33.307h-7.811v10.862l-9.681-10.862h-23.86V3.016h41.351V33.307z" /> </g> </g> </svg>
                    </button>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="app-control">
    <div class="layout-fixed full-h pdT2">
        <div class="w42px full-h relative">
            <button class="bg-transparent pd0-i full text-left pdL10-i" type="button" onclick="openQuickOption(this)">
                <svg class="h20px" viewBox="0 0 460.713 460.713"> <g> <rect y="115.356" width="302" height="30" fill="#FFFFFF" /> <polygon points="335.786,202.231 398.25,264.694 460.713,202.232  " fill="#FFFFFF" /> <rect y="315.356" width="302" height="30" fill="#FFFFFF" /> <rect y="215.356" width="302" height="30" fill="#FFFFFF" /> </g> </svg>
            </button>
            <!-- <div class="quick-popup box-popup-1 display-bottom-left mgB55" onclick="closeQuickOption(this)">
                <div class="popup-content w140px">
                    <ul class="list-item-03">
                        <li ng-click="getItemPenddingId(idResetFormOpportunityAction)">
                            <div class="layout-fixed">
                                <div class="icon-area">
                                    <svg class="h15px" viewBox="0 0 423.755 423.755"> <path d="M43.84,281.457c-18.585-44.869-18.586-94.29,0-139.159c10.649-25.709,26.678-48.152,46.86-66.135l60.86,60.86V15.099   H29.635l39.88,39.88c-64.293,58.426-88.5,153.2-53.391,237.959c14.167,34.202,37.07,64.159,66.234,86.634   c28.275,21.789,61.873,36.201,97.162,41.677l4.601-29.646C120.778,381.774,68.337,340.597,43.84,281.457z" fill="#FFFFFF" /> <path d="M407.516,292.938c21.652-52.272,21.652-109.848,0-162.12c-14.167-34.202-37.071-64.159-66.234-86.633   C313.007,22.395,279.409,7.983,244.12,2.507l-4.601,29.646c63.342,9.829,115.783,51.005,140.28,110.146   c18.586,44.869,18.586,94.29,0,139.159c-10.649,25.709-26.678,48.152-46.859,66.135l-60.86-60.86v121.924h121.924l-39.801-39.801   C377.118,348.099,395.334,322.348,407.516,292.938z" fill="#FFFFFF" /> </svg>
                                </div>
                                <div class="name-area text-link-1">
                                    Reset all
                                </div>
                            </div>
                        </li>
                    </ul>
                </div>
                <div class="popup-overlay"></div>
            </div> -->
        </div>
        <div class="layout-w-1:7" ng-click="openByGetTemplate('opportunityActionAddTask')" ng-if="addTaskButton">
            <button type="button" class="button-form-field-1 full blue-gray">
                <svg class="h16px" viewBox="0 0 512.001 512.001"> <path d="M435.2,51.201v-25.6c0-14.14-11.46-25.6-25.6-25.6H51.2c-14.14,0-25.6,11.46-25.6,25.6v38.4H12.8    c-7.074,0-12.8,5.726-12.8,12.8c0,7.074,5.726,12.8,12.8,12.8h12.8v25.6H12.8c-7.074,0-12.8,5.726-12.8,12.8s5.726,12.8,12.8,12.8    h12.8v25.6H12.8c-7.074,0-12.8,5.726-12.8,12.8s5.726,12.8,12.8,12.8h12.8v25.6H12.8c-7.074,0-12.8,5.726-12.8,12.8    c0,7.074,5.726,12.8,12.8,12.8h12.8v25.6H12.8c-7.074,0-12.8,5.726-12.8,12.8c0,7.074,5.726,12.8,12.8,12.8h12.8v25.6H12.8    c-7.074,0-12.8,5.726-12.8,12.8c0,7.074,5.726,12.8,12.8,12.8h12.8v25.6H12.8c-7.074,0-12.8,5.726-12.8,12.8    c0,7.074,5.726,12.8,12.8,12.8h12.8v25.6H12.8c-7.074,0-12.8,5.726-12.8,12.8c0,7.074,5.726,12.8,12.8,12.8h12.8v38.4    c0,14.14,11.46,25.6,25.6,25.6h358.4c14.14,0,25.6-11.46,25.6-25.6V238.797l-25.6,25.6v222.003H51.2v-38.4H64    c7.074,0,12.8-5.726,12.8-12.8c0-7.074-5.726-12.8-12.8-12.8H51.2v-25.6H64c7.074,0,12.8-5.726,12.8-12.8    c0-7.074-5.726-12.8-12.8-12.8H51.2v-25.6H64c7.074,0,12.8-5.726,12.8-12.8c0-7.074-5.726-12.8-12.8-12.8H51.2v-25.6H64    c7.074,0,12.8-5.726,12.8-12.8c0-7.074-5.726-12.8-12.8-12.8H51.2v-25.6H64c7.074,0,12.8-5.726,12.8-12.8    c0-7.074-5.726-12.8-12.8-12.8H51.2v-25.6H64c7.074,0,12.8-5.726,12.8-12.8s-5.726-12.8-12.8-12.8H51.2v-25.6H64    c7.074,0,12.8-5.726,12.8-12.8s-5.726-12.8-12.8-12.8H51.2v-25.6H64c7.074,0,12.8-5.726,12.8-12.8c0-7.074-5.726-12.8-12.8-12.8    H51.2v-38.4h358.4v25.6H435.2z" fill="#FFF" /> <path fill="#FFF" d="M504.499,97.101l-25.6-25.6c-4.992-5.001-11.546-7.501-18.099-7.501c-6.554,0-13.107,2.5-18.099,7.501l-5.308,5.299H384    c-3.396,0-6.647,1.348-9.054,3.746l-76.8,76.8l18.099,18.099l73.054-73.045h22.494L212.301,301.901    c-1.946,1.946-3.567,4.19-4.796,6.656l-25.6,51.2c-4.932,9.856-2.995,21.76,4.796,29.551c4.915,4.915,11.469,7.501,18.108,7.501    c3.883,0,7.799-0.887,11.443-2.705l51.2-25.6c2.458-1.229,4.71-2.85,6.656-4.796l230.4-230.4    C514.5,123.307,514.5,107.094,504.499,97.101z M204.8,371.201l19.567-39.134l19.567,19.558L204.8,371.201z M265.054,336.547    l-25.6-25.6L460.8,89.601l25.6,25.6L265.054,336.547z" /> </svg>
            </button>
        </div>
        <div class="full-h">
            <button class="button-form-field-1 full" type="button" onclick="getElementById('submitFormOppotunitiesAction').click()" ng-disabled="!convertAppointment">
                Appointment
            </button>
        </div>
        <div class="layout-w-1:5">
            <button class="button-form-field-1 blue-gray full" type="button" ng-click="setValueForDueDate('convertofollowup')">
                <div class="none layout-w-480-show">FU</div><div class="layout-w-480-hidden">Follow-Up</div>
            </button>
        </div>
        <div class="layout-w-1:5">
            <button class="button-form-field-1 blue-grayness full" type="button" ng-click="loadSelelectConvertFailOther()">
                Other
            </button>
        </div>
    </div>
</div>
