From a23975f9cf24c44ecdc447e22f434070df7550a0 Mon Sep 17 00:00:00 2001 From: BC Date: Thu, 28 Jun 2018 23:24:01 -0700 Subject: [PATCH 1/2] Now you can add manual checks. --- .../1530242355-DOWN-add-check-number.sql | 3 + .../1530242355-UP-add-check-number.sql | 2 + src/clj/auto_ap/db/checks.clj | 3 +- src/clj/auto_ap/graphql.clj | 9 ++ src/clj/auto_ap/graphql/checks.clj | 22 ++++ src/clj/auto_ap/routes/checks.clj | 1 + src/clj/auto_ap/yodlee/import.clj | 12 +- .../views/components/invoice_table.cljs | 8 +- src/cljs/auto_ap/views/pages/checks.cljs | 6 +- .../auto_ap/views/pages/unpaid_invoices.cljs | 116 +++++++++++++++++- 10 files changed, 171 insertions(+), 11 deletions(-) diff --git a/migrator/migrations/1530242355-DOWN-add-check-number.sql b/migrator/migrations/1530242355-DOWN-add-check-number.sql index 65d571f8..250cd905 100644 --- a/migrator/migrations/1530242355-DOWN-add-check-number.sql +++ b/migrator/migrations/1530242355-DOWN-add-check-number.sql @@ -1,3 +1,6 @@ -- 1530242355 DOWN add-check-number alter table transactions drop column check_number; alter table transactions drop column bank_account_id; + + +alter table checks drop column bank_account_id; diff --git a/migrator/migrations/1530242355-UP-add-check-number.sql b/migrator/migrations/1530242355-UP-add-check-number.sql index 8fc0912e..ae2443d3 100644 --- a/migrator/migrations/1530242355-UP-add-check-number.sql +++ b/migrator/migrations/1530242355-UP-add-check-number.sql @@ -1,3 +1,5 @@ -- 1530242355 UP add-check-number alter table transactions add column check_number INT; alter table transactions add column bank_account_id int; + +alter table checks add column bank_account_id int; diff --git a/src/clj/auto_ap/db/checks.clj b/src/clj/auto_ap/db/checks.clj index 16335823..e9e4e6de 100644 --- a/src/clj/auto_ap/db/checks.clj +++ b/src/clj/auto_ap/db/checks.clj @@ -68,9 +68,10 @@ :else q))) -(defn base-graphql [{:keys [company-id vendor-id check-number]}] +(defn base-graphql [{:keys [company-id vendor-id check-number bank-account-id]}] (cond-> base-query (not (nil? company-id)) (helpers/merge-where [:= :company-id company-id]) + (not (nil? bank-account-id)) (helpers/merge-where [:= :bank-account-id bank-account-id]) (not (nil? vendor-id)) (helpers/merge-where [:= :vendor-id vendor-id]) (not (nil? check-number)) (helpers/merge-where [:= :check-number check-number]))) diff --git a/src/clj/auto_ap/graphql.clj b/src/clj/auto_ap/graphql.clj index 6a8574eb..9115a525 100644 --- a/src/clj/auto_ap/graphql.clj +++ b/src/clj/auto_ap/graphql.clj @@ -232,6 +232,14 @@ :bank_account_id {:type 'Int} :company_id {:type 'Int}} :resolve :mutation/print-checks} + + :add_handwritten_check {:type :check_result + :args {:invoice_id {:type 'Int} + :amount {:type 'Float} + :date {:type 'String} + :check_number {:type 'Int} + :bank_account_id {:type 'Int}} + :resolve :mutation/add-handwritten-check} :edit_user {:type :user :args {:edit_user {:type :edit_user}} :resolve :mutation/edit-user} @@ -398,6 +406,7 @@ :get-company get-company :get-user get-user :get-user-companies get-user-companies + :mutation/add-handwritten-check gq-checks/add-handwritten-check :mutation/print-checks print-checks :mutation/edit-user gq-users/edit-user :mutation/add-invoice gq-invoices/add-invoice diff --git a/src/clj/auto_ap/graphql/checks.clj b/src/clj/auto_ap/graphql/checks.clj index 77278caa..0c909c5f 100644 --- a/src/clj/auto_ap/graphql/checks.clj +++ b/src/clj/auto_ap/graphql/checks.clj @@ -4,8 +4,10 @@ [com.walmartlabs.lacinia :refer [execute]] [com.walmartlabs.lacinia.executor :as executor] [com.walmartlabs.lacinia.resolve :as resolve] + [auto-ap.db.invoices-checks :as invoices-checks] [auto-ap.db.checks :as checks] [auto-ap.db.vendors :as vendors] + [auto-ap.db.invoices :as invoices] [auto-ap.utils :refer [by]] [auto-ap.db.companies :as companies] [auto-ap.time :refer [parse normal-date]])) @@ -39,6 +41,26 @@ :start (:start args 0) :end (+ (:start args 0) (count checks))}] extra-context))) +(defn add-handwritten-check [context args value] + (let [invoice (invoices/get-by-id (:invoice_id args)) + check (checks/insert! {:s3-uuid nil + :s3-key nil + :s3-url nil + :check-number (:check_number args) + :amount (:amount args) + :bank-account-id (:bank_account_id args) + :vendor-id (:vendor-id invoice) + :company-id (:company-id invoice) + :invoices [(:invoice_id args)]})] + + (invoices-checks/insert-multi! [{:invoice-id (:invoice_id args) + :check-id (:id check) + :amount (:amount args)}]) + (invoices/apply-payment (:invoice_id args) (:amount args)) + (->graphql + {:s3-url nil + :invoices [(invoices/get-by-id (:invoice_id args))]}))) + diff --git a/src/clj/auto_ap/routes/checks.clj b/src/clj/auto_ap/routes/checks.clj index f82ae5ab..8e61ee95 100644 --- a/src/clj/auto_ap/routes/checks.clj +++ b/src/clj/auto_ap/routes/checks.clj @@ -176,6 +176,7 @@ :s3-key (str "checks/" uuid ".pdf") :s3-url (str "http://" (:data-bucket env) ".s3-website-us-east-1.amazonaws.com/checks/" uuid ".pdf") :check-number (+ index (:check-number bank-account)) + :bank-account-id bank-account-id :amount (reduce + 0 (map (comp invoice-amounts :id) invoices)) :memo memo :vendor-id (:id vendor) diff --git a/src/clj/auto_ap/yodlee/import.clj b/src/clj/auto_ap/yodlee/import.clj index 9d16e941..c04b200d 100644 --- a/src/clj/auto_ap/yodlee/import.clj +++ b/src/clj/auto_ap/yodlee/import.clj @@ -13,9 +13,10 @@ first :id)) -(defn transaction->check-id [_ check-number company-id vendor-id] +(defn transaction->check-id [_ check-number company-id bank-account-id vendor-id] (when check-number (-> (checks/get-graphql {:company-id company-id + :bank-account-id bank-account-id :check-number check-number}) first :id))) @@ -54,11 +55,12 @@ status :status} transaction transaction (if (= 0 (rand-int 3)) - (assoc-in transaction [:description :original] (str "check xxx" (rand-nth ["6789" "1234" "6790"]))) + (assoc-in transaction [:description :original] (str "check xxx1236")) transaction) check-number (extract-check-number transaction) company-id (account->company account-id) - vendor-id (transaction->vendor-id transaction)]] + vendor-id (transaction->vendor-id transaction) + bank-account-id (yodlee-account-id->bank-account-id account-id)]] (try (transactions/upsert! @@ -74,8 +76,8 @@ :company-id company-id :vendor-id vendor-id :check-number check-number - :bank-account-id (yodlee-account-id->bank-account-id account-id) - :check-id (transaction->check-id transaction check-number company-id vendor-id) + :bank-account-id bank-account-id + :check-id (transaction->check-id transaction check-number company-id bank-account-id vendor-id) }) (catch Exception e (println e)))))) diff --git a/src/cljs/auto_ap/views/components/invoice_table.cljs b/src/cljs/auto_ap/views/components/invoice_table.cljs index 6ec12934..41c12893 100644 --- a/src/cljs/auto_ap/views/components/invoice_table.cljs +++ b/src/cljs/auto_ap/views/components/invoice_table.cljs @@ -130,5 +130,9 @@ ^{:key (:id e)} [:a.tag {:on-click (dispatch-event (conj expense-event id))} (:name (:expense-account e)) " "(gstring/format "$%.2f" (:amount e) ) ])] [:td (for [check checks] - ^{:key (:id check)} - [:a.tag {:href (:s3-url (:check check)) :target "_new"} [:i.fa.fa-money-check] [:span.icon [:i.fa.fa-money]] (str " " (:check-number (:check check)) " (" (gstring/format "$%.2f" (:amount check) ) ")")])]]))]]])))) + (if (:s3-url (:check check)) + ^{:key (:id check)} + [:a.tag {:href (:s3-url (:check check)) :target "_new"} [:i.fa.fa-money-check] [:span.icon [:i.fa.fa-money]] (str " " (:check-number (:check check)) " (" (gstring/format "$%.2f" (:amount check) ) ")")] + + ^{:key (:id check)} + [:span.tag [:i.fa.fa-money-check] [:span.icon [:i.fa.fa-money]] (str " " (:check-number (:check check)) " (" (gstring/format "$%.2f" (:amount check) ) ")")]))]]))]]])))) diff --git a/src/cljs/auto_ap/views/pages/checks.cljs b/src/cljs/auto_ap/views/pages/checks.cljs index 8f47f025..7da4d4b7 100644 --- a/src/cljs/auto_ap/views/pages/checks.cljs +++ b/src/cljs/auto_ap/views/pages/checks.cljs @@ -121,7 +121,11 @@ [:td check-number] [:td (date->str date) ] [:td (gstring/format "$%.2f" amount )] - [:td [:a.tag {:href s3-url :target "_new"} [:i.fa.fa-money-check] [:span.icon [:i.fa.fa-money]] (str " " check-number " (" (gstring/format "$%.2f" amount ) ")")]] + [:td + (if s3-url + [:a.tag {:href s3-url :target "_new"} [:i.fa.fa-money-check] [:span.icon [:i.fa.fa-money]] (str " " check-number " (" (gstring/format "$%.2f" amount ) ")")] + [:span.tag [:i.fa.fa-money-check] [:span.icon [:i.fa.fa-money]] (str " " check-number " (" (gstring/format "$%.2f" amount ) ")")]) + ] ]))]]])))) diff --git a/src/cljs/auto_ap/views/pages/unpaid_invoices.cljs b/src/cljs/auto_ap/views/pages/unpaid_invoices.cljs index fe04eaef..8d6e52d5 100644 --- a/src/cljs/auto_ap/views/pages/unpaid_invoices.cljs +++ b/src/cljs/auto_ap/views/pages/unpaid_invoices.cljs @@ -32,6 +32,11 @@ (fn [db] (-> db ::advanced-print-checks))) +(re-frame/reg-sub + ::handwrite-checks + (fn [db] + (-> db ::handwrite-checks))) + (re-frame/reg-sub ::change-expense-accounts (fn [db] @@ -96,6 +101,22 @@ (filter (comp checked :id)) (map #(assoc % :amount (:outstanding-balance %))))} ))))) +(re-frame/reg-event-fx + ::handwrite-checks + (fn [{:keys [db]} _] + (let [{:keys [checked invoices]} (get-in db [::invoice-page]) + invoice (->> invoices + (filter (comp checked :id)) + first) + ] + + {:dispatch [::events/modal-status ::handwrite-checks {:visible? true}] + :db (-> db + (update-in [::invoice-page :print-checks-shown?] #(not %) ) + (assoc-in [::handwrite-checks] {:bank-account-id (:id (first (:bank-accounts @(re-frame/subscribe [::subs/company])))) + :amount (:outstanding-balance invoice) + :invoice invoice } ))}))) + (re-frame/reg-event-db ::cancel-advanced-print (fn [db _] @@ -221,6 +242,39 @@ ]]}]} :on-success [::invoice-created]}}))) +(re-frame/reg-event-fx + ::handwrite-checks-save + (fn [{:keys [db]} _] + (let [{:keys [date invoice amount check-number bank-account-id]} @(re-frame/subscribe [::handwrite-checks])] + {:graphql + {:token (-> db :user) + :query-obj {:venia/operation {:operation/type :mutation + :operation/name "AddHandwrittenCheck"} + + :venia/queries [{:query/data [:add-handwritten-check + {:date date + :amount amount + :check-number check-number + :bank-account-id bank-account-id + :invoice_id (:id invoice) + } + [[:invoices [:id :outstanding-balance [:checks [:amount [:check [:amount :s3_url :check_number ]]]]]]]]}]} + :on-success [::handwrite-checks-succeeded]}}))) + +(re-frame/reg-event-fx + ::handwrite-checks-succeeded + (fn [{:keys [db]} [_ {:keys [add-handwritten-check] :as result}]] + (let [invoices-by-id (by :id (:invoices add-handwritten-check))] + {:dispatch [::events/modal-completed ::handwrite-checks] + :db (-> db + (update-in [::invoice-page :invoices] + (fn [invoices] + (println invoices-by-id) + (map (fn [i] + (merge i (invoices-by-id (:id i)))) + invoices))) + (dissoc ::handwrite-checks))}))) + (re-frame/reg-event-fx ::invoice-created (fn [{:keys [db]} [_ {:keys [add-invoice]}]] @@ -411,6 +465,59 @@ :max outstanding-balance :step "0.01"}]]]]]])]]]))) +(defn handwrite-checks-modal [] + (let [{:keys [checked]} @(re-frame/subscribe [::invoice-page]) + {:keys [invoice] :as handwrite-checks} @(re-frame/subscribe [::handwrite-checks]) + change-event [::events/change-form [::handwrite-checks]] + current-company @(re-frame/subscribe [::subs/company])] + + [action-modal {:id ::handwrite-checks + :title "Handwrite Check" + :action-text "Save" + :save-event [::handwrite-checks-save] + #_#_:can-submit? (s/valid? ::invoice/invoice data)} + [horizontal-field + [:label.label "Pay using"] + [:span.select + [bind-field + [:select {:type "select" + :field :bank-account-id + :event change-event + :subscription handwrite-checks} + (for [{:keys [id number name]} (:bank-accounts current-company)] + ^{:key id} [:option {:value id} name])]]]] + + [horizontal-field + [:label.label "Paid amount"] + [:div.field.has-addons.is-extended + [:p.control [:a.button.is-static "$"]] + [:p.control + [bind-field + [:input.input {:type "number" + :field [:amount] + :event change-event + :subscription handwrite-checks + :spec ::invoice/total + :step "0.01"}]]]]] + + [horizontal-field + [:label.label "Date"] + [bind-field + [:input.input {:type "date" + :field [:date] + :event change-event + :spec ::invoice/date + :subscription handwrite-checks}]]] + + [horizontal-field + [:label.label "Check number"] + [bind-field + [:input.input {:type "number" + :field [:check-number] + :event change-event + #_#_:spec ::check/date + :subscription handwrite-checks}]]]])) + (defn new-invoice-modal [] (let [data @(re-frame/subscribe [::new-invoice]) @@ -502,14 +609,18 @@ :class (if print-checks-loading? "is-loading" "")} - "Print checks " + "Pay " + [:span " "] [:span.icon.is-small [:i.fa.fa-angle-down {:aria-hidden "true"}]]]] [:div.dropdown-menu {:role "menu"} [:div.dropdown-content (list (for [{:keys [id number name]} (:bank-accounts current-company)] - ^{:key id} [:a.dropdown-item {:on-click (dispatch-event [::print-checks id])} name]) + ^{:key id} [:a.dropdown-item {:on-click (dispatch-event [::print-checks id])} "Print checks from " name]) ^{:key "advanced-divider"} [:hr.dropdown-divider] + + (when (= 1 (count checked)) + ^{:key "handwritten"} [:a.dropdown-item {:on-click (dispatch-event [::handwrite-checks])} "Handwritten Check..."]) ^{:key "advanced"} [:a.dropdown-item {:on-click (dispatch-event [::advanced-print-checks])} "Advanced..."])]]])] [invoice-table {:id :unpaid :params (re-frame/subscribe [::params]) @@ -525,6 +636,7 @@ [print-checks-modal] [new-invoice-modal] + [handwrite-checks-modal] [change-expense-accounts-modal] (when check-results-shown? [modal From 6a9635730622ece42fff14073c31aac3ed499d83 Mon Sep 17 00:00:00 2001 From: BC Date: Fri, 29 Jun 2018 23:43:03 -0700 Subject: [PATCH 2/2] improving import. --- .../1530253647-DOWN-reset-database.sql | 1 + .../1530253647-UP-reset-database.sql | 193 ++++++++++++++++++ 2 files changed, 194 insertions(+) create mode 100644 migrator/migrations/1530253647-DOWN-reset-database.sql create mode 100644 migrator/migrations/1530253647-UP-reset-database.sql diff --git a/migrator/migrations/1530253647-DOWN-reset-database.sql b/migrator/migrations/1530253647-DOWN-reset-database.sql new file mode 100644 index 00000000..68880ecb --- /dev/null +++ b/migrator/migrations/1530253647-DOWN-reset-database.sql @@ -0,0 +1 @@ +-- 1530253647 DOWN reset-database \ No newline at end of file diff --git a/migrator/migrations/1530253647-UP-reset-database.sql b/migrator/migrations/1530253647-UP-reset-database.sql new file mode 100644 index 00000000..813cb022 --- /dev/null +++ b/migrator/migrations/1530253647-UP-reset-database.sql @@ -0,0 +1,193 @@ +-- 1530253647 UP reset-database +-- 1529684190 UP reset-database +delete from invoices_expense_accounts; +delete from invoices_checks; +delete from transactions; +delete from checks; +delete from invoices; +delete from vendors; +delete from companies; + + +INSERT INTO companies (code, name, data) +VALUES +('BCBC', 'Brown Chicken Brown Cow', '{:locations ["CB"] }'), +('BSG', 'Bella Saratoga', '{:locations ["SG"] }'), +('CBC', 'Campbell Brewing Co', '{:locations ["CB"]}'), +('IBC', 'Iguanas Burritozilla', '{:locations ["DT" "EG" "SC" "EG" "SG" "CB" "BH"] :bank-accounts [{:number "123456789" :id 1 :check-number 6789 :bank-name "Bank of America" :bank-code "90-4149/1211" :routing "12345678" :name "BOA-6789" :yodlee-account-id 11703936} {:number "987654321" :id 2 :check-number 1234 :bank-name "Bank of America" :bank-code "90-4149/1211" :routing "123456" :name "BOA-4321"}]}'), +('IBCBC', 'Shared CBC-IBC Expenses', '{:locations ["CB"]}'), +('KOG', 'Knock Out Grill & Bar', '{:locations ["SV"]}'), +('LFT', 'Lefty''s East Coast Pizzeria', '{:locations ["SB"]}'), +('MVSG', 'Mio Saratoga', '{:locations ["SG"]}'), +('MAM', 'Mama Mia''s', '{:locations ["SB"]}'), +('MLF', 'Mama Lu''s Foods', '{:locations ["SJ"]}'), +('MPI', 'Moscini Pizza Inc', '{:locations ["CB" "BM" "SC"]}'), +('NBST', 'Nasch Bistro', '{:locations ["LG"]}'), +('NMKT', 'Naschmarkt', '{:locations ["CB"]}'), +('RCI', 'Roberto''s Cantina Inc', '{:locations ["SV"]}'), +('SIB', 'Sorelle Italian Bistro', '{:locations ["ST"]}'), +('WGC', 'Willow Glen Creamery', '{:locations ["WG" "CB" "GS"]}'), +('TSL', 'The Socialight', '{:locations ["CB"]}'); + +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (111, 'Acme Bread', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5140); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (112, 'Alfredo''s Produce', '{:address {:street1 "55 Sunol St", :street2 "", :city "San Jose", :state "CA", :zip "95126"}}', NULL, NULL, NULL, 'Oscar', 'candelas_oscar@yahoo.com', '408-806-4150', 'oscar.candelas1@gmail.com', 'oscar.candelas@gmail.com', '', 5120); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (113, 'Aloha Paid Out', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (114, 'Alsco', '{:address {:street1 "2275 Junction Ave", :street2 "", :city "San Jose", :state "CA", :zip "95131"}}', NULL, NULL, NULL, 'Suki', 'spham@alsco.com', '408-279-2345', '', '', '', 7435); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (115, 'American Wine & Spirits', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Nicholas Stagnaro', NULL, '408-838-1005', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (116, 'Aramark', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (117, 'Auto-Chlor', '{:address {:street1 "3400 Thomas Rd", :street2 "", :city "Santa Clara", :state "CA", :zip "95054"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7410); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (118, 'Bassian Farms Inc', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Flora Hernandez', 'fhernandez@bassianfarms.com', 'Mike Maltese, Sales: 408-691-8487', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (119, 'Better Brands', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Fred', 'fredmontalvo@hotmail.com', '', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (120, 'Bigoli Fresh Pasta', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', 'info@bigolifreshpasta.com', '', '', '', '', 5110); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (121, 'BiRite', '{:address {:street1 "123 South Hill Drive", :street2 "", :city "Brisbane", :state "CA", :zip "94005"}}', NULL, NULL, NULL, 'Justin', NULL, '', '', '', '', 5110); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (122, 'BSG Craftbrewing', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Amanda Steele', 'asteele@bsgcraft.com', '952-465-0596', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (123, 'Carbonic Service Inc', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Cynthia', 'cynthia@carbonicservice.com', '408-727-8835', '', 'info@carbonicservices.com', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (124, 'Chavez Distributors', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Chavez', 'chavezdist@gmail.com', '510-352-8431', 'Alejandra', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (125, 'Chef''s Choice Produce Co', '{:address {:street1 "2170 Martin Avenue", :street2 "", :city "Santa Clara", :state "CA", :zip "95050"}}', NULL, NULL, NULL, 'Anna', 'Accounting@chefschoiceproduce.com', '', '', '', '', 5110); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (126, 'Chef''s Warehouse', '{:address {:street1 "1250 Whipple Rd.", :street2 "", :city "Union City", :state "CA", :zip "94587"}}', NULL, NULL, NULL, 'Deborah', 'dvalle@chefswarehouse.com', '510.627.0093', '', '', '', 5110); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (127, 'Chesbro', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Robin Voss', 'risingstarwinegroup@hotmail.com', '831-392-7984', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (128, 'Chrissa Imports Ltd', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Segev', 'orders@chrissaimports.com', '', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (129, 'Cintas', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', 'Loc00W01@cintas.com', '916.576.4104 ', 'Ruth Moya- prev the contact', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (130, 'Cintas - Towels', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', 'Loc00W01@cintas.com', '916.576.4104 ', 'Ruth Moya- prev the contact', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (131, 'Classic Mix - Galloway Company', '{:address {:street1 "PO Box 617", :street2 "", :city "Neenah", :state "CA", :zip "54957"}}', NULL, NULL, NULL, 'Linda', 'lfournier@gallowaycompany.com', '', '', '', '', 5130); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (132, 'Classic Wines', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'AR', 'bronco.ar@broncowine.com', '800-692-5780', 'Laura, AR person I talked to', '', '', 5510); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (133, 'Daylight Foods', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (134, 'DBI Beverage', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Grace Miller', 'grace.miller@dbibeverage.com', '408-380-5235', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (135, 'Del Monte Meat Co', '{:address {:street1 "PO Box 101831", :street2 "", :city "Pasadena", :state "CA", :zip "91189"}}', NULL, NULL, NULL, 'Vicki', 'vickic@delmontemeat.com', '', '', '', '', 5111); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (136, 'Digital Dining Paid Out', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (137, 'DVW Commercial', '{:address {:street1 "38507 Cherry St., Suite I", :street2 "", :city "Newark", :state "CA", :zip "94560"}}', NULL, NULL, NULL, 'Lily', 'dvwcommercial@hotmail.com', '', '', '', '', 5910); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (138, 'Eddie''s Produce', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Eddie', 'eddiesfreshproduce.sj@gmail.com', '', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (139, 'Epic Wines & Spirits', '{:address {:street1 "P.O. Box 8366", :street2 "", :city "Pasadena", :state "CA", :zip "91109"}}', NULL, NULL, NULL, '', NULL, '888-565-4352', '', '', '', 5510); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (140, 'Frank Family Vineyards', '{:address {:street1 "PO Box 1012", :street2 "", :city "St Helena", :state "CA", :zip "94574"}}', NULL, NULL, NULL, '', 'ar@vintagewinemarketing.com', '', '', '', '', 5510); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (141, 'Fresh and Best Produce', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Abraham', 'freshbestarap@gmail.com', '', 'Abraham - Sales Rep', '', 'Cell 510-375-4518', 5110); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (142, 'GE Mobile Water, Inc', '{:address {:street1 "PO Box 742132", :street2 "", :city "Los Angeles", :state "CA", :zip "90074"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (143, 'Golden Gate Meat Company, Inc', '{:address {:street1 "803 Wright Ave", :street2 "", :city "Richmond", :state "CA", :zip "94804"}}', NULL, NULL, NULL, 'Greg', 'GregM@ggmeatco.com', '', '', '', '', 5111); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (144, 'Half Moon Bay Brewing Co, Inc', '{:address {:street1 "PO Box 879", :street2 "", :city "El Granada", :state "CA", :zip "94018"}}', NULL, NULL, NULL, 'Emily', 'emily@hmbbrewingco.com', '650-728-2739', '', '', '', 5410); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (145, 'Il Pastaio Foods', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (146, 'International Food Distributing', '{:address {:street1 "822 American Street", :street2 "", :city "San Carlos", :state "CA", :zip "94070"}}', NULL, NULL, NULL, 'Dan', 'dan@inter-national-foods.com', '650-593-7183', '', '', '', 5110); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (147, 'ISP Productions', '{:address {:street1 "2468 Karen Dr, Unit 1", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Greg', 'super851@gmail.com', '(408) 891-8122', '', '', '', 7244); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (148, 'ItalFoods Inc', '{:address {:street1 "PO BOX 7511", :street2 "", :city "San Francisco", :state "CA", :zip "94120"}}', NULL, NULL, NULL, 'Paris', 'pglass@italfoodsinc.com', '650 877 0724, ext 326', '', '', '', 5110); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (149, 'ItalFoods Inc', '{:address {:street1 "PO BOX 2563", :street2 "", :city "Morgan Hill", :state "CA", :zip "95038"}}', NULL, NULL, NULL, 'Jennifer', 'jenniferc@lusamerica.com', '408 778 7200', '', '', '', 5110); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (150, 'Julius Meinl', '{:address {:street1 "4115 N. Ravenswood Ave", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Tiffany', 'tiffany.marchan@meinl.com', '773-954-7571', '', '', '', 5220); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (151, 'JVS Wine Imports', '{:address {:street1 "360 Swift Ave Side B Ste 9", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (152, 'Laird Family Wine', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Robin Voss', 'risingstarwinegroup@hotmail.com', '831-392-7984', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (153, 'Le Boulanger', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Anna Lisa Daniel', 'adaniel@leboulanger.com', '408-774-9000 ext 278', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (154, 'Lettieri & Co', '{:address {:street1 "120 Park Lane", :street2 "", :city "Brisbane", :state "CA", :zip "94005"}}', NULL, NULL, NULL, 'Selo', 'selo@lettieri.com', '', '', '', '', 5110); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (155, 'Lusamerica Foods, Inc', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Jennifer', 'jenniferc@lusamerica.com', '', '', '', '', 5114); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (156, 'Mama Lu''s Foods', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Sam Orozco', 'bigsam@mamalusfoods.com', '', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (157, 'Mama Lu''s Invoices', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Sam Orozco', 'bigsam@mamalusfoods.com', '', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (158, 'Marianne''s Ice Cream', '{:address {:street1 "2100 B Delaware Ave", :street2 "", :city "Santa Cruz", :state "CA", :zip "95060"}}', NULL, NULL, NULL, 'Alice', 'kd@mariannesicecream.com', '', '', '', '', 5130); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (159, 'Mission Linen Supply', '{:address {:street1 "601 Swift St", :street2 "", :city "Santa Cruz", :state "CA", :zip "95060"}}', NULL, NULL, NULL, '', NULL, '831-423-1630', '', '', '', 7435); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (160, 'Mt Eden Winery', '{:address {:street1 "22020 Mount Eden Rd", :street2 "", :city "Saratoga", :state "CA", :zip "95070"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (161, 'New York Style Sausage Co.', '{:address {:street1 "1228 Reamwood Ave", :street2 "", :city "Sunnyvale", :state "CA", :zip "94089"}}', NULL, NULL, NULL, 'Kay', 'nysdon@aol.com', '', '', '', '', 5111); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (162, 'Newport Fish Co', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Christina Brooks', 'newportfish@earthlink.net', '650-877-7200', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (163, 'Original Roasters', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Joaquin Gomez ', 'jgomez@originalroasters.com', '', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (164, 'Pacific Edge Wine & Spirits', '{:address {:street1 "5155 Clareton Drive, 100", :street2 "", :city "Agoura Hills", :state "CA", :zip "91301"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (165, 'Palo Alto Foods', '{:address {:street1 "6691 Clark Ave", :street2 "", :city "Newark", :state "CA", :zip "94560"}}', NULL, NULL, NULL, 'Evelyn', 'evelyn@paloaltofoods.com', '', '', '', '', 5130); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (166, 'Pelerin Wines', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Robin Voss', 'risingstarwinegroup@hotmail.com', '831-392-7984', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (167, 'Performance Food Group', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Cristin Garden', 'Cristin.Garden@pfgc.com', '831-465-3212', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (168, 'Performance Food Group - Joan', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Joant Yount', 'Joan.Yount@pfgc.com', '831-465-3212', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (169, 'Performance Food Group - KOG', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Greg Sosebee', 'greg.sosebee@pfgc.com', '408-499-9863', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (170, 'Performance Food Group - LFT', '{:address {:street1 "PO Box 951080", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Michael Forman', 'michael.forman@pfgc.com', '408-799-3772', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (171, 'Performance Food Group - RCI', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Carlos Gonzalez', 'carlos.gonzalez@pfgc.com', '831-465-3212', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (172, 'Performance Food Group - ROMA', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (173, 'Performance Food Group - SIB', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Joant Yount', 'Joan.Yount@pfgc.com', '831-465-3212', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (174, 'Pride Mountain Vineyards', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Robin Voss', 'risingstarwinegroup@hotmail.com', '831-392-7984', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (175, 'Prudential Overall Supply', '{:address {:street1 "PO Box 11210", :street2 "", :city "Santa Ana", :state "CA", :zip "92711"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7435); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (176, 'Ralph Martinez', '{:address {:street1 "1071 Topaz Ave Apt. C", :street2 "", :city "San Jose", :state "CA", :zip "95117"}}', NULL, NULL, NULL, 'Ralph', NULL, '', '', '', '', 7440); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (177, 'Regal Wine Co', '{:address {:street1 "PO Box 2160", :street2 "", :city "Windsor", :state "CA", :zip "95492"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (178, 'Rhodes-To-Wine com', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Rebecca Rhodes ', 'rebecca@rhodes-to-wine.com', '', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (179, 'Royal Hawaiian', '{:address {:street1 "213 E. Harris Ave ", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5114); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (180, 'S. Ramirez Distribution', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Lupe', 'Guadalupe.Ramirez@unionbank.com', '650-365-2110 (W) 650-568-5883 (Direct)', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (181, 'Saportio Foods Inc', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (182, 'Scanned Invoices', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Ron', 'rjb.jr62@gmail.com', '', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (183, 'Southern Glazers', '{:address {:street1 "P.O. Box 742313", :street2 "", :city "Los Angeles", :state "CA", :zip "90074"}}', NULL, NULL, NULL, 'Mark', NULL, '', 'For Online Modules', '', '', 5510); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (184, 'Suprema Meat Company', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Berta Gonzalez', 'supremini@sbcglobal.net', '', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (185, 'Sysco', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (186, 'System Services of America', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5110); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (187, 'Testarossa Winery', '{:address {:street1 "PO Box 969", :street2 "", :city "Los Gatos", :state "CA", :zip "95031"}}', NULL, NULL, NULL, 'Jessica Morocco', 'jmorocco@testarossa.com', '408-354-6150 xt 49', '', '', '', 5510); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (188, 'The Alarm Company', '{:address {:street1 "PO Box 178", :street2 "", :city "Los Gatos", :state "CA", :zip "95031"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7450); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (189, 'Top Hat Provisions, LLC', '{:address {:street1 "1 South Park St., Unit 205", :street2 "", :city "San Francisco", :state "CA", :zip "94107"}}', NULL, NULL, NULL, 'Auto-email', 'Orders@TopHatProvisions.com', '415-902-7821', '', '', '', 5610); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (190, 'Treat Ice Cream', '{:address {:street1 "11 South 19th Street", :street2 "", :city "San Jose", :state "CA", :zip "95116"}}', NULL, NULL, NULL, 'Bob', 'bob@treaticecream.com', '', '', '', '', 5130); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (191, 'United Hop Farm', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Ro Nayyar ', 'ro@unitedhops.com', '(916) 899-9578', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (192, 'US Foods', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Erol', NULL, '', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (193, 'Vance Wine Selections', '{:address {:street1 "2060-D East Avenida de Los Arboles 306", :street2 "", :city "Thousand Oaks", :state "CA", :zip "91362"}}', NULL, NULL, NULL, 'Sami', 'notic+invoices@vinosmith.com', '805 368 0707', '', '', '', 5510); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (194, 'Vigneron Imports', '{:address {:street1 "6 Barner Place", :street2 "", :city "Oakland", :state "CA", :zip "94602"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (195, 'Vince''s Shellfish Co Inc', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (196, 'Vino Favoloso LLC', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (197, 'Vintage Wine Marketing', '{:address {:street1 "PO Box 5149", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (198, 'Wine Bridge Imports', '{:address {:street1 "PO Box 2272", :street2 "", :city "Davis", :state "CA", :zip "95617"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (199, 'Wine Warehouse', '{:address {:street1 "PO Box 45616", :street2 "", :city "San Francisco", :state "CA", :zip "94145"}}', NULL, NULL, NULL, 'Robert Favela', 'r.favela@winewarehouse.com', '', '', '', '', 5510); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (200, 'Wine Wise', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Devo Price', NULL, '', 'Brian Greenwood', '', '', 5510); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (201, 'Youngs Market', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Hello,', 'fileclerk@youngsmarket.com', '', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (202, 'PG&E', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8310); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (203, 'Able Septic Tank Service', '{:address {:street1 "1020 Ruff Drive", :street2 "", :city "San Jose", :state "CA", :zip "95110"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7460); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (204, 'Altamont Beer Works', '{:address {:street1 "2402 Research Dr", :street2 "", :city "Livermore", :state "CA", :zip "94550"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (205, 'American Beverage Equipment', '{:address {:street1 "PO Box 28646", :street2 "", :city "San Jose", :state "CA", :zip "95159"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7320); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (206, 'America''s Best Coffee Roasting Co', '{:address {:street1 "600 50th Ave", :street2 "", :city "Oakland", :state "CA", :zip "94601"}}', NULL, NULL, NULL, '', 'office@ambestcoffee.com', '415-285-5556', '', '', '', 5220); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (207, 'Anheiser Busch', '{:address {:street1 "15420 Cobalt St, Box: Bay Area", :street2 "", :city "Los Angeles", :state "CA", :zip "91342"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (208, 'Bay City Boiler & Engineering', '{:address {:street1 "23312 Cabot Blvd", :street2 "", :city "Hayward", :state "CA", :zip "94545"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7460); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (209, 'Bigoli Fresh Pasta', '{:address {:street1 "1010 Cass St., Suite B4", :street2 "", :city "Monterey", :state "CA", :zip "93940"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5110); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (210, 'Bordenave''s', '{:address {:street1 "1512 4th Street", :street2 "", :city "San Rafael", :state "CA", :zip "94901"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5140); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (211, 'California Print Services', '{:address {:street1 "1442 S. Winchester Blvd.", :street2 "", :city "San Jose", :state "CA", :zip "95128"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7120); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (212, 'ChemMark of Santa Clara County Inc', '{:address {:street1 "899 Leong Dr", :street2 "", :city "Mountain View", :state "CA", :zip "94043"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7410); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (213, 'De Anza Water Conditioning, Inc', '{:address {:street1 "200 E. Hamilton Ave", :street2 "", :city "Campbell", :state "CA", :zip "95008"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7410); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (214, 'Donald M Hughes', '{:address {:street1 "2185 Old Middlefield Way", :street2 "", :city "Mountain View", :state "CA", :zip "94043"}}', NULL, NULL, NULL, '', NULL, '650-967-8258', '', '', '', 7120); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (215, 'Fort Point Beer Company', '{:address {:street1 "644 Old Mason St", :street2 "", :city "San Francisco", :state "CA", :zip "94129"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (216, 'Good News Restaurant Supply', '{:address {:street1 "1211 Water Street", :street2 "", :city "Santa Cruz", :state "CA", :zip "95062"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7140); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (217, 'Grainger', '{:address {:street1 "2261 Ringwood Ave", :street2 "", :city "San Jose", :state "CA", :zip "95131"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7460); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (218, 'Guillermo Alvarez', '{:address {:street1 "2927 Magliocco Drive, 4", :street2 "", :city "San Jose", :state "CA", :zip "95128"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7450); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (219, 'Hermitage Brewing Co', '{:address {:street1 "1627 S 7th Street", :street2 "", :city "San Jose", :state "CA", :zip "95112"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (220, 'Home Depot Credit Card', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 9890); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (221, 'Horizon Beverage Company', '{:address {:street1 "8380 Pardee Dr", :street2 "", :city "Oakland", :state "CA", :zip "94621"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (222, 'Jerry McDougal - Reimbursement', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (223, 'Ken Toyama', '{:address {:street1 "171 Bellerose", :street2 "", :city "San Jose", :state "CA", :zip "95128"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 9120); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (224, 'Liberty Mutual Insurance', '{:address {:street1 "PO Box 85834", :street2 "", :city "San Diego", :state "CA", :zip "92186"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8510); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (225, 'Marianne''s Ice Cream', '{:address {:street1 "2100 B Delaware Avenue", :street2 "", :city "Santa Cruz", :state "CA", :zip "95060"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5130); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (226, 'Michael Paine - Reimbursement', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (227, 'NA', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (228, 'New Bohemia Brewing Co', '{:address {:street1 "1030 41st Ave", :street2 "", :city "Santa Cruz", :state "CA", :zip "95062"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (229, 'Peerless Coffee and Tea', '{:address {:street1 "260 Oak Street", :street2 "", :city "Oakland", :state "CA", :zip "94607"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5220); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (230, 'PG&E', '{:address {:street1 "10900 N Blaney Ave", :street2 "", :city "Cupertino", :state "CA", :zip "95014"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8310); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (231, 'Polaris Pest Elimination', '{:address {:street1 "4435 First St 276", :street2 "", :city "Livermore", :state "CA", :zip "94551"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7455); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (232, 'Primizie Foods Inc', '{:address {:street1 "23840 Foley Street", :street2 "", :city "Hayward", :state "CA", :zip "94545"}}', NULL, NULL, NULL, '', 'Billing@primiziefoods.com', '510-441-0603', '', '', '', 5110); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (233, 'Rainbow Chamber of Commerce Silicon Valley', '{:address {:street1 "1070 Stewart Dr, Suite 1", :street2 "", :city "Sunnyvale", :state "CA", :zip "94085"}}', NULL, NULL, NULL, '', 'members@rainbowchamber.org', '408-998-9600', '', '', '', 9110); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (234, 'Restaurant Tea Service of Norcal', '{:address {:street1 "PO Box 1667", :street2 "", :city "Oakdale", :state "CA", :zip "95361"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5220); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (235, 'Rosenson''s Wine Creations', '{:address {:street1 "PO Box 5149", :street2 "", :city "Napa", :state "CA", :zip "94581"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (236, 'Roto Rooter Plumbers', '{:address {:street1 "356 Matthew Street", :street2 "", :city "Santa Clara", :state "CA", :zip "95050"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7440); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (237, 'San Jose Water Co', '{:address {:street1 "110 W. Taylor St.", :street2 "", :city "San Jose", :state "CA", :zip "95110"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8340); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (238, 'Universal Restaurant Services Inc', '{:address {:street1 "PO Box 59742", :street2 "", :city "San Jose", :state "CA", :zip "95159"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7460); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (239, 'Viking Alarm Systems', '{:address {:street1 "690 Lenfest Rd", :street2 "", :city "San Jose", :state "CA", :zip "95133"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 9370); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (240, 'White Labs', '{:address {:street1 "9495 Candida Street", :street2 "", :city "San Diego", :state "CA", :zip "92126"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (241, 'Juans Appliance Service', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '408-439-3263', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (242, 'BMI', '{:address {:street1 "", :street2 "", :city "Cincinatti", :state "CA", :zip "45263"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (243, 'Amazon', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7510); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (244, 'AFS IBEX', '{:address {:street1 "PO Box 100045", :street2 "", :city "Pasadena", :state "CA", :zip "91189"}}', NULL, NULL, NULL, '', NULL, '877 237 4239', '', '', '', 8510); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (245, 'Broadcast Music Inc', '{:address {:street1 "10 Music Square East", :street2 "", :city "Nashville", :state "CA", :zip "37203"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7242); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (246, 'Home Depot', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7120); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (247, 'Republic Indemnity', '{:address {:street1 "1045 N. Fourth Street", :street2 "", :city "San Jose", :state "CA", :zip "95112"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8510); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (248, 'Hop Dogma Brewing Co', '{:address {:street1 "PO Box 1375", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (249, 'Juan''s Appliance Service', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7460); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (250, 'Balbuena Carpet Cleaning', '{:address {:street1 "158 Bosque St", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7450); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (251, 'Primizie Foods, Inc', '{:address {:street1 "23840 Foley Street", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5110); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (252, 'Best Version Media/Transworld Systems Inc', '{:address {:street1 "PO BOX 15520", :street2 "", :city "Wilmington", :state "CA", :zip "198505520"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7230); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (253, 'Ace Fire Equipment', '{:address {:street1 "PO Box 1142", :street2 "", :city "Palo Alto", :state "CA", :zip "94302"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7450); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (254, 'Campbell Chamber of Commerce', '{:address {:street1 "267 E Campbell Ave. - C", :street2 "", :city "Campbell", :state "CA", :zip "95008"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8130); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (255, 'County of Santa Clara - Evironmental Health', '{:address {:street1 "1555 Berger Dr, Ste 300", :street2 "", :city "San Jose", :state "CA", :zip "95112"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8620); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (256, 'County of Santa Clara - Dept of Tax and Collections', '{:address {:street1 "70 West Hedding Street, East Wing, 6th Floor", :street2 "", :city "San Jose", :state "CA", :zip "95110"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8710); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (257, 'Draft Pros', '{:address {:street1 "1177 Branham Ln 361", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7320); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (258, 'Dorman Electric', '{:address {:street1 "2261 Fairvalley Ct", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '408-898-0132', '', '', '', 7440); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (259, 'Ascap', '{:address {:street1 "PO BOX 331608", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7246); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (260, 'Santa Clara County Fire Department ', '{:address {:street1 "14700 Winchester Blvd. ", :street2 "", :city "Los Gatos", :state "CA", :zip "95032"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7450); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (261, 'P&R Paper Supply Company Inc. ', '{:address {:street1 "2000 University Ave. ", :street2 "", :city "Berkley", :state "CA", :zip "92373"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5910); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (262, 'San Francisco Brewing Co.', '{:address {:street1 "100 Broderick St Suite 401", :street2 "", :city "San Francisco", :state "CA", :zip "94117"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (263, 'Franchise Tax Board', '{:address {:street1 "PO Box 942857", :street2 "", :city "Sacramento", :state "CA", :zip "94257"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 9720); +INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (264, 'Discretion Brewing ', '{:address {:street1 "2703 41st Street Suite A", :street2 "", :city "Soquel", :state "CA", :zip "95073"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); + + +-- +-- Name: vendors_id_seq; Type: SEQUENCE SET; Schema: public; Owner: ap +-- + +SELECT pg_catalog.setval('public.vendors_id_seq', 264, true); +