(ns auto-ap.views.pages.admin.vendors.common)

(def default-read [:id :name :hidden :terms [:default-account [:name :id :location]]
                   [:account-overrides [[:client [:id :name]] :id [:account [:id :numeric-code :name]]]]
                   [:automatically-paid-when-due [:id :name]]
                   [:terms-overrides [[:client [:id :name]] :id :terms]]
                   [:schedule-payment-dom [[:client [:id :name]] :id :dom]]
                   [:usage [:client-id :count]]
                   [:primary-contact [:name :phone :email :id]]
                   [:secondary-contact [:id :name :phone :email]]
                   :print-as :invoice-reminder-schedule :code
                   :legal-entity-name
                   :legal-entity-first-name :legal-entity-middle-name :legal-entity-last-name
                   :legal-entity-tin :legal-entity-tin-type
                   :legal-entity-1099-type
                   [:address [:street1 :street2 :city :state :zip]]])
