<commit_before><div ng-controller="RequisitionNonFullSupplyController">
  <div class="clearfix">
    <input type="button" ng-click="showAddNonFullSupplyModal()"  class = "pull-right btn btn-primary" ng-disabled="formDisabled || !(addNonFullSupplyLineItemButtonShown.visible)" value="Add"/>
  </div>

  <div class="rnr-table">
    <table id="nonFullSupplyTable" class="table table-striped table-bordered" ng-show="pageLineItems.length > 0">
      <thead>
      <tr>
        <th class="col-{{programRnrColumn.name}}" ng-repeat="programRnrColumn in visibleColumns"
            ng-hide="programRnrColumn.name == 'quantityApproved'" ng-bind="programRnrColumn.label"></th>
      </tr>
      </thead>
      <tbody ng-show="visibleColumns && pageLineItems.length > 0">
      <tr ng-repeat="rnrLineItem in pageLineItems">
        <td class="cell-input" ng-repeat="column in visibleColumns"
            ng-hide="column.name == 'quantityApproved'">
          <ng-switch on="column.name">
                  <span ng-switch-when="remarks">
                    <input ng-disabled="formDisabled" id="{{getId('L', $parent)}}" type="text"
                           name="remarks{{rnrLineItem['id']}}"
                           ng-model="rnrLineItem[column.name]"
                           maxlength="250"/>
                  </span>

                  <span ng-switch-when="quantityRequested">
                    <input ng-disabled="formDisabled" id="{{getId('J', $parent)}}" type="text"
                           name="quantityRequested{{rnrLineItem['id']}}"
                           ng-model="rnrLineItem.quantityRequested"
                           ng-required="true"
                           ng-class="highlightRequired(rnrLineItem[column.name])"
                           rnr-validator="positiveInteger" maxlength="8"
                           ng-change="rnrLineItem.fillPacksToShipBasedOnCalculatedOrderQuantityOrQuantityRequested(rnr)"/>
                    <span class="rnr-form-error" id="quantityRequested{{rnrLineItem['id']}}"
                          style="display:none;">
                      Enter Numeric Data
                    </span>
                  </span>

                  <span ng-switch-when="reasonForRequestedQuantity">
                    <input ng-disabled="formDisabled" id="{{getId('W', $parent)}}" type="text"
                           name="reasonForRequestedQuantity{{rnrLineItem['id']}}"
                           ng-model="rnrLineItem[column.name]"
                           ng-required="true"
                           ng-class="highlightWarning(rnrLineItem.reasonForRequestedQuantity)"
                           maxlength="250"/>
                    <span class="alert alert-warning reason-request"
                          ng-show="rnrLineItem.quantityRequested && !rnrLineItem.reasonForRequestedQuantity">
                      Please enter a reason
                    </span>
                  </span>
                  <span ng-switch-when="price">
                    <span ng-bind="currency" class="cell-text"></span>
                    <span ng-bind="rnrLineItem[column.name] | number:'2'" class="cell-text"></span>
                  </span>
                  <span ng-switch-when="cost">
                    <span ng-bind="currency" class="cell-text"></span>
                    <span ng-bind="rnrLineItem[column.name] | number:'2'" class="cell-text"></span>
                  </span>
                  <span ng-switch-when="lossesAndAdjustments">
                    <span ng-bind="rnrLineItem['totalLossesAndAdjustments']" class="cell-text"></span>
                  </span>
            <span ng-switch-default ng-bind="rnrLineItem[column.name]" class="cell-text"></span>

          </ng-switch>
        </td>
      </tr>
      </tbody>
    </table>
  </div>
  <form name="nonFullSupplyForm">
    <div id="nonFullSupplyProductsModal" modal="nonFullSupplyProductsModal">
      <div class="modal-header"><h3>Add Non-Full Supply Products</h3></div>
      <div class="modal-body">
          <span class="span3">
            <label for="nonFullSupplyProductsCategory">Category:</label>
            <select id="nonFullSupplyProductsCategory" ng-model="nonFullSupplyProductCategory" name="productName"
                    ng-options="nonFullSupplyProductCategory.name for nonFullSupplyProductCategory in nonFullSupplyProductsCategories">
              <option value="">--select category--</option>
            </select>
          </span>
          <span class="span3">
            <label for="nonFullSupplyProductsName">Product:</label>
            <select id="nonFullSupplyProductsName" ng-model="facilityApprovedProduct" name="productName"
                    ng-options="facilityApprovedProduct.programProduct.product.primaryName for facilityApprovedProduct in nonFullSupplyProductsToDisplay">
              <option value="">--select product--</option><commit_msg>| #544 | Jaideep | Fixing space issue between currency and value on non-full supply line items<commit_after><div ng-controller="RequisitionNonFullSupplyController">
  <div class="clearfix">
    <input type="button" ng-click="showAddNonFullSupplyModal()"  class = "pull-right btn btn-primary" ng-disabled="formDisabled || !(addNonFullSupplyLineItemButtonShown.visible)" value="Add"/>
  </div>

  <div class="rnr-table">
    <table id="nonFullSupplyTable" class="table table-striped table-bordered" ng-show="pageLineItems.length > 0">
      <thead>
      <tr>
        <th class="col-{{programRnrColumn.name}}" ng-repeat="programRnrColumn in visibleColumns"
            ng-hide="programRnrColumn.name == 'quantityApproved'" ng-bind="programRnrColumn.label"></th>
      </tr>
      </thead>
      <tbody ng-show="visibleColumns && pageLineItems.length > 0">
      <tr ng-repeat="rnrLineItem in pageLineItems">
        <td class="cell-input" ng-repeat="column in visibleColumns"
            ng-hide="column.name == 'quantityApproved'">
          <ng-switch on="column.name">
                  <span ng-switch-when="remarks">
                    <input ng-disabled="formDisabled" id="{{getId('L', $parent)}}" type="text"
                           name="remarks{{rnrLineItem['id']}}"
                           ng-model="rnrLineItem[column.name]"
                           maxlength="250"/>
                  </span>

                  <span ng-switch-when="quantityRequested">
                    <input ng-disabled="formDisabled" id="{{getId('J', $parent)}}" type="text"
                           name="quantityRequested{{rnrLineItem['id']}}"
                           ng-model="rnrLineItem.quantityRequested"
                           ng-required="true"
                           ng-class="highlightRequired(rnrLineItem[column.name])"
                           rnr-validator="positiveInteger" maxlength="8"
                           ng-change="rnrLineItem.fillPacksToShipBasedOnCalculatedOrderQuantityOrQuantityRequested(rnr)"/>
                    <span class="rnr-form-error" id="quantityRequested{{rnrLineItem['id']}}"
                          style="display:none;">
                      Enter Numeric Data
                    </span>
                  </span>

                  <span ng-switch-when="reasonForRequestedQuantity">
                    <input ng-disabled="formDisabled" id="{{getId('W', $parent)}}" type="text"
                           name="reasonForRequestedQuantity{{rnrLineItem['id']}}"
                           ng-model="rnrLineItem[column.name]"
                           ng-required="true"
                           ng-class="highlightWarning(rnrLineItem.reasonForRequestedQuantity)"
                           maxlength="250"/>
                    <span class="alert alert-warning reason-request"
                          ng-show="rnrLineItem.quantityRequested && !rnrLineItem.reasonForRequestedQuantity">
                      Please enter a reason
                    </span>
                  </span>
                  <span ng-switch-when="price">
                    <span ng-bind="rnrLineItem[column.name] | currency:currency" class="cell-text"></span>
                  </span>
                  <span ng-switch-when="cost">
                    <span ng-bind="rnrLineItem[column.name] | currency:currency" class="cell-text"></span>
                  </span>
                  <span ng-switch-when="lossesAndAdjustments">
                    <span ng-bind="rnrLineItem['totalLossesAndAdjustments']" class="cell-text"></span>
                  </span>
            <span ng-switch-default ng-bind="rnrLineItem[column.name]" class="cell-text"></span>

          </ng-switch>
        </td>
      </tr>
      </tbody>
    </table>
  </div>
  <form name="nonFullSupplyForm">
    <div id="nonFullSupplyProductsModal" modal="nonFullSupplyProductsModal">
      <div class="modal-header"><h3>Add Non-Full Supply Products</h3></div>
      <div class="modal-body">
          <span class="span3">
            <label for="nonFullSupplyProductsCategory">Category:</label>
            <select id="nonFullSupplyProductsCategory" ng-model="nonFullSupplyProductCategory" name="productName"
                    ng-options="nonFullSupplyProductCategory.name for nonFullSupplyProductCategory in nonFullSupplyProductsCategories">
              <option value="">--select category--</option>
            </select>
          </span>
          <span class="span3">
            <label for="nonFullSupplyProductsName">Product:</label>
            <select id="nonFullSupplyProductsName" ng-model="facilityApprovedProduct" name="productName"
                    ng-options="facilityApprovedProduct.programProduct.product.primaryName for facilityApprovedProduct in nonFullSupplyProductsToDisplay">
              <option value="">--select product--</option>
{'fraction_non_alphanumeric': 0.13459376596831885, 'fraction_numerical': 0.0031681144609095554, 'mean_word_length': 2.094876660341556, 'pattern_counts': {'":': 0, '<': 147, '<?xml version=': 0, '>': 151, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '835833', 'n_tokens_mistral': 2694, 'n_tokens_neox': 2555, 'n_words': 393}