SHARE
TWEET

Untitled

a guest Jan 12th, 2017 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $scope.openPreviousOrdersPopup= function(){
  2.     $scope.siteInputError= null;
  3.     previousOrdersPopup = $modal({
  4.       template: 'partials/editQuoteRequest/previousOrdersPopup.html',
  5.       show: true,
  6.       persist: true,
  7.       backdrop: 'static',
  8.       scope: $scope
  9.     });
  10.   };
  11.    
  12. <!-- Confirmation popup for closing the quote request without save -->
  13. <div id="transitionPopupId" popup-dispatcher="transitionPopupId" style="overflow :auto; max-height: 40%">
  14.   <div class="modal-header"  >
  15.     <h3 ng-if="customerTeamList && customerTeamList.length == 1" style="float: left;font-size: 13px;" translate>popup.newComment</h3>
  16.     <h3 ng-if="customerTeamList && customerTeamList.length > 1" style="float: left;font-size: 13px;" translate>popup.chooseAndComment</h3>
  17.     <h3 ng-if="!customerTeamList && quoteRequest.status == 'draft'" style="float: left;font-size: 13px;" translate>popup.newComment</h3>
  18.     <h3 ng-if="quoteRequest.status !== 'Draft'" style="float: left;font-size: 13px;" translate>popup.commentTitle</h3>
  19.     <div class="buttonClose" ng-click="inProgress.submit = false;closeDetailQr();dismiss();removeParent('transitionPopupId');"></div>
  20.   </div>
  21.   <div style="overflow: auto ;padding-bottom: 0px;overflow-y: hidden" class="modal-body">
  22.  
  23.     <div style="max-height: 240px;overflow-y: auto;overflow-x: hidden">
  24.       <div ng-if="customerTeamList && customerTeamList.length > 1 && quoteRequest.status != constants.yourInputRequired"
  25.            style="background: #E4E4E4; margin-bottom: 20px; width: 515px"
  26.            ng-repeat="customerTeam in customerTeamList">
  27.  
  28.         <input type="radio" ng-model="quoteRequest.customerTeamId" ng-value="customerTeam.localCustomerTeamId" ng-change="changeCustomerTeam(customerTeam)" style="float: left; margin-top: 13px; margin-left: 10px; margin-right: 5px">
  29.  
  30.         <div style="padding: 10px">
  31.           <div style="float: left; width: 45%">
  32.             <p style="font-weight: bold">{{customerTeam.localCustomerTeamName}}</p>
  33.             <p class="paragraph">{{customerTeam.localCustomerTeamDescription}}</p>
  34.           </div>
  35.  
  36.           <div style="float: right; width: 45%">
  37.             <p class="paragraph">{{customerTeam.localQuoteOwner.localFirstName}} {{customerTeam.localQuoteOwner.localLastName}}</p>
  38.             <p class="paragraph">{{customerTeam.localQuoteOwner.localPhone}}</p>
  39.           </div>
  40.         </div>
  41.  
  42.         <div class="clear"></div>
  43.       </div>
  44.     </div>
  45.     <p class={{required}} translate>popup.messageToQO</p>
  46.  
  47.     <div ng-form="commentForm">
  48.     <p ng-show="showErrorSubmitComment" style="color: red">The comment is required.</p>
  49.     <textarea id="submitComment"
  50.               name = "submitComment"
  51.               my-maxlength="200" rows="5"
  52.               style="width:500px;margin-bottom: 0px;height: 80px"
  53.               ng-model="rejectionComment.value">
  54.     </textarea>
  55.  
  56.     </div>
  57.       <div ng-show="showAddEmail">
  58.       <!--add additional email ids at quote request submission step> <!-->
  59.       <div ng-form="ccEmailForm" id="emailRecipients" >
  60.     <div>
  61.         <p translate>profile.notifAdditionnalEmailRecipients</p>
  62.         <span class="tooltipInfo ng-scope" tooltip="notification for creation of this Quote request will also be sent to the email addresses provided" tooltip-placement="right" style="float: right; margin-right: 338px; margin-top: -28px;"></span>
  63.     </div>
  64.  
  65.     <div ng-init="initForm(ccEmailForm)">
  66.  
  67.             <div style="float: left">
  68.                 <input type="text" name="listAdditionalEmailAddresses" ng-model="addEmailvalue" style="float: left" ng-pattern="/^{{constants.email_validation}}$/">
  69.                 <div class="clear"></div>
  70.                 <p style="margin-left: 5px;text-align: left; " ng-show="ccEmailForm.listAdditionalEmailAddresses.$error.pattern" class="formError" translate>form.wrongFormatEmail</p>
  71.             </div>
  72.             <button class="bouton_action" style="margin-left: 30px" ng-click="addAdditionalEmails()"  translate>button.addEmail</button>
  73.             <div class="clear"></div>
  74.             <select style="height: 100px !important;" id="myselection" multiple size="5" ng-model="listEmailAddressToDelete" ng-multiple=true style="float: left" ng-options="ccEmail as ccEmail for ccEmail in listAdditionalEmailAddresses">
  75.             </select>
  76.             <button class="bouton_action" style="margin-left: 30px" ng-click="delAdditionalEmails()" translate>button.deleteEmail</button>
  77.     </div>
  78.  
  79.       </div>
  80.   </div>
  81.  
  82.   <div class="clear"></div>
  83.  
  84.   <div class="modal-footer" >
  85.     <button class="bouton_action" ng-click="inProgress.submit = false;manageOrderRejection(false);closeDetailQr();dismiss();removeParent('transitionPopupId');" translate>button.cancel</button>
  86.     <button class="bouton_action" ng-disabled="!quoteRequest.customerTeamId" ng-click="manageOrderRejection(true);submit()" translate>button.ok</button>
  87.   </div>
  88.  
  89. </div>
RAW Paste Data
Top