Simplify the quotes admin code