{"action":"created","comment":{"url":"https://api.github.com/repos/danliris/bateeq-pos-ui/pulls/comments/207394588","pull_request_review_id":143000860,"id":207394588,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNzM5NDU4OA==","diff_hunk":"@@ -1,626 +1,720 @@\n-import { inject, bindable, BindingEngine } from 'aurelia-framework';\n-import { Router } from 'aurelia-router';\n-import { Service } from './service';\n-import { LocalStorage } from '../../utils/storage';\n+import { inject, bindable, BindingEngine } from \"aurelia-framework\";\n+import { Router } from \"aurelia-router\";\n+import { Service } from \"./service\";\n+import { LocalStorage } from \"../../utils/storage\";\n \n @inject(Router, Service, BindingEngine, LocalStorage)\n export class DataForm {\n-    @bindable data = {};\n-    @bindable error = {};\n-\n-    salesApiUri = 'sales/docs/sales';\n-\n-    paymentTypes = ['', 'Cash', 'Card', 'Partial'];\n-\n-    discounts = [\n-        0, 5, 10, 15,\n-        20, 25, 30, 35,\n-        40, 45, 50, 55,\n-        60, 65, 70, 75,\n-        80, 85, 90, 95,\n-        100\n-    ];\n-\n-    cards = [{ value: 'Debit', label: 'Debit' }, { value: 'Credit', label: 'Kredit' }];\n-\n-    constructor(router, service, bindingEngine, localStorage) {\n-        this.router = router;\n-        this.service = service;\n-        this.bindingEngine = bindingEngine;\n-\n-        this.readOnlyFalse = false;\n-        this.readOnlyTrue = true;\n-        this.numericOptions = { separator: ',' }\n-        this.localStorage = localStorage;\n-        \n-        this.stores = this.localStorage.me.data.stores;\n-        // this.stores = session.stores; \n-\n-        var getData = [];\n-        getData.push(this.service.getBank());\n-        getData.push(this.service.getCardType());\n-        Promise.all(getData)\n-            .then(results => {\n-                this.Banks = results[0];\n-                this.Banks.unshift({});\n-                this.Banks.forEach(s => {\n-                    s.toString = function () {\n-                        return `${this.name ? this.name : \"\"}`\n-                    }\n-                })\n-                this.CardTypes = results[1];\n-                this.CardTypes.unshift({});\n-                this.CardTypes.forEach(s => {\n-                    s.toString = function () {\n-                        return `${this.name ? this.name : \"\"}`\n-                    }\n-                })\n-            })\n-    }\n-\n-    onEnterProduct(e, item, returnItem) {\n-        var itemIndex = this.data.items.indexOf(item);\n-        var returnItemIndex = this.data.items[itemIndex].returnItems.indexOf(returnItem);\n-        if (e.which == 13) {\n-            this.service.getProductByCode(returnItem.itemCode)\n-                .then(results => {\n-                    if (results.length > 0) {\n-                        var resultItem = results[0];\n-                        if (resultItem) {\n-                            var isAny = false;\n-                            for (var dataItem of item.returnItems) {\n-                                if (dataItem.itemId == resultItem._id) {\n-                                    isAny = true;\n-                                    dataItem.itemCode = resultItem.code;\n-                                    dataItem.quantity = parseInt(dataItem.quantity) + 1;\n-                                    break;\n-                                }\n-                            }\n-                            if (!isAny) {\n-                                returnItem.itemCodeReadonly = true;\n-                                returnItem.itemCode = resultItem.code;\n-                                returnItem.item = resultItem;\n-                                returnItem.itemId = resultItem._id;\n-                                returnItem.quantity = parseInt(returnItem.quantity) + 1;\n-                            }\n-                        }\n-                        this.error.items[itemIndex].returnItems[returnItemIndex].itemCode = \"\";\n-                        this.rearrangeItemDetail(item, true);\n-                    }\n-                    else {\n-                        returnItem.itemCode = \"\";\n-                        this.error.items[itemIndex].returnItems[returnItemIndex].itemCode = \"Barcode not found\";\n-                    }\n-                })\n-                .catch(e => {\n-                    //reject(e);\n-                    this.error.items[itemIndex].returnItems[returnItemIndex].itemCode = \"Barcode not found\";\n-                })\n-        }\n-        else {\n-            if (!returnItem.itemCodeReadonly)\n-                returnItem.itemCode = returnItem.itemCode + e.key;\n-        }\n-        e.preventDefault(); // prevent the default action (scroll / move caret)\n-    }\n-\n-    getShift() {\n-        var today = new Date();\n-        this.data.shift = 0;\n-        if (this.data.store.shifts) {\n-            for (var shift of this.data.store.shifts) {\n-                var dateFrom = new Date(this.getUTCStringDate(today) + \"T\" + this.getUTCStringTime(new Date(shift.dateFrom)));\n-                var dateTo = new Date(this.getUTCStringDate(today) + \"T\" + this.getUTCStringTime(new Date(shift.dateTo)));\n-                if (dateFrom < today && today < dateTo) {\n-                    this.data.shift = parseInt(shift.shift);\n-                    break;\n+  @bindable data = {};\n+  @bindable error = {};\n+\n+  salesApiUri = \"sales/docs/sales\";\n+\n+  paymentTypes = [\"\", \"Cash\", \"Card\", \"Partial\"];\n+\n+  discounts = [\n+    0,\n+    5,\n+    10,\n+    15,\n+    20,\n+    25,\n+    30,\n+    35,\n+    40,\n+    45,\n+    50,\n+    55,\n+    60,\n+    65,\n+    70,\n+    75,\n+    80,\n+    85,\n+    90,\n+    95,\n+    100\n+  ];\n+\n+  cards = [\n+    { value: \"Debit\", label: \"Debit\" },\n+    { value: \"Credit\", label: \"Kredit\" }\n+  ];\n+\n+  constructor(router, service, bindingEngine, localStorage) {\n+    this.router = router;\n+    this.service = service;\n+    this.bindingEngine = bindingEngine;\n+\n+    this.readOnlyFalse = false;\n+    this.readOnlyTrue = true;\n+    this.numericOptions = { separator: \",\" };\n+    this.localStorage = localStorage;\n+\n+    this.stores = this.localStorage.me.data.stores;\n+    // this.stores = session.stores;\n+\n+    var getData = [];\n+    getData.push(this.service.getBank());\n+    getData.push(this.service.getCardType());\n+    Promise.all(getData).then(results => {\n+      this.Banks = results[0];\n+      this.Banks.unshift({});\n+      this.Banks.forEach(s => {\n+        s.toString = function() {\n+          return `${this.name ? this.name : \"\"}`;\n+        };\n+      });\n+      this.CardTypes = results[1];\n+      this.CardTypes.unshift({});\n+      this.CardTypes.forEach(s => {\n+        s.toString = function() {\n+          return `${this.name ? this.name : \"\"}`;\n+        };\n+      });\n+    });\n+  }\n+\n+  onEnterProduct(e, item, returnItem) {\n+    var itemIndex = this.data.items.indexOf(item);\n+    var returnItemIndex = this.data.items[itemIndex].returnItems.indexOf(\n+      returnItem\n+    );\n+    if (e.which == 13) {\n+      this.service\n+        .getProductByCode(returnItem.itemCode)\n+        .then(results => {\n+          if (results.length > 0) {\n+            var resultItem = results[0];\n+            if (resultItem) {\n+              var isAny = false;\n+              for (var dataItem of item.returnItems) {\n+                if (dataItem.itemId == resultItem._id) {\n+                  isAny = true;\n+                  dataItem.itemCode = resultItem.code;\n+                  dataItem.quantity = parseInt(dataItem.quantity) + 1;\n+                  break;\n                 }\n+              }\n+              if (!isAny) {\n+                returnItem.itemCodeReadonly = true;\n+                returnItem.itemCode = resultItem.code;\n+                returnItem.item = resultItem;\n+                returnItem.itemId = resultItem._id;\n+                returnItem.quantity = parseInt(returnItem.quantity) + 1;\n+              }\n             }\n+            this.error.items[itemIndex].returnItems[returnItemIndex].itemCode =\n+              \"\";\n+            this.rearrangeItemDetail(item, true);\n+          } else {\n+            returnItem.itemCode = \"\";\n+            this.error.items[itemIndex].returnItems[returnItemIndex].itemCode =\n+              \"Barcode not found\";\n+          }\n+        })\n+        .catch(e => {\n+          //reject(e);\n+          this.error.items[itemIndex].returnItems[returnItemIndex].itemCode =\n+            \"Barcode not found\";\n+        });\n+    } else {\n+      if (!returnItem.itemCodeReadonly)\n+        returnItem.itemCode = returnItem.itemCode + e.key;\n+    }\n+    e.preventDefault(); // prevent the default action (scroll / move caret)\n+  }\n+\n+  getShift() {\n+    var today = new Date();\n+    this.data.shift = 0;\n+    if (this.data.store.shifts) {\n+      for (var shift of this.data.store.shifts) {\n+        var dateFrom = new Date(\n+          this.getUTCStringDate(today) +\n+            \"T\" +\n+            this.getUTCStringTime(new Date(shift.dateFrom))\n+        );\n+        var dateTo = new Date(\n+          this.getUTCStringDate(today) +\n+            \"T\" +\n+            this.getUTCStringTime(new Date(shift.dateTo))\n+        );\n+        if (dateFrom < today && today < dateTo) {\n+          this.data.shift = parseInt(shift.shift);\n+          break;\n         }\n+      }\n     }\n-\n-    attached() {\n-        this.isPromos = false;\n-        this.data.storeId = this.localStorage.store._id;\n-        // this.data.storeId = this.session.store._id;\n-        this.data.store = this.localStorage.store;\n-        // this.data.store = this.session.store;\n-        // this.data.shift = this.getShift();\n-\n-        this.service.getPromoNow(this.getStringDate(new Date()), this.data.store.code)\n-            .then(result => {\n-                this.promos = result;\n-                if (this.promos.length > 0) {\n-                    this.isPromos = true;\n-                } else {\n-                    this.isPromos = false;\n+  }\n+\n+  attached() {\n+    this.isPromos = false;\n+    this.data.storeId = this.localStorage.store._id;\n+    // this.data.storeId = this.session.store._id;\n+    this.data.store = this.localStorage.store;\n+    // this.data.store = this.session.store;\n+    // this.data.shift = this.getShift();\n+\n+    this.service\n+      .getPromoNow(this.getStringDate(new Date()), this.data.store.code)\n+      .then(result => {\n+        this.promos = result;\n+        if (this.promos.length > 0) {\n+          this.isPromos = true;\n+        } else {\n+          this.isPromos = false;\n+        }\n+        console.log(this.isPromos);\n+        this.data.salesDetail.promoDoc = [];\n+      });\n+\n+    this.service.getStore(this.data.storeId).then(result => {\n+      this.data.store = result;\n+      // this.getShift();\n+    });\n+\n+    this.itemReturs = [];\n+    this.isCard = false;\n+    this.isCash = false;\n+    this.data.datePicker = this.getStringDate(new Date());\n+    this.data.date = new Date();\n+    this.data.totalProduct = 0;\n+    this.data.subTotal = 0;\n+    this.data.totalDiscount = 0;\n+    this.data.total = 0;\n+    this.data.grandTotal = 0;\n+    this.data.salesDetail.cashAmount = 0;\n+    this.data.salesDetail.cardAmount = 0;\n+    this.data.salesDetail.refund = 0;\n+    this.data.salesDetail.voucher.value = 0;\n+\n+    this.bindingEngine\n+      .collectionObserver(this.data.items)\n+      .subscribe(splices => {\n+        var index = splices[0].index;\n+        var item = this.data.items[index];\n+        if (item) {\n+          this.bindingEngine\n+            .propertyObserver(item, \"item\")\n+            .subscribe((newValue, oldValue) => {\n+              // item.item = {};\n+              item.quantityPurchase = 0;\n+              item.quantity = 0;\n+              item.price = 0;\n+              item.discount1 = 0;\n+              item.discount2 = 0;\n+              item.discountNominal = 0;\n+              item.specialDiscount = 0;\n+              item.margin = 0;\n+              for (var itemReturn of this.itemReturs) {\n+                if (newValue.itemId && itemReturn.itemId == newValue.itemId) {\n+                  item.itemId = itemReturn.itemId;\n+                  // item.item = itemReturn.item;\n+                  item.quantityPurchase = parseInt(itemReturn.quantity);\n+                  item.quantity = parseInt(itemReturn.quantity);\n+                  item.price = parseInt(itemReturn.price);\n+                  item.discount1 = parseInt(itemReturn.discount1);\n+                  item.discount2 = parseInt(itemReturn.discount2);\n+                  item.discountNominal = parseInt(itemReturn.discountNominal);\n+                  item.specialDiscount = parseInt(itemReturn.specialDiscount);\n+                  item.margin = parseInt(itemReturn.margin);\n+                  item.promoId = itemReturn.promoId;\n+                  item.promo = itemReturn.promo;\n+                  break;\n                 }\n-                console.log(this.isPromos);\n-                this.data.salesDetail.promoDoc = [];\n+              }\n+              this.sumRow(item);\n+              this.refreshPromo(index, -1);\n+              this.addItemDetail(index);\n             });\n \n-        this.service.getStore(this.data.storeId)\n-            .then(result => {\n-                this.data.store = result;\n-                // this.getShift();\n-            })\n-\n-        this.itemReturs = [];\n-        this.isCard = false;\n-        this.isCash = false;\n-        this.data.datePicker = this.getStringDate(new Date());\n-        this.data.date = new Date();\n-        this.data.totalProduct = 0;\n-        this.data.subTotal = 0;\n-        this.data.totalDiscount = 0;\n-        this.data.total = 0;\n-        this.data.grandTotal = 0;\n-        this.data.salesDetail.cashAmount = 0;\n-        this.data.salesDetail.cardAmount = 0;\n-        this.data.salesDetail.refund = 0;\n-        this.data.salesDetail.voucher.value = 0;\n-\n-        this.bindingEngine.collectionObserver(this.data.items)\n-            .subscribe(splices => {\n-                var index = splices[0].index;\n-                var item = this.data.items[index];\n-                if (item) {\n-                    this.bindingEngine.propertyObserver(item, \"item\").subscribe((newValue, oldValue) => {\n-                        // item.item = {};\n-                        item.quantityPurchase = 0;\n-                        item.quantity = 0;\n-                        item.price = 0;\n-                        item.discount1 = 0;\n-                        item.discount2 = 0;\n-                        item.discountNominal = 0;\n-                        item.specialDiscount = 0;\n-                        item.margin = 0;\n-                        for (var itemReturn of this.itemReturs) {\n-                            if (newValue.itemId && itemReturn.itemId == newValue.itemId) {\n-                                item.itemId = itemReturn.itemId;\n-                                // item.item = itemReturn.item;\n-                                item.quantityPurchase = parseInt(itemReturn.quantity);\n-                                item.quantity = parseInt(itemReturn.quantity);\n-                                item.price = parseInt(itemReturn.price);\n-                                item.discount1 = parseInt(itemReturn.discount1);\n-                                item.discount2 = parseInt(itemReturn.discount2);\n-                                item.discountNominal = parseInt(itemReturn.discountNominal);\n-                                item.specialDiscount = parseInt(itemReturn.specialDiscount);\n-                                item.margin = parseInt(itemReturn.margin);\n-                                item.promoId = itemReturn.promoId;\n-                                item.promo = itemReturn.promo;\n-                                break;\n-                            }\n-                        }\n-                        this.sumRow(item)\n-                        this.refreshPromo(index, -1);\n-                        this.addItemDetail(index)\n-                    });\n-\n-                    this.bindingEngine.collectionObserver(item.returnItems)\n-                        .subscribe(returnSplices => {\n-                            var returnIndex = returnSplices[0].index;\n-                            var returnItem = item.returnItems[returnIndex];\n-                            if (returnItem) {\n-                                this.bindingEngine.propertyObserver(returnItem, \"itemId\").subscribe((newValue, oldValue) => {\n-                                    returnItem.price = parseInt(returnItem.item.domesticSale);\n-                                    //returnItem.quantity = 1 + parseInt(returnItem.quantity); \n-                                    this.sumRow(returnItem)\n-                                    this.refreshPromo(index, returnIndex);\n-                                });\n-                                this.bindingEngine.propertyObserver(returnItem, \"quantity\").subscribe((newValue, oldValue) => {\n-                                    this.refreshPromo(index, returnIndex);\n-                                });\n-                            }\n-                        });\n-                }\n+          this.bindingEngine\n+            .collectionObserver(item.returnItems)\n+            .subscribe(returnSplices => {\n+              var returnIndex = returnSplices[0].index;\n+              var returnItem = item.returnItems[returnIndex];\n+              if (returnItem) {\n+                this.bindingEngine\n+                  .propertyObserver(returnItem, \"itemId\")\n+                  .subscribe((newValue, oldValue) => {\n+                    returnItem.price = parseInt(returnItem.item.domesticSale);\n+                    //returnItem.quantity = 1 + parseInt(returnItem.quantity);\n+                    this.sumRow(returnItem);\n+                    this.refreshPromo(index, returnIndex);\n+                  });\n+                this.bindingEngine\n+                  .propertyObserver(returnItem, \"quantity\")\n+                  .subscribe((newValue, oldValue) => {\n+                    this.refreshPromo(index, returnIndex);\n+                  });\n+              }\n             });\n+        }\n+      });\n \n-        this.bindingEngine.propertyObserver(this.data, \"reference\").subscribe((newValue, oldValue) => {\n-            this.itemReturs = [];\n-            for (var item of this.data.sales.items) {\n-                if (!item.isReturn) {\n-                    this.itemReturs.push(item);\n-                }\n-            }\n-            this.itemReturs.unshift({});\n-            this.itemReturs.forEach(o => {\n-                o.toString = function () {\n-                    return `${this.item ? this.item.name : \"\"}`\n-                }\n-            })\n-\n-            while (this.data.items.length > 0) {\n-                var item = this.data.items[0];\n-                this.removeItem(item);\n-            }\n-            this.addItem();\n-        });\n-        this.bindingEngine.propertyObserver(this.data, \"storeId\").subscribe((newValue, oldValue) => {\n-            this.refreshPromo(-1, -1);\n-        });\n-        this.bindingEngine.propertyObserver(this.data, \"date\").subscribe((newValue, oldValue) => {\n-            this.refreshPromo(-1, -1);\n-        });\n-        this.bindingEngine.propertyObserver(this.data.salesDetail.voucher, \"value\").subscribe((newValue, oldValue) => {\n-            this.refreshCash();\n-        });\n-        this.bindingEngine.propertyObserver(this.data.salesDetail, \"cashAmount\").subscribe((newValue, oldValue) => {\n-            this.refreshDetail();\n+    this.bindingEngine\n+      .propertyObserver(this.data, \"reference\")\n+      .subscribe((newValue, oldValue) => {\n+        this.itemReturs = [];\n+        for (var item of this.data.sales.items) {\n+          if (!item.isReturn) {\n+            this.itemReturs.push(item);\n+          }\n+        }\n+        this.itemReturs.unshift({});\n+        this.itemReturs.forEach(o => {\n+          o.toString = function() {\n+            return `${this.item ? this.item.name : \"\"}`;\n+          };\n         });\n-    }\n \n-    salesChanged(e) {\n-        var sales = e.detail;\n-        if (sales) {\n-            this.data.reference = sales._id;\n-            this.data.salesId = sales._id;\n+        while (this.data.items.length > 0) {\n+          var item = this.data.items[0];\n+          this.removeItem(item);\n         }\n+        this.addItem();\n+      });\n+    this.bindingEngine\n+      .propertyObserver(this.data, \"storeId\")\n+      .subscribe((newValue, oldValue) => {\n+        this.refreshPromo(-1, -1);\n+      });\n+    this.bindingEngine\n+      .propertyObserver(this.data, \"date\")\n+      .subscribe((newValue, oldValue) => {\n+        this.refreshPromo(-1, -1);\n+      });\n+    this.bindingEngine\n+      .propertyObserver(this.data.salesDetail.voucher, \"value\")\n+      .subscribe((newValue, oldValue) => {\n+        this.refreshCash();\n+      });\n+    this.bindingEngine\n+      .propertyObserver(this.data.salesDetail, \"cashAmount\")\n+      .subscribe((newValue, oldValue) => {","path":"src/modules/sales-return-cr/data-form.js","position":538,"original_position":538,"commit_id":"e6ba31d527b0a4b87fea598cfc587aa8cd1f8529","original_commit_id":"e6ba31d527b0a4b87fea598cfc587aa8cd1f8529","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').","created_at":"2018-08-02T22:31:28Z","updated_at":"2018-08-02T22:31:29Z","html_url":"https://github.com/danliris/bateeq-pos-ui/pull/124#discussion_r207394588","pull_request_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/pulls/124","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/danliris/bateeq-pos-ui/pulls/comments/207394588"},"html":{"href":"https://github.com/danliris/bateeq-pos-ui/pull/124#discussion_r207394588"},"pull_request":{"href":"https://api.github.com/repos/danliris/bateeq-pos-ui/pulls/124"}}},"pull_request":{"url":"https://api.github.com/repos/danliris/bateeq-pos-ui/pulls/124","id":205879387,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1ODc5Mzg3","html_url":"https://github.com/danliris/bateeq-pos-ui/pull/124","diff_url":"https://github.com/danliris/bateeq-pos-ui/pull/124.diff","patch_url":"https://github.com/danliris/bateeq-pos-ui/pull/124.patch","issue_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/issues/124","number":124,"state":"open","locked":false,"title":"Dev","user":{"login":"danliris","id":20855729,"node_id":"MDQ6VXNlcjIwODU1NzI5","avatar_url":"https://avatars0.githubusercontent.com/u/20855729?v=4","gravatar_id":"","url":"https://api.github.com/users/danliris","html_url":"https://github.com/danliris","followers_url":"https://api.github.com/users/danliris/followers","following_url":"https://api.github.com/users/danliris/following{/other_user}","gists_url":"https://api.github.com/users/danliris/gists{/gist_id}","starred_url":"https://api.github.com/users/danliris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danliris/subscriptions","organizations_url":"https://api.github.com/users/danliris/orgs","repos_url":"https://api.github.com/users/danliris/repos","events_url":"https://api.github.com/users/danliris/events{/privacy}","received_events_url":"https://api.github.com/users/danliris/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-02T22:31:18Z","updated_at":"2018-08-02T22:31:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"be4c1a8b6fffda91181e185c3514e7e7fc1b7240","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/pulls/124/commits","review_comments_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/pulls/124/comments","review_comment_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/issues/124/comments","statuses_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/statuses/e6ba31d527b0a4b87fea598cfc587aa8cd1f8529","head":{"label":"danliris:dev","ref":"dev","sha":"e6ba31d527b0a4b87fea598cfc587aa8cd1f8529","user":{"login":"danliris","id":20855729,"node_id":"MDQ6VXNlcjIwODU1NzI5","avatar_url":"https://avatars0.githubusercontent.com/u/20855729?v=4","gravatar_id":"","url":"https://api.github.com/users/danliris","html_url":"https://github.com/danliris","followers_url":"https://api.github.com/users/danliris/followers","following_url":"https://api.github.com/users/danliris/following{/other_user}","gists_url":"https://api.github.com/users/danliris/gists{/gist_id}","starred_url":"https://api.github.com/users/danliris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danliris/subscriptions","organizations_url":"https://api.github.com/users/danliris/orgs","repos_url":"https://api.github.com/users/danliris/repos","events_url":"https://api.github.com/users/danliris/events{/privacy}","received_events_url":"https://api.github.com/users/danliris/received_events","type":"User","site_admin":false},"repo":{"id":72504733,"node_id":"MDEwOlJlcG9zaXRvcnk3MjUwNDczMw==","name":"bateeq-pos-ui","full_name":"danliris/bateeq-pos-ui","owner":{"login":"danliris","id":20855729,"node_id":"MDQ6VXNlcjIwODU1NzI5","avatar_url":"https://avatars0.githubusercontent.com/u/20855729?v=4","gravatar_id":"","url":"https://api.github.com/users/danliris","html_url":"https://github.com/danliris","followers_url":"https://api.github.com/users/danliris/followers","following_url":"https://api.github.com/users/danliris/following{/other_user}","gists_url":"https://api.github.com/users/danliris/gists{/gist_id}","starred_url":"https://api.github.com/users/danliris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danliris/subscriptions","organizations_url":"https://api.github.com/users/danliris/orgs","repos_url":"https://api.github.com/users/danliris/repos","events_url":"https://api.github.com/users/danliris/events{/privacy}","received_events_url":"https://api.github.com/users/danliris/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danliris/bateeq-pos-ui","description":"Bateeq POS ui","fork":false,"url":"https://api.github.com/repos/danliris/bateeq-pos-ui","forks_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/forks","keys_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/teams","hooks_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/hooks","issue_events_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/issues/events{/number}","events_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/events","assignees_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/assignees{/user}","branches_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/branches{/branch}","tags_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/tags","blobs_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/languages","stargazers_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/stargazers","contributors_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/contributors","subscribers_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/subscribers","subscription_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/subscription","commits_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/contents/{+path}","compare_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/merges","archive_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/downloads","issues_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/issues{/number}","pulls_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/labels{/name}","releases_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/releases{/id}","deployments_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/deployments","created_at":"2016-11-01T04:46:53Z","updated_at":"2018-08-02T21:38:39Z","pushed_at":"2018-08-02T22:31:18Z","git_url":"git://github.com/danliris/bateeq-pos-ui.git","ssh_url":"git@github.com:danliris/bateeq-pos-ui.git","clone_url":"https://github.com/danliris/bateeq-pos-ui.git","svn_url":"https://github.com/danliris/bateeq-pos-ui","homepage":null,"size":532,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":13,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"danliris:uat","ref":"uat","sha":"7c90cd8b9ebb09c87c9c6cf43c05d2a27c908ab1","user":{"login":"danliris","id":20855729,"node_id":"MDQ6VXNlcjIwODU1NzI5","avatar_url":"https://avatars0.githubusercontent.com/u/20855729?v=4","gravatar_id":"","url":"https://api.github.com/users/danliris","html_url":"https://github.com/danliris","followers_url":"https://api.github.com/users/danliris/followers","following_url":"https://api.github.com/users/danliris/following{/other_user}","gists_url":"https://api.github.com/users/danliris/gists{/gist_id}","starred_url":"https://api.github.com/users/danliris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danliris/subscriptions","organizations_url":"https://api.github.com/users/danliris/orgs","repos_url":"https://api.github.com/users/danliris/repos","events_url":"https://api.github.com/users/danliris/events{/privacy}","received_events_url":"https://api.github.com/users/danliris/received_events","type":"User","site_admin":false},"repo":{"id":72504733,"node_id":"MDEwOlJlcG9zaXRvcnk3MjUwNDczMw==","name":"bateeq-pos-ui","full_name":"danliris/bateeq-pos-ui","owner":{"login":"danliris","id":20855729,"node_id":"MDQ6VXNlcjIwODU1NzI5","avatar_url":"https://avatars0.githubusercontent.com/u/20855729?v=4","gravatar_id":"","url":"https://api.github.com/users/danliris","html_url":"https://github.com/danliris","followers_url":"https://api.github.com/users/danliris/followers","following_url":"https://api.github.com/users/danliris/following{/other_user}","gists_url":"https://api.github.com/users/danliris/gists{/gist_id}","starred_url":"https://api.github.com/users/danliris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danliris/subscriptions","organizations_url":"https://api.github.com/users/danliris/orgs","repos_url":"https://api.github.com/users/danliris/repos","events_url":"https://api.github.com/users/danliris/events{/privacy}","received_events_url":"https://api.github.com/users/danliris/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danliris/bateeq-pos-ui","description":"Bateeq POS ui","fork":false,"url":"https://api.github.com/repos/danliris/bateeq-pos-ui","forks_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/forks","keys_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/teams","hooks_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/hooks","issue_events_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/issues/events{/number}","events_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/events","assignees_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/assignees{/user}","branches_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/branches{/branch}","tags_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/tags","blobs_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/languages","stargazers_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/stargazers","contributors_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/contributors","subscribers_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/subscribers","subscription_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/subscription","commits_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/contents/{+path}","compare_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/merges","archive_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/downloads","issues_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/issues{/number}","pulls_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/labels{/name}","releases_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/releases{/id}","deployments_url":"https://api.github.com/repos/danliris/bateeq-pos-ui/deployments","created_at":"2016-11-01T04:46:53Z","updated_at":"2018-08-02T21:38:39Z","pushed_at":"2018-08-02T22:31:18Z","git_url":"git://github.com/danliris/bateeq-pos-ui.git","ssh_url":"git@github.com:danliris/bateeq-pos-ui.git","clone_url":"https://github.com/danliris/bateeq-pos-ui.git","svn_url":"https://github.com/danliris/bateeq-pos-ui","homepage":null,"size":532,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":13,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/danliris/bateeq-pos-ui/pulls/124"},"html":{"href":"https://github.com/danliris/bateeq-pos-ui/pull/124"},"issue":{"href":"https://api.github.com/repos/danliris/bateeq-pos-ui/issues/124"},"comments":{"href":"https://api.github.com/repos/danliris/bateeq-pos-ui/issues/124/comments"},"review_comments":{"href":"https://api.github.com/repos/danliris/bateeq-pos-ui/pulls/124/comments"},"review_comment":{"href":"https://api.github.com/repos/danliris/bateeq-pos-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/danliris/bateeq-pos-ui/pulls/124/commits"},"statuses":{"href":"https://api.github.com/repos/danliris/bateeq-pos-ui/statuses/e6ba31d527b0a4b87fea598cfc587aa8cd1f8529"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}