<commit_before><div class="modol-dialog modol-lg" ng-controller="choosecampaignCtrl">
    <div class="modol-content">
        <div class="modal-promotion">
        <table class="table" ng-repeat="item in data">
            <tr class="row">
                <th class="col-md-1" style="background-color: #c8bbbb">
                    <input type="checkbox" ng-model="item.force">
                </th>
                <th class="col-md-2" style="background-color: #c8bbbb; "><span>{{item.group}}</span></th>
                <th class="col-md-6" style="background-color: #c8bbbb; "><span>(ไม่เกิน {{item.maxGet}} ชิ้น)</span></th>
                <th class="col-md-2" style="background-color: #c8bbbb; "><span>{{item.type}}</span></th>
                <th class="col-md-1" style="background-color: #c8bbbb; "><span></span></th>
            </tr>
            <tr class="row" ng-repeat="itm in item.products">
                <td class="col-md-1"></td>
                <td class="col-md-2">{{itm.code}}</td>
                <td class="col-md-6">{{itm.name}}</td>
                <td class="col-md-2">{{itm.price}}</td>
                <td class="col-md-1">
                    <input style="width:50px;" type="number" min="0" ng-pattern="/^[0-999]{1,7}$/" required ng-model="proItem[itm.code]" ng-change="validateInput(itm,item)" ng-disabled="item.force!=true">
                </td>
            </tr>
        </table>
        <div class="modal-footer">
            <button class="btn btn-success" ng-disabled="!isValidated" data-dismiss="modal" ng-click="nextModal()">ตกลง</button>
        </div>
        </div>
    </div>
    <!--     <div style="text-align:right;">
        &nbsp;&nbsp;
        <input type="button" ng-show="ngDialogData['message-type']=='ERROR' || ngDialogData['message-type']=='ERROR_CALL_SERVICE'" ng-click="ngBootBoxClose()" value=" Close " class="btn btn-danger">
        <input type="button" ng-hide="(ngDialogData['message-type']=='ERROR') || (ngDialogData['message-type']=='ERROR_CALL_SERVICE')" ng-click="ngBootBoxClose()" value="OK" id="btn_ngbOK" class="btn btn-success"><commit_msg>edit button modal<commit_after><div class="modol-dialog modol-lg" ng-controller="choosecampaignCtrl">
    <div class="modol-content">
        <div class="modal-promotion">
        <table class="table" ng-repeat="item in data">
            <tr class="row">
                <th class="col-md-1" style="background-color: #c8bbbb">
                    <input type="checkbox" ng-model="item.force">
                </th>
                <th class="col-md-2" style="background-color: #c8bbbb; "><span>{{item.group}}</span></th>
                <th class="col-md-6" style="background-color: #c8bbbb; "><span>(ไม่เกิน {{item.maxGet}} ชิ้น)</span></th>
                <th class="col-md-2" style="background-color: #c8bbbb; "><span>{{item.type}}</span></th>
                <th class="col-md-1" style="background-color: #c8bbbb; "><span></span></th>
            </tr>
            <tr class="row" ng-repeat="itm in item.products">
                <td class="col-md-1"></td>
                <td class="col-md-2">{{itm.code}}</td>
                <td class="col-md-6">{{itm.name}}</td>
                <td class="col-md-2">{{itm.price}}</td>
                <td class="col-md-1">
                    <input style="width:50px;" type="number" min="0" ng-pattern="/^[0-999]{1,7}$/" required ng-model="proItem[itm.code]" ng-change="validateInput(itm,item)" ng-disabled="item.force!=true">
                </td>
            </tr>
        </table>
        
        </div>
        <div class="modal-footer">
            <button class="btn btn-success" ng-disabled="!isValidated" data-dismiss="modal" ng-click="nextModal()">ตกลง</button>
        </div>
    </div>
    <!--     <div style="text-align:right;">
        &nbsp;&nbsp;
        <input type="button" ng-show="ngDialogData['message-type']=='ERROR' || ngDialogData['message-type']=='ERROR_CALL_SERVICE'" ng-click="ngBootBoxClose()" value=" Close " class="btn btn-danger">
        <input type="button" ng-hide="(ngDialogData['message-type']=='ERROR') || (ngDialogData['message-type']=='ERROR_CALL_SERVICE')" ng-click="ngBootBoxClose()" value="OK" id="btn_ngbOK" class="btn btn-success">
{'fraction_non_alphanumeric': 0.21413377452138974, 'fraction_numerical': 0.011344835736232569, 'mean_word_length': 2.6295025728987995, 'pattern_counts': {'":': 0, '<': 101, '<?xml version=': 0, '>': 99, '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': '4725328', 'n_tokens_mistral': 1442, 'n_tokens_neox': 1373, 'n_words': 211}