Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
9.7 kB
2
Indexable
{
    "kode": "DISC001",
    "nama": "Discount Test",
    "from": "2024-01-20",
    "to": "2024-04-22",
    "status": {
        "id": 1,
        "label": "AKTIF"
    },
    "min_omset": "",
    "diskon_ammount": "",
    "catatan": "Catatan",
    "interval": null,
    "is_interval": true,
    "min_qty": null,
    "max_qty": null,
    "m_diskon_det": [
        {
            "min_omset": "100",
            "diskon_ammount": "10000",
            "m_diskon_det_sub": [
                [
                    {
                        "roll": 1,
                        "min_kenaikan": 0,
                        "badan": 500,
                        "aksesoris": 750
                    },
                    {
                        "roll": 1,
                        "min_kenaikan": 10,
                        "badan": 1000,
                        "aksesoris": 1500
                    },
                    {
                        "roll": 1,
                        "min_kenaikan": 20,
                        "badan": 1500,
                        "aksesoris": 2250
                    },
                    {
                        "roll": 1,
                        "min_kenaikan": 30,
                        "badan": 2000,
                        "aksesoris": 3000
                    },
                    {
                        "roll": 1,
                        "min_kenaikan": 40,
                        "badan": 2500,
                        "aksesoris": 3750
                    }
                ],
                [
                    {
                        "roll": 2,
                        "min_kenaikan": 0,
                        "badan": 750,
                        "aksesoris": 1000
                    },
                    {
                        "roll": 2,
                        "min_kenaikan": 10,
                        "badan": 1200,
                        "aksesoris": 1700
                    },
                    {
                        "roll": 2,
                        "min_kenaikan": 20,
                        "badan": 1650,
                        "aksesoris": 2400
                    },
                    {
                        "roll": 2,
                        "min_kenaikan": 30,
                        "badan": 2100,
                        "aksesoris": 3100
                    },
                    {
                        "roll": 2,
                        "min_kenaikan": 40,
                        "badan": 2500,
                        "aksesoris": 3750
                    }
                ],
                [
                    {
                        "roll": 3,
                        "min_kenaikan": 0,
                        "badan": 1000,
                        "aksesoris": 1250
                    },
                    {
                        "roll": 3,
                        "min_kenaikan": 10,
                        "badan": 1400,
                        "aksesoris": 1900
                    },
                    {
                        "roll": 3,
                        "min_kenaikan": 20,
                        "badan": 1800,
                        "aksesoris": 2550
                    },
                    {
                        "roll": 3,
                        "min_kenaikan": 30,
                        "badan": 2200,
                        "aksesoris": 3200
                    },
                    {
                        "roll": 3,
                        "min_kenaikan": 40,
                        "badan": 2500,
                        "aksesoris": 3750
                    }
                ],
                [
                    {
                        "roll": 4,
                        "min_kenaikan": 0,
                        "badan": 1200,
                        "aksesoris": 1450
                    },
                    {
                        "roll": 4,
                        "min_kenaikan": 10,
                        "badan": 1550,
                        "aksesoris": 2050
                    },
                    {
                        "roll": 4,
                        "min_kenaikan": 20,
                        "badan": 1900,
                        "aksesoris": 2650
                    },
                    {
                        "roll": 4,
                        "min_kenaikan": 30,
                        "badan": 2250,
                        "aksesoris": 3250
                    },
                    {
                        "roll": 4,
                        "min_kenaikan": 40,
                        "badan": 2500,
                        "aksesoris": 3750
                    }
                ],
                [
                    {
                        "roll": 5,
                        "min_kenaikan": 0,
                        "badan": 1400,
                        "aksesoris": 1650
                    },
                    {
                        "roll": 5,
                        "min_kenaikan": 10,
                        "badan": 1750,
                        "aksesoris": 2200
                    },
                    {
                        "roll": 5,
                        "min_kenaikan": 20,
                        "badan": 2100,
                        "aksesoris": 2750
                    },
                    {
                        "roll": 5,
                        "min_kenaikan": 30,
                        "badan": 2450,
                        "aksesoris": 3300
                    },
                    {
                        "roll": 5,
                        "min_kenaikan": 40,
                        "badan": 2500,
                        "aksesoris": 3750
                    }
                ]
            ]
        },
        {
            "min_omset": "2000000",
            "diskon_ammount": "2000",
            "m_diskon_det_sub": [
                [
                    {
                        "roll": 1,
                        "min_kenaikan": 0,
                        "badan": 1000,
                        "aksesoris": 1500
                    },
                    {
                        "roll": 1,
                        "min_kenaikan": 20,
                        "badan": 2000,
                        "aksesoris": 3000
                    },
                    {
                        "roll": 1,
                        "min_kenaikan": 40,
                        "badan": 2500,
                        "aksesoris": 3750
                    },
                    {
                        "roll": 1,
                        "min_kenaikan": 60,
                        "badan": 2500,
                        "aksesoris": 3750
                    }
                ],
                [
                    {
                        "roll": 2,
                        "min_kenaikan": 0,
                        "badan": 1500,
                        "aksesoris": 2000
                    },
                    {
                        "roll": 2,
                        "min_kenaikan": 20,
                        "badan": 2400,
                        "aksesoris": 3400
                    },
                    {
                        "roll": 2,
                        "min_kenaikan": 40,
                        "badan": 2500,
                        "aksesoris": 3750
                    },
                    {
                        "roll": 2,
                        "min_kenaikan": 60,
                        "badan": 2500,
                        "aksesoris": 3750
                    }
                ],
                [
                    {
                        "roll": 3,
                        "min_kenaikan": 0,
                        "badan": 2000,
                        "aksesoris": 2500
                    },
                    {
                        "roll": 3,
                        "min_kenaikan": 20,
                        "badan": 2500,
                        "aksesoris": 3750
                    },
                    {
                        "roll": 3,
                        "min_kenaikan": 40,
                        "badan": 2500,
                        "aksesoris": 3750
                    },
                    {
                        "roll": 3,
                        "min_kenaikan": 60,
                        "badan": 2500,
                        "aksesoris": 3750
                    }
                ],
                [
                    {
                        "roll": 4,
                        "min_kenaikan": 0,
                        "badan": 2400,
                        "aksesoris": 2900
                    },
                    {
                        "roll": 4,
                        "min_kenaikan": 20,
                        "badan": 2500,
                        "aksesoris": 3750
                    },
                    {
                        "roll": 4,
                        "min_kenaikan": 40,
                        "badan": 2500,
                        "aksesoris": 3750
                    },
                    {
                        "roll": 4,
                        "min_kenaikan": 60,
                        "badan": 2500,
                        "aksesoris": 3750
                    }
                ]
            ]
        }
    ],
    "is_active": 1
}
Leave a Comment