YoavHaifa / WorkersRightsComputer

Half ready version
1 stars 0 forks source link

Silent refusal to save letters when workdays not specified #51

Open eyalroz opened 1 year ago

eyalroz commented 1 year ago

If one doesn't specify which days of the week the employee had worked, the program will not produce any letters when "Save" is pressed. This in itself is not a bug; the problem is that the user is not told why that is the case - or told anything, in fact. The XML will be saved, silently, and nothing else happens.

Instead, and assuming the Save button maintains its current functionality, the user should be told why letters cannot be generated (e.g. something like "Weekly workdays not specified, cannot finalize computation" or "... cannot produce letters to the employer"). Otherwise it is not clear what's missing.