jadijadi / bestoon

یک پروژه برای دیدن اینکه چطوری یک ایده می تونه به مرحله اجرا برسه. قدم به قدم فیلم گرفتم و منتشر کردم و خود سیستم هم برای عموم قابل استفاده است
http://bestoon.ir
830 stars 179 forks source link

Add error checking for input in the client scripts #6

Closed amirhomayoun closed 7 years ago

amirhomayoun commented 7 years ago

The error checking code is duplicated in the two scripts. A better approach could be to merge the income and expense scripts and use a "bestoonsubmit.sh" script with a "mode" flag. Can be overkill though.

PS) Can't type Persian here, thought English is better that Finglish! :) PS2) Just saw the other pull request for basically the same change. Will leave this as is for now. We may need a better TODO list so that we don't step on each other's toes. :)