Untitled
raw download clone
JSON
views 12
,
size 7517 b
{
   "orderId":46,
   "supplierId":3,
   "deliverId":5,
   "salerId":7,
   "notes":"",
   "percentage":0,
   "amount":30591.5,
   "netAmount":30591.5,
   "status":1,
   "deliveryDate":null,
   "orderDetails":[
      {
         "detailId":37,
         "productId":2,
         "amount":69,
         "netAmount":69,
         "promotions":[
            {
               "promotionId":52,
               "detailId":37,
               "promotionType":1,
               "promotionDetails":[
                  {
                     "id":39,
                     "promotionId":52,
                     "percentage":0,
                     "buyAmount":0,
                     "discountAmount":0,
                     "buyQuantity":0,
                     "buyUnitId":null,
                     "giftQuantity":0,
                     "giftUnitId":null,
                     "giftProductId":null,
                     "uuid":"5cd1fc-db67-5d60-d2ad-255cc132abc1"
                  }
               ],
               "uuid":"7d06dd1-f10-0d8e-1efa-a1fb0d6efd2",
               "uuidOrderDetail":"058661-ccfe-38b5-254-c7fdbb25eca7",
               "extraData":{
                  "targetMoney":"123123",
                  "currentAmount":0,
                  "fromDate":"2020-06-25T15:28:31.357",
                  "toDate":"2020-06-25T15:28:31.357",
                  "promotionType":1
               }
            }
         ],
         "orderUnits":[
            {
               "id":113,
               "detailId":37,
               "unitId":1,
               "quantity":23,
               "price":3,
               "amount":69,
               "profitPercentage":0,
               "salePrice":0,
               "uuid":"dcaec72-a75-57fb-d00-36d78da257cb",
               "uuidOrderDetail":"058661-ccfe-38b5-254-c7fdbb25eca7",
               "amountDisplay":"69"
            },
            {
               "id":114,
               "detailId":37,
               "unitId":2,
               "quantity":0,
               "price":0,
               "amount":0,
               "profitPercentage":0,
               "salePrice":0,
               "uuid":"b5e8c53-8ad-7315-ca43-05a2e3a04c",
               "uuidOrderDetail":"058661-ccfe-38b5-254-c7fdbb25eca7",
               "amountDisplay":"0"
            },
            {
               "id":115,
               "detailId":37,
               "unitId":4,
               "quantity":0,
               "price":0,
               "amount":0,
               "profitPercentage":0,
               "salePrice":0,
               "uuid":"644ab-fc6-8515-b70a-00a8ba22a0",
               "uuidOrderDetail":"058661-ccfe-38b5-254-c7fdbb25eca7",
               "amountDisplay":"0"
            }
         ],
         "uuid":"058661-ccfe-38b5-254-c7fdbb25eca7"
      },
      {
         "uuid":"c0f65e7-42d-a4b5-aa3d-42edb4ec8e44",
         "detailId":0,
         "productId":3,
         "amount":30522.5,
         "netAmount":0,
         "promotions":[
            {
               "uuid":"ac18b8-08f-70d7-f73a-bcdc632eef2",
               "uuidOrderDetail":"c0f65e7-42d-a4b5-aa3d-42edb4ec8e44",
               "promotionId":0,
               "detailId":0,
               "promotionType":1,
               "promotionDetails":[
                  {
                     "uuid":"dc810d6-3c76-d1f6-30bf-456174015b4",
                     "id":0,
                     "promotionId":0,
                     "percentage":0,
                     "buyAmount":0,
                     "discountAmount":0,
                     "buyQuantity":0,
                     "buyUnitId":null,
                     "giftQuantity":0,
                     "giftUnitId":null,
                     "giftProductId":null
                  }
               ],
               "extraData":{
                  "targetMoney":"123123",
                  "currentAmount":0,
                  "fromDate":"2020-06-25T15:28:31.357",
                  "toDate":"2020-06-25T15:28:31.357",
                  "promotionType":1
               }
            },
            {
               "uuid":"47d7036-b7e-8f88-606b-e05f3b2eb770",
               "uuidOrderDetail":"c0f65e7-42d-a4b5-aa3d-42edb4ec8e44",
               "promotionId":0,
               "detailId":0,
               "promotionType":2,
               "promotionDetails":[
                  {
                     "uuid":"320c8d-c3d3-37a1-0056-f6645282cb1",
                     "id":0,
                     "promotionId":0,
                     "percentage":50,
                     "buyAmount":0,
                     "discountAmount":0,
                     "buyQuantity":0,
                     "buyUnitId":null,
                     "giftQuantity":0,
                     "giftUnitId":null,
                     "giftProductId":null
                  }
               ]
            }
         ],
         "orderUnits":[
            {
               "uuid":"11c16-d14d-847e-b456-e547ad11db18",
               "orderDetailUUID":"c0f65e7-42d-a4b5-aa3d-42edb4ec8e44",
               "id":0,
               "detailId":0,
               "unitId":1,
               "quantity":"123",
               "price":"123",
               "amount":15129,
               "amountDisplay":"15.129",
               "profitPercentage":0,
               "salePrice":0,
               "name":"Pallet"
            },
            {
               "uuid":"c716a80-8efb-1405-525-c2e568adad46",
               "orderDetailUUID":"c0f65e7-42d-a4b5-aa3d-42edb4ec8e44",
               "id":0,
               "detailId":0,
               "unitId":2,
               "quantity":"23",
               "price":"23",
               "amount":529,
               "amountDisplay":"529",
               "profitPercentage":0,
               "salePrice":0,
               "name":"Thùng"
            },
            {
               "uuid":"18f6b-b01d-35f1-d42c-7b16c24a8303",
               "orderDetailUUID":"c0f65e7-42d-a4b5-aa3d-42edb4ec8e44",
               "id":0,
               "detailId":0,
               "unitId":3,
               "quantity":"123",
               "price":"123",
               "amount":15129,
               "amountDisplay":"15.129",
               "profitPercentage":0,
               "salePrice":0,
               "name":"Lốc"
            },
            {
               "uuid":"a6bb5d5-1bb2-a70-4e57-20b6a322cb3",
               "orderDetailUUID":"c0f65e7-42d-a4b5-aa3d-42edb4ec8e44",
               "id":0,
               "detailId":0,
               "unitId":4,
               "quantity":"123",
               "price":"123",
               "amount":15129,
               "amountDisplay":"15.129",
               "profitPercentage":0,
               "salePrice":0,
               "name":"Hộp"
            },
            {
               "uuid":"182ca05-3c02-bf40-181-f736556cebc",
               "orderDetailUUID":"c0f65e7-42d-a4b5-aa3d-42edb4ec8e44",
               "id":0,
               "detailId":0,
               "unitId":5,
               "quantity":"123",
               "price":"123",
               "amount":15129,
               "amountDisplay":"15.129",
               "profitPercentage":0,
               "salePrice":0,
               "name":"Túi"
            }
         ]
      }
   ],
   "amountDisplay":"30.591,5",
   "netAmountDisplay":"30.591,5"
}
close fullscreen
Login or Register to edit or fork this paste. It's free.