JSFiddle - React, Tailwind, and code Playground

by joshmoto

JavaScript

[
  {
    "Nayment": {
      "Id": 24,
      "Name": "Jack Allen",
      "TotalCost": 1000,
      "RemainCash": 100,
      "TotalAsset": 350,
      "Branch": ["Store One", "Store Two"],
      "BalanceDetails": {
        "PowerCash": 12345,
        "BlockedCash": 12335,
        "creditCash": 1235,
        "AccountCash": 1235
      },
      "LastOrder": {
        "O1FKHZ0001": {
          "OrderId": "O1FKHZ0001",
          "TotalCost": 19330500,
          "TotalValue": 29330500,
          "ProftiLoss": 123423,
          "Status": "Open",
          "FirstBuyPrice": 2340
        }
      }
    }
  },
  {
    "Nayment": {
      "Id": 411,
      "Name": "James P. Sulivan",
      "TotalCost": 6000,
      "RemainCash": 50,
      "TotalAsset": 650,
      "Branch": ["Store One", "Store Two"],
      "BalanceDetails": {
        "PowerCash": 442255,
        "BlockedCash": 255,
        "creditCash": 3535,
        "AccountCash": 35353
      },
      "LastOrder": {
        "O1FKHZ0001": {
          "OrderId": "O1FKHZ0001",
          "TotalCost": 3525255,
          "TotalValue": 3535353,
          "ProftiLoss": 35355355,
          "Status": "Open",
          "FirstBuyPrice": 352252
        }
      }
    }
  },
  {
    "Nayment": {
      "Id": 242,
      "Name": "Mike Wazowski",
      "TotalCost": 35540,
      "RemainCash": 6536
      "TotalAsset": 363646,
      "Branch": ["Store One", "Store Two"],
      "BalanceDetails": {
        "PowerCash": 754635,
        "BlockedCash":2785,
        "creditCash": 69785,
        "AccountCash": 3535
      },
      "LastOrder": {
        "O1FKHZ0001": {
          "OrderId": "O1FKHZ0001",
          "TotalCost": 35363360,
          "TotalValue": 7264226,
          "ProftiLoss": 4646463,
          "Status": "Open",
          "FirstBuyPrice": 363636
        }
      }
    }
  }
]