adeshpdelhi / Diaware

0 stars 1 forks source link

bad request ... on deleting and saving add items #53

Closed aishblue closed 8 years ago

aishblue commented 8 years ago

image

adeshpdelhi commented 8 years ago

That's because you would have added a treatment consumption with that particular item. And so if you delete this item, it won't show its details in "view treatment consumption".

adeshpdelhi commented 8 years ago

So basically deleting items used in treatment won't be possible

aishblue commented 8 years ago

umm but this item got deleted after adding it in treatment consumption ... so now treatment consumption should be independent of these items.. i mean ... removing items from here shouldn't afffect whats already been done

adeshpdelhi commented 8 years ago

did u try refreshing page after saving? the item should have been back

adeshpdelhi commented 8 years ago

I dont think deleting an item used in a treatment would be safe. varna saari details bhi udd jayengi

adeshpdelhi commented 8 years ago

I have now shown "You cannot delete an item used in a treatment/general consumption!" as soon one clicks the cross to delete the item.