public String toString()

in dashboard-web-app/src/main/java/org/inventory/hub/event/Transaction.java [84:104]


    public String toString() {

        String typeString;
        if (type.equals("sell"))
          typeString = "SOLD";
        else if (type.equals("intake"))
          typeString = "ARRIVED";
        else typeString = type;

        return typeString + ": " + productInformation.getCount()
          + " of " 
          + productInformation.getProductName() + " @ "
          + pointOfTransaction.getDescription() + " in "
          + pointOfTransaction.getLocation() + " at "
          + transactionTime
          // + " ["
          // + pointOfUpdate.getLongitude() + ", " 
          // + pointOfUpdate.getLatitude() + "]" 
          ;

    }