sybersecho / jhip-toko-maju

Apache License 2.0
0 stars 1 forks source link

Gerai #74

Open sybersecho opened 5 years ago

sybersecho commented 5 years ago

Setting

as Superuser, activated software as Gerai

As superuser create new Gerai

Endpoint

Post: /api/gerai/:codeGerai/ Req: Barcode, Name, Quantity, currentStok, createdDate, password Res: {status: 0} {status: 1, message: ""} {status: 2, message: ""} 0: success -> update product history 1: failed - do nothing 2: notActive -> update gerai to state to not active

Gerai Overview in Toko

Table Model

Gerai

_geraitransaction

GeraiConfig

_Gerai_updatehistory