Mangosoft-team / Demo

0 stars 1 forks source link

Slide 4: Missing period sections #13

Closed CT-VG closed 5 years ago

CT-VG commented 5 years ago

The three period boxes should always be visible.

Example for correct use (Please note that the period types could change)

    "id": 3,
    "facilities": [
        {
            "@class": "de.varengold.cdl.core.model.contract.loanAgreement.facility.TermFacility",
            "id": 39,
            "period": { **1.)**
                "id": 620,
                "from": {
                    "id": 1156,
                    "pointDate": "2014-05-26",
                    "eventId": 0,
                    "eventOffset": {
                        "id": 0,
                        "offsetValue": 0,
                        "offsetUnit": "NO_ENTRY",
                        "dayType": "C",
                        "bdc": "NO_SPECIFICATION"
                    },
                    "minMax": "N"
                },
                "till": {
                    "id": 1157,
                    "pointDate": "2017-07-09",
                    "eventId": 0,
                    "eventOffset": {
                        "id": 0,
                        "offsetValue": 0,
                        "offsetUnit": "NO_ENTRY",
                        "dayType": "C",
                        "bdc": "NO_SPECIFICATION"
                    },
                    "minMax": "N"
                }
            },
            "availPeriod": null, **2.)**    
            "repeatedDrawdownYN": "N", **3.)**
            "repeatedDrawdownPeriod": null, **4.)**     
        }
    ],
}

1.) "Term Box": Show Simple Date from and till (both periods should look like the most left example see slide 27) 2.) "Availability period": Null-value -> Show empty (only caption and box) section 3.) "Checkbox muliple drawings ok": N -> unchecked, Y checked 4.) "Mult drawing period": Null-value -> Show empty (only caption and box) section

Number 3. and 4. are consistensy checked! The following is not valid:

            "repeatedDrawdownYN": "Y",
            "repeatedDrawdownPeriod": null

OR

            "repeatedDrawdownYN": "N",
            "repeatedDrawdownPeriod": { 
                "id": 620,
                "from": {
                    "id": 1156,
                    "pointDate": "2014-05-26",
                    "eventId": 0,
                    "eventOffset": {
                        "id": 0,
                        "offsetValue": 0,
                        "offsetUnit": "NO_ENTRY",
                        "dayType": "C",
                        "bdc": "NO_SPECIFICATION"
                    },
                    "minMax": "N"
                },
                "till": {
                    "id": 1157,
                    "pointDate": "2017-07-09",
                    "eventId": 0,
                    "eventOffset": {
                        "id": 0,
                        "offsetValue": 0,
                        "offsetUnit": "NO_ENTRY",
                        "dayType": "C",
                        "bdc": "NO_SPECIFICATION"
                    },
                    "minMax": "N"
                }
            }
CT-VG commented 5 years ago

Now they are visible but not filled correctly: same example from above now looks like this: grafik Available period is correctly shown as an empty period -> JSON: "availPeriod": null Term is incorrect. Here should be displayed From and To -> JSON: "period": {...} Multi drawings is incorrect. The checkbox should be deselected -> JSON: "repeatedDrawdownYN": "N" Mult. draw period is incorrect. The fields should be empty (Falsly here are the period values shown for Term) -> JSON: "repeatedDrawdownPeriod": null