automatically fill week and month values when adding material consumption