Inventory
Created by: arun kelkar
If no category is earlier created, the button Edit Category should be disabled.
Imported comments:
By Vaibhav Kurhe on 2017-01-28T18:49:57.346Z
completed the task and sent a merge request.
By Vaibhav Kurhe on 2017-01-27T16:46:29.425Z
I have pushed my branch "222#issue" into my repository. Here's the link for the branch commits :- https://gitlab.com/vaibspidy/gkwebapp/commits/222%23issue
By Vaibhav Kurhe on 2017-01-25T14:09:20.257Z
I have modified the code to show EditCategory button only when at least one category is created. So, now when we click on Category under Inventory Menu, we won't see Editcategory button unless we have created a category before. But, there are other possible two scenarios:-
- Suppose I don't have any category created yet. Now, I went to create a category, filled out the required fields, and then clicked Save Button. A new category created message appeared on the screen. But, I am not able to see EditCategory button.
- Suppose I have already created some categories (at least one). Now, I went to EditCategory and deleted all the existing categories (or the last category). Now, even if no category exists, I am able to see EditCategory button.
So, I think we should perform a check as to whether at least one category exists, when 1) a category is created and 2) a category is deleted. What do you think?
By Prajkta Patkar on 2017-01-25T12:31:14.026Z
Merge conflict detected
By Vaibhav Kurhe on 2017-01-20T10:34:19.895Z
assigned to @vaibspidy
By Prajkta Patkar on 2017-01-16T08:03:46.306Z
changed milestone to %9
By Prajkta Patkar on 2017-01-16T06:30:18.718Z
moved from gkcore#174 (closed)
By Vaibhav Kurhe on 2017-01-28T18:49:59.435Z
closed