<commit_before><!--
  ~ This program is part of the OpenLMIS logistics management information system platform software.
  ~ Copyright © 2013 VillageReach
  ~
  ~  This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
  ~
  ~  This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more details.
  ~  You should have received a copy of the GNU Affero General Public License along with this program.  If not, see http://www.gnu.org/licenses.  For additional information contact <EMAIL>.
  -->
<ng-include
  src="'/public/pages/logistics/distribution/partials/record-facility-data.html'"></ng-include>
<div class="clearfix facility-container">
  <ng-include
    src="'/public/pages/logistics/distribution/partials/record-facility-menu.html'"></ng-include>

  <div class="facility-info" ng-init="facilityData = distribution.facilityDistributions[selectedFacilityId]">
    <div id="coverageContainer" class="refrigerator-container" disable-form="{{facilityData.isDisabled()}}">
      <h3 id="coverageHeader" openlmis-message="label.coverage.children"></h3>

      <div id="childCoverageTable" class="facility-distribution-form-table"
           disable-form="{{facilityData.isDisabled()}}">
        <!--<div id="applyNRContainer" class="clearfix">-->
        <!--<input id="CoverageFormApplyNRToAll" type="button" ng-click="applyNRAll()"-->
        <!--class="pull-right btn"-->
        <!--openlmis-message="button.apply.nr.all"/>-->
        <!--</div>-->
        <form auto-save="distribution" object-store="distributions">
          <table class="table table-bordered">
            <thead>
            <tr>
              <th class="col-complete-vaccinated" id="vaccination" rowspan="2"
                  openlmis-message={{columns.vaccination}}></th>
              <th class="col-complete-vaccinated" id="targetGroup" rowspan="2"
                  openlmis-message={{columns.targetGroup}}></th>
              <th class="col-complete-vaccinated center-justified" id="childrenAgeGroup1" colspan="3"
                  openlmis-message={{columns.childrenAgeGroup0To11}}></th>
              <th class="col-complete-vaccinated" id="coverageRate" rowspan="2"
                  openlmis-message={{columns.coverageRate}}></th>
              <th class="col-complete-vaccinated center-justified" id="childrenAgeGroup2" colspan="3"
                  openlmis-message={{columns.childrenAgeGroup12To23}}></th>
              <th class="col-complete-vaccinated" id="totalVaccination" rowspan="2"
                  openlmis-message={{columns.totalVaccination}}></th>
              <th class="col-complete-vaccinated" id="openedVials" rowspan="2"
                  openlmis-message={{columns.openedVials}}></th>
              <th class="col-complete-vaccinated" id="openedVialsWastageRate" rowspan="2"
                  openlmis-message={{columns.openedVialsWastageRate}}></th>
            </tr>
            <tr>
              <th class="col-complete-vaccinated" id="categoryOneHealthCenter"
                  openlmis-message={{columns.categoryOneHealthCenter}}></th>
              <th class="col-complete-vaccinated" id="categoryOneMobileBrigade"
                  openlmis-message={{columns.categoryOneMobileBrigade}}></th>
              <th class="col-complete-vaccinated" id="categoryOneTotal"
                  openlmis-message={{columns.categoryOneTotal}}></th>
              <th class="col-complete-vaccinated" id="categoryTwoHealthCenter"
                  openlmis-message={{columns.categoryTwoHealthCenter}}></th>
              <th class="col-complete-vaccinated" id="categoryTwoMobileBrigade"
                  openlmis-message={{columns.categoryTwoMobileBrigade}}></th>
              <th class="col-complete-vaccinated" id="categoryTwoTotal"
                  openlmis-message={{columns.categoryTwoTotal}}></th>
            </tr>
            </thead>
            <tbody>
            <tr ng-repeat="lineItem in childCoverage.childCoverageLineItems">
              <td class="col-complete-vaccinated">
                <span ng-bind="lineItem.vaccination"></span>
              </td>
              <td class="col-complete-vaccinated col-target-group">
                <span ng-bind="lineItem.targetGroup"></span>
              </td>
              <td class="col-complete-vaccinated">
                <div>
                  <span class="input-error-parent-cell">
                    <input id="healthCenterCategoryOne{{$index}}" type="text"
                           ng-model="lineItem.healthCenterCategoryOne.value"
                           name="healthCenterCategoryOne{{$index}}"
                           numeric-validator="positiveInteger" maxlength="7"
                           error-holder="healthCenterCategoryOneError{{$index}}"/>
                    <span id="healthCenterCategoryOneError{{$index}}"
                          class="rnr-form-error"
                          openlmis-message="error.number.only"
                          style="display: none"></span>
                  </span>
                </div>
                <input id="healthCenterCategoryOneNR{{$index}}" type="checkbox"
                       ng-model="lineItem.healthCenterCategoryOne.notRecorded"
                       not-recorded/>
                <label class="checkbox-label" for="healthCenterCategoryOneNR{{$index}}"
                       openlmis-message="label.not.recorded"></label>
              </td>
              <td class="col-complete-vaccinated">
                <div>
                  <span class="input-error-parent-cell">
                    <input id="outReachCategoryOne{{$index}}" type="text"
                           ng-model="lineItem.outReachCategoryOne.value"
                           name="outReachCategoryOne{{$index}}"
                           numeric-validator="positiveInteger" maxlength="7"
                           error-holder="outReachCategoryOneError{{$index}}"/>
                    <span id="outReachCategoryOneError{{$index}}"
                          class="rnr-form-error"
                          openlmis-message="error.number.only"
                          style="display: none"></span>
                  </span>
                </div>
                <input id="outReachCategoryOneNR{{$index}}" type="checkbox"
                       ng-model="lineItem.outReachCategoryOne.notRecorded"
                       not-recorded/>
                <label class="checkbox-label" for="outReachCategoryOneNR{{$index}}"
                       openlmis-message="label.not.recorded"></label>
              </td>
              <td class="col-complete-vaccinated col-total"><span></span></td>
              <td class="col-complete-vaccinated col-coverage-rate"><span></span></td>
              <td class="col-complete-vaccinated">
                <span ng-hide="lineItem.vaccination == 'Polio (Newborn)'">
                  <div>
                    <span class="input-error-parent-cell">
                      <input id="healthCenterCategoryTwo{{$index}}" type="text"
                             ng-model="lineItem.healthCenterCategoryTwo.value"
                             name="healthCenterCategoryTwo{{$index}}"
                             numeric-validator="positiveInteger" maxlength="7"
                             error-holder="healthCenterCategoryTwoError{{$index}}"/>
                      <span id="healthCenterCategoryTwoError{{$index}}"
                            class="rnr-form-error"
                            openlmis-message="error.number.only"
                            style="display: none"></span>
                    </span>
                  </div>
                  <input id="healthCenterCategoryTwoNR{{$index}}" type="checkbox"
                         ng-model="lineItem.healthCenterCategoryTwo.notRecorded"
                         not-recorded/>
                  <label class="checkbox-label" for="healthCenterCategoryTwoNR{{$index}}"
                         openlmis-message="label.not.recorded"></label>
                </span>
              </td>
              <td class="col-complete-vaccinated">
                <span ng-hide="lineItem.vaccination == 'Polio (Newborn)'">
                  <div>
                    <span class="input-error-parent-cell">
                      <input id="outReachCategoryTwo{{$index}}" type="text"
                             ng-model="lineItem.outReachCategoryTwo.value"
                             name="outReachCategoryTwo{{$index}}"
                             numeric-validator="positiveInteger" maxlength="7"
                             error-holder="outReachCategoryTwoError{{$index}}"/>
                      <span id="outReachCategoryTwoError{{$index}}"
                            class="rnr-form-error"
                            openlmis-message="error.number.only"
                            style="display: none"></span>
                    </span>
                  </div>
                  <input id="outReachCategoryTwoNR{{$index}}" type="checkbox"
                         ng-model="lineItem.outReachCategoryTwo.notRecorded"
                         not-recorded/>
                  <label class="checkbox-label" for="outReachCategoryTwoNR{{$index}}"
                         openlmis-message="label.not.recorded"></label>
                </span>
              </td>
              <td class="col-complete-vaccinated col-total"><span></span></td>
              <td class="col-complete-vaccinated col-total"><span></span></td>
              <td class="col-complete-vaccinated opened-vials" ng-hide="hideCell('{{lineItem.vaccination}}')"
                  rowspan="{{productsMap[lineItem.vaccination].rowSpan}}">
                <div id="{{product}}Container" ng-repeat="product in productsMap[lineItem.vaccination].products">
                  <span ng-bind="product"></span>
                  <span class="input-error-parent-cell">
                    <input id="openedVials{{$index}}" type="text" ng-model="lineItem.openedVials.value"
                           name="openedVials{{$index}}"
                           numeric-validator="positiveInteger" maxlength="7"
                           error-holder="openedVialsError{{$index}}"/>
                    <span id="openedVialsError{{$index}}"
                          class="rnr-form-error"
                          openlmis-message="error.number.only"
                          style="display: none"></span>
                  </span>
                </div>
                <input id="openedVialsNR{{$index}}" type="checkbox"
                       ng-model="lineItem.openedVials.notRecorded"
                       not-recorded/>
                <label class="checkbox-label" for="openedVialsNR{{$index}}"
                       openlmis-message="label.not.recorded"></label>
              </td>
              <td class="col-complete-vaccinated col-opened-vial" ng-hide="hideCell('{{lineItem.vaccination}}')"
                  rowspan="{{productsMap[lineItem.vaccination].rowSpan}}">
                <span></span>
              </td>
            </tr>
            </tbody><commit_msg>|#780| Corrected the alignment of 'numbers only' error message with respect to its corresponding opened vials textbox on child coverage screen.<commit_after><!--
  ~ This program is part of the OpenLMIS logistics management information system platform software.
  ~ Copyright © 2013 VillageReach
  ~
  ~  This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
  ~
  ~  This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more details.
  ~  You should have received a copy of the GNU Affero General Public License along with this program.  If not, see http://www.gnu.org/licenses.  For additional information contact <EMAIL>.
  -->
<ng-include
  src="'/public/pages/logistics/distribution/partials/record-facility-data.html'"></ng-include>
<div class="clearfix facility-container">
  <ng-include
    src="'/public/pages/logistics/distribution/partials/record-facility-menu.html'"></ng-include>

  <div class="facility-info" ng-init="facilityData = distribution.facilityDistributions[selectedFacilityId]">
    <div id="coverageContainer" class="refrigerator-container" disable-form="{{facilityData.isDisabled()}}">
      <h3 id="coverageHeader" openlmis-message="label.coverage.children"></h3>

      <div id="childCoverageTable" class="facility-distribution-form-table"
           disable-form="{{facilityData.isDisabled()}}">
        <!--<div id="applyNRContainer" class="clearfix">-->
        <!--<input id="CoverageFormApplyNRToAll" type="button" ng-click="applyNRAll()"-->
        <!--class="pull-right btn"-->
        <!--openlmis-message="button.apply.nr.all"/>-->
        <!--</div>-->
        <form auto-save="distribution" object-store="distributions">
          <table class="table table-bordered">
            <thead>
            <tr>
              <th class="col-complete-vaccinated" id="vaccination" rowspan="2"
                  openlmis-message={{columns.vaccination}}></th>
              <th class="col-complete-vaccinated" id="targetGroup" rowspan="2"
                  openlmis-message={{columns.targetGroup}}></th>
              <th class="col-complete-vaccinated center-justified" id="childrenAgeGroup1" colspan="3"
                  openlmis-message={{columns.childrenAgeGroup0To11}}></th>
              <th class="col-complete-vaccinated" id="coverageRate" rowspan="2"
                  openlmis-message={{columns.coverageRate}}></th>
              <th class="col-complete-vaccinated center-justified" id="childrenAgeGroup2" colspan="3"
                  openlmis-message={{columns.childrenAgeGroup12To23}}></th>
              <th class="col-complete-vaccinated" id="totalVaccination" rowspan="2"
                  openlmis-message={{columns.totalVaccination}}></th>
              <th class="col-complete-vaccinated" id="openedVials" rowspan="2"
                  openlmis-message={{columns.openedVials}}></th>
              <th class="col-complete-vaccinated" id="openedVialsWastageRate" rowspan="2"
                  openlmis-message={{columns.openedVialsWastageRate}}></th>
            </tr>
            <tr>
              <th class="col-complete-vaccinated" id="categoryOneHealthCenter"
                  openlmis-message={{columns.categoryOneHealthCenter}}></th>
              <th class="col-complete-vaccinated" id="categoryOneMobileBrigade"
                  openlmis-message={{columns.categoryOneMobileBrigade}}></th>
              <th class="col-complete-vaccinated" id="categoryOneTotal"
                  openlmis-message={{columns.categoryOneTotal}}></th>
              <th class="col-complete-vaccinated" id="categoryTwoHealthCenter"
                  openlmis-message={{columns.categoryTwoHealthCenter}}></th>
              <th class="col-complete-vaccinated" id="categoryTwoMobileBrigade"
                  openlmis-message={{columns.categoryTwoMobileBrigade}}></th>
              <th class="col-complete-vaccinated" id="categoryTwoTotal"
                  openlmis-message={{columns.categoryTwoTotal}}></th>
            </tr>
            </thead>
            <tbody>
            <tr ng-repeat="lineItem in childCoverage.childCoverageLineItems">
              <td class="col-complete-vaccinated">
                <span ng-bind="lineItem.vaccination"></span>
              </td>
              <td class="col-complete-vaccinated col-target-group">
                <span ng-bind="lineItem.targetGroup"></span>
              </td>
              <td class="col-complete-vaccinated">
                <div>
                  <span class="input-error-parent-cell">
                    <input id="healthCenterCategoryOne{{$index}}" type="text"
                           ng-model="lineItem.healthCenterCategoryOne.value"
                           name="healthCenterCategoryOne{{$index}}"
                           numeric-validator="positiveInteger" maxlength="7"
                           error-holder="healthCenterCategoryOneError{{$index}}"/>
                    <span id="healthCenterCategoryOneError{{$index}}"
                          class="rnr-form-error"
                          openlmis-message="error.number.only"
                          style="display: none"></span>
                  </span>
                </div>
                <input id="healthCenterCategoryOneNR{{$index}}" type="checkbox"
                       ng-model="lineItem.healthCenterCategoryOne.notRecorded"
                       not-recorded/>
                <label class="checkbox-label" for="healthCenterCategoryOneNR{{$index}}"
                       openlmis-message="label.not.recorded"></label>
              </td>
              <td class="col-complete-vaccinated">
                <div>
                  <span class="input-error-parent-cell">
                    <input id="outReachCategoryOne{{$index}}" type="text"
                           ng-model="lineItem.outReachCategoryOne.value"
                           name="outReachCategoryOne{{$index}}"
                           numeric-validator="positiveInteger" maxlength="7"
                           error-holder="outReachCategoryOneError{{$index}}"/>
                    <span id="outReachCategoryOneError{{$index}}"
                          class="rnr-form-error"
                          openlmis-message="error.number.only"
                          style="display: none"></span>
                  </span>
                </div>
                <input id="outReachCategoryOneNR{{$index}}" type="checkbox"
                       ng-model="lineItem.outReachCategoryOne.notRecorded"
                       not-recorded/>
                <label class="checkbox-label" for="outReachCategoryOneNR{{$index}}"
                       openlmis-message="label.not.recorded"></label>
              </td>
              <td class="col-complete-vaccinated col-total"><span></span></td>
              <td class="col-complete-vaccinated col-coverage-rate"><span></span></td>
              <td class="col-complete-vaccinated">
                <span ng-hide="lineItem.vaccination == 'Polio (Newborn)'">
                  <div>
                    <span class="input-error-parent-cell">
                      <input id="healthCenterCategoryTwo{{$index}}" type="text"
                             ng-model="lineItem.healthCenterCategoryTwo.value"
                             name="healthCenterCategoryTwo{{$index}}"
                             numeric-validator="positiveInteger" maxlength="7"
                             error-holder="healthCenterCategoryTwoError{{$index}}"/>
                      <span id="healthCenterCategoryTwoError{{$index}}"
                            class="rnr-form-error"
                            openlmis-message="error.number.only"
                            style="display: none"></span>
                    </span>
                  </div>
                  <input id="healthCenterCategoryTwoNR{{$index}}" type="checkbox"
                         ng-model="lineItem.healthCenterCategoryTwo.notRecorded"
                         not-recorded/>
                  <label class="checkbox-label" for="healthCenterCategoryTwoNR{{$index}}"
                         openlmis-message="label.not.recorded"></label>
                </span>
              </td>
              <td class="col-complete-vaccinated">
                <span ng-hide="lineItem.vaccination == 'Polio (Newborn)'">
                  <div>
                    <span class="input-error-parent-cell">
                      <input id="outReachCategoryTwo{{$index}}" type="text"
                             ng-model="lineItem.outReachCategoryTwo.value"
                             name="outReachCategoryTwo{{$index}}"
                             numeric-validator="positiveInteger" maxlength="7"
                             error-holder="outReachCategoryTwoError{{$index}}"/>
                      <span id="outReachCategoryTwoError{{$index}}"
                            class="rnr-form-error"
                            openlmis-message="error.number.only"
                            style="display: none"></span>
                    </span>
                  </div>
                  <input id="outReachCategoryTwoNR{{$index}}" type="checkbox"
                         ng-model="lineItem.outReachCategoryTwo.notRecorded"
                         not-recorded/>
                  <label class="checkbox-label" for="outReachCategoryTwoNR{{$index}}"
                         openlmis-message="label.not.recorded"></label>
                </span>
              </td>
              <td class="col-complete-vaccinated col-total"><span></span></td>
              <td class="col-complete-vaccinated col-total"><span></span></td>
              <td class="col-complete-vaccinated opened-vials" ng-hide="hideCell('{{lineItem.vaccination}}')"
                  rowspan="{{productsMap[lineItem.vaccination].rowSpan}}">
                <div id="{{product}}Container" ng-repeat="product in productsMap[lineItem.vaccination].products">
                  <span ng-bind="product"></span>
                  <span class="input-error-parent-cell">
                    <input id="openedVials{{$index}}" type="text" ng-model="lineItem.openedVials.value"
                           name="openedVials{{$index}}"
                           numeric-validator="positiveInteger" maxlength="7"
                           error-holder="{{product}}OpenedVialsError"/>
                    <span id="{{product}}OpenedVialsError"
                          class="rnr-form-error"
                          openlmis-message="error.number.only"
                          style="display: none"></span>
                  </span>
                </div>
                <input id="openedVialsNR{{$index}}" type="checkbox"
                       ng-model="lineItem.openedVials.notRecorded"
                       not-recorded/>
                <label class="checkbox-label" for="openedVialsNR{{$index}}"
                       openlmis-message="label.not.recorded"></label>
              </td>
              <td class="col-complete-vaccinated col-opened-vial" ng-hide="hideCell('{{lineItem.vaccination}}')"
                  rowspan="{{productsMap[lineItem.vaccination].rowSpan}}">
                <span></span>
              </td>
            </tr>
            </tbody>
{'fraction_non_alphanumeric': 0.13260869565217392, 'fraction_numerical': 0.0026521739130434784, 'mean_word_length': 1.8758439609902475, 'pattern_counts': {'":': 0, '<': 311, '<?xml version=': 0, '>': 311, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4447017', 'n_tokens_mistral': 6084, 'n_tokens_neox': 5763, 'n_words': 913}