From 30d0122868c9c3978e430f4be43c97d8cf47c128 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sat, 18 Apr 2026 06:38:22 +0000 Subject: [PATCH 1/3] Work in progress --- bun.lockb | Bin 362288 -> 362288 bytes src/routeTree.gen.ts | 9 +++++++++ 2 files changed, 9 insertions(+) diff --git a/bun.lockb b/bun.lockb index 0d10c591a78697aa9a6834acd2123bd2361b470f..8a51b8ad03798034f5b6f8a92b11be5ef1d9c497 100755 GIT binary patch delta 2180 zcmY*bTToSH6dr7CXP}ObW1cCw4G(1$U|cjo4kD;fXpK2MFvKJ}PD7U&iEOIDgod#P zgJPmth5`o|QdAH)!scQif(Qi4MFm6<1T29Ed&%j=TL0QC{(9Qq`S!Z~-&+6LrzX!{ zlV{J$am!he^UNjiFLVn-w|)r0_X;7H@ZM(FgdK%&jPUky2*%G&!K-33cnUTN@7WCA zn0Ojqu$&UG=`{EeUef|$xVi{7Sa>I97QuSq+nlftr;4DCi1Zdn!o^~F8Hy1l5JEg> zEiQrAEvGoNJ2{C2w&7u?IE5ia+$h1~OPS{Y1*P!01dA-=qwz7FWe`C;V_P|dS~f{b zrevWw(br2=?HW!2m&TzpiggMs@7mNr$a*1`|__6gmPF213UE84fqYdzu z`2O9%J))Rl_?4;8@`nj=lIuVt>=FCvMt$~eO}clkCfF=CH2&%;&~;I5(6jkhv&`oE z#M6vtEP0sr%Wz_Ow1$7xWrw#y;F1xZY}GAz+$!T4jEQZ!Bv%`c2TSqV6@BENu0W5( z`Jr8p+0%9|n~$G%6?Tfv)Kv%)9NocPq|r(vN;<7NK}QS4v`$@Occ<=dz%|%THl#ub zIA^CT-e7;fA&A1~Z_0E#u%!=dSa1{SRXlZ#GY7axj`Pm| zYsdJ=AjC?r`9ao;f~h4~It1DDplnf?I?N@r$Ivhj52sJKB}>JD9k*C{zN8_ySqAnk zybT{y9FmGQ-5nX85G=a`sl?|iNgN}v&%y`PL*4&?Q9fDfC>$k_uS+&imFO`4+>wtG%j z*)^wMIv$EsI5s?lrlm}#>vt+v(r$PJsIY3#lSlkv;4Gw~2mUy(%Xw}=M2p4T1usd` z$HoH}ybZNt#7T|1V0Y~GG1Mn-FA8XJz-B^tu95;IY1$bEP1ONa4 delta 2180 zcmY*bTToSH6dr7CXQ0q=Os3>EJd{y@anS@hh@e8DHRkZZ5R>RQ4P9m=vZ)3W8pa+B ziiu_!3LIcaQ9@jrQ&-?s zSKyVC=a#o3@0m*wSnL*xZUYd8?-fHR;k~V}3A>8n7~$=e5Q?9jf>*`HbqY2K@7)T% zn0y*uu$+>xI9m%w`AJM6Fyr%IrKh|D%f!NpQ}8IDn95Jo&_ zEiHrBEvE$ZvU3s%?1_i%;uL`taiauFEN7kr6qUp05-hrckH*KeS3nf;j6EwM+_Fho zGBx`v;Tt#c%cxQ?4tNjt6{6~ADx3;gemV9oIl6)lFepJJqVPs7w~;mYq!w(%bFP_Mcv)<=UW6dQKVRh9EX}&%S!^f+A9=aIj+0OTHAvtHK|-k|F&X@D59_jEvn;4BBcLYQ;iaKMQ0BbQhQjvwEs3AM9m03MU}aboIiAE0lx!apX5k zG^*%R;^<++`T^KR_|F0OnjS1e`3?3D7=jpl{-#W~4cq#`6N_#_ql%}larPh=$#MP} zWbGIqaY4KUn|HBZ6ih9_@*&8j2W5-F^kFWUJ%)yPcsPC1EmF&tzgki-UNGHBfNn#s;eHK2T9_s!Fjq=ITN8u<@oY`lLuMXprV|=|B zd)?LN`R*>;kcM&SInJ}A^u(-ju843vPK{evU*W-206cV$cPYPo?1Ys#d5;$-6Z z-cDGByQW!EBC>^#d%$PPeE>O9L2Vy+;5##{CMWEj;p@#fVV38Fv2#|JnleW#Z1HmltZ)16>`}-JbS!(O=eT;XB;6YsLYp89$*Vjn< zkBtW|_!?@(h?5$1!S3kvGt?(>nJ{Dhjeu3c6a^dVgXIb~)cDdP3cm<3)L#Y0vmu7s k;|iN;8;xkS4pbzw|FDs`Zs`Zok2UC@X{^Q%jvIad0*3hN@c;k- diff --git a/src/routeTree.gen.ts b/src/routeTree.gen.ts index f44751d..2ce160e 100644 --- a/src/routeTree.gen.ts +++ b/src/routeTree.gen.ts @@ -847,3 +847,12 @@ const rootRouteChildren: RootRouteChildren = { export const routeTree = rootRouteImport ._addFileChildren(rootRouteChildren) ._addFileTypes() + +import type { getRouter } from './router.tsx' +import type { createStart } from '@tanstack/react-start' +declare module '@tanstack/react-start' { + interface Register { + ssr: true + router: Awaited> + } +} From c5a1ebd5f004304c3d7343a7c1cba60237e04b39 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sat, 18 Apr 2026 06:38:47 +0000 Subject: [PATCH 2/3] Changes Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com> --- src/routeTree.gen.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/routeTree.gen.ts b/src/routeTree.gen.ts index 2ce160e..f44751d 100644 --- a/src/routeTree.gen.ts +++ b/src/routeTree.gen.ts @@ -847,12 +847,3 @@ const rootRouteChildren: RootRouteChildren = { export const routeTree = rootRouteImport ._addFileChildren(rootRouteChildren) ._addFileTypes() - -import type { getRouter } from './router.tsx' -import type { createStart } from '@tanstack/react-start' -declare module '@tanstack/react-start' { - interface Register { - ssr: true - router: Awaited> - } -} From 9a292bb9bba170ad754467a0e81e7b1931a78d8f Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sat, 18 Apr 2026 06:45:53 +0000 Subject: [PATCH 3/3] Changes Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com> --- ...0_b28c858a-e957-4700-b318-3b2d78d0dafd.sql | 317 ++++++++++++++++++ 1 file changed, 317 insertions(+) create mode 100644 supabase/migrations/20260418064550_b28c858a-e957-4700-b318-3b2d78d0dafd.sql diff --git a/supabase/migrations/20260418064550_b28c858a-e957-4700-b318-3b2d78d0dafd.sql b/supabase/migrations/20260418064550_b28c858a-e957-4700-b318-3b2d78d0dafd.sql new file mode 100644 index 0000000..aadc8fd --- /dev/null +++ b/supabase/migrations/20260418064550_b28c858a-e957-4700-b318-3b2d78d0dafd.sql @@ -0,0 +1,317 @@ +-- Import 78 cases and 75 clients from MyCase export +DO $$ +DECLARE + v_attorney uuid := '213acbe8-6935-40e0-b6b0-5fe5ba8c0590'; + v_client_id uuid; +BEGIN + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Corner Lake Estates Homeowners Association, Inc.', 'hoa'::client_type, v_attorney, 'mycase_client:corner_lake_estates_homeowners_association_inc') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Test Case', 'individual'::client_type, v_attorney, 'mycase_client:test_case') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Ronald Dickneite', 'individual'::client_type, v_attorney, 'mycase_client:ronald_dickneite') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Adam Cochran', 'individual'::client_type, v_attorney, 'mycase_client:adam_cochran') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Yunker et al v MHOA, CHOA & VHOA', 'hoa'::client_type, v_attorney, 'mycase_client:yunker_et_al_v_mhoa_choa_vhoa') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Daniel Burns', 'individual'::client_type, v_attorney, 'mycase_client:daniel_burns') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Roselle Howerter', 'individual'::client_type, v_attorney, 'mycase_client:roselle_howerter') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Dale Marshall', 'individual'::client_type, v_attorney, 'mycase_client:dale_marshall') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Stage Law Firm P.A.', 'business'::client_type, v_attorney, 'mycase_client:stage_law_firm_p_a') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Henry Nicols', 'individual'::client_type, v_attorney, 'mycase_client:henry_nicols') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Spring Lake Villas Homeowners Ass''n, Inc.', 'hoa'::client_type, v_attorney, 'mycase_client:spring_lake_villas_homeowners_ass_n_inc') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Timothy Thompson', 'individual'::client_type, v_attorney, 'mycase_client:timothy_thompson') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Andrew Brown', 'individual'::client_type, v_attorney, 'mycase_client:andrew_brown') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Angela Woodhull', 'individual'::client_type, v_attorney, 'mycase_client:angela_woodhull') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Stuckly, Anita', 'individual'::client_type, v_attorney, 'mycase_client:stuckly_anita') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Arthur Barsi', 'individual'::client_type, v_attorney, 'mycase_client:arthur_barsi') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Aviana Homeowners Association, Inc.', 'hoa'::client_type, v_attorney, 'mycase_client:aviana_homeowners_association_inc') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Janis Yunker', 'individual'::client_type, v_attorney, 'mycase_client:janis_yunker') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Balm Professional Association', 'hoa'::client_type, v_attorney, 'mycase_client:balm_professional_association') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Blackberry Creek Homeowners'' Associations, Inc.', 'hoa'::client_type, v_attorney, 'mycase_client:blackberry_creek_homeowners_associations_inc') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Chesterhill Estates Phase II Homeowners Association Inc.', 'hoa'::client_type, v_attorney, 'mycase_client:chesterhill_estates_phase_ii_homeowners_association_inc') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('McCloskey, George', 'individual'::client_type, v_attorney, 'mycase_client:mccloskey_george') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Daniel Diciolla', 'individual'::client_type, v_attorney, 'mycase_client:daniel_diciolla') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('David Conner', 'individual'::client_type, v_attorney, 'mycase_client:david_conner') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('David S. Higgins', 'individual'::client_type, v_attorney, 'mycase_client:david_s_higgins') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Higgins, David - Timber Springs HOA', 'hoa'::client_type, v_attorney, 'mycase_client:higgins_david_timber_springs_hoa') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Douglas Silver', 'individual'::client_type, v_attorney, 'mycase_client:douglas_silver') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Fairway Villas, Inc.', 'business'::client_type, v_attorney, 'mycase_client:fairway_villas_inc') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Gloria Cordell', 'individual'::client_type, v_attorney, 'mycase_client:gloria_cordell') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Grant Feiss', 'individual'::client_type, v_attorney, 'mycase_client:grant_feiss') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Helen Veltsos', 'individual'::client_type, v_attorney, 'mycase_client:helen_veltsos') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Williams, Hobart', 'individual'::client_type, v_attorney, 'mycase_client:williams_hobart') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Jann D. Childers', 'individual'::client_type, v_attorney, 'mycase_client:jann_d_childers') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('James Auth', 'individual'::client_type, v_attorney, 'mycase_client:james_auth') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Joyce O''Brien', 'individual'::client_type, v_attorney, 'mycase_client:joyce_o_brien') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Barrios, Karen', 'individual'::client_type, v_attorney, 'mycase_client:barrios_karen') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Kate Caravella', 'individual'::client_type, v_attorney, 'mycase_client:kate_caravella') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Kimberly Susan Robbins', 'individual'::client_type, v_attorney, 'mycase_client:kimberly_susan_robbins') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Kris Cabot', 'individual'::client_type, v_attorney, 'mycase_client:kris_cabot') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Kristin Barcomb', 'individual'::client_type, v_attorney, 'mycase_client:kristin_barcomb') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Larry Caruso', 'individual'::client_type, v_attorney, 'mycase_client:larry_caruso') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Marcelo Meirelles', 'individual'::client_type, v_attorney, 'mycase_client:marcelo_meirelles') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Marcia Swinton', 'individual'::client_type, v_attorney, 'mycase_client:marcia_swinton') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Maria Speder', 'individual'::client_type, v_attorney, 'mycase_client:maria_speder') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Meredith Redding', 'individual'::client_type, v_attorney, 'mycase_client:meredith_redding') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Michael Trotta', 'individual'::client_type, v_attorney, 'mycase_client:michael_trotta') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Michael Damsel', 'individual'::client_type, v_attorney, 'mycase_client:michael_damsel') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Michael Mezzon', 'individual'::client_type, v_attorney, 'mycase_client:michael_mezzon') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Mike Warner', 'individual'::client_type, v_attorney, 'mycase_client:mike_warner') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Nina DeVanguardia Warren', 'individual'::client_type, v_attorney, 'mycase_client:nina_devanguardia_warren') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Norma Gee', 'individual'::client_type, v_attorney, 'mycase_client:norma_gee') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Norman Cillo', 'individual'::client_type, v_attorney, 'mycase_client:norman_cillo') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Petra Tothova', 'individual'::client_type, v_attorney, 'mycase_client:petra_tothova') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Rachael Betz', 'individual'::client_type, v_attorney, 'mycase_client:rachael_betz') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Rachel Doney', 'individual'::client_type, v_attorney, 'mycase_client:rachel_doney') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Ravi Gandhy', 'individual'::client_type, v_attorney, 'mycase_client:ravi_gandhy') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Raymond Bosek', 'individual'::client_type, v_attorney, 'mycase_client:raymond_bosek') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Renee Parker', 'individual'::client_type, v_attorney, 'mycase_client:renee_parker') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Robert Kay', 'individual'::client_type, v_attorney, 'mycase_client:robert_kay') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Royal Palm Village Association, Inc.', 'hoa'::client_type, v_attorney, 'mycase_client:royal_palm_village_association_inc') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Sherman Hills Subdivision Homeowners'' Ass''n, Inc.', 'hoa'::client_type, v_attorney, 'mycase_client:sherman_hills_subdivision_homeowners_ass_n_inc') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Tim Fleming', 'individual'::client_type, v_attorney, 'mycase_client:tim_fleming') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Tropicana Resort Condominium Association, Inc.', 'condo'::client_type, v_attorney, 'mycase_client:tropicana_resort_condominium_association_inc') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('William G. Wilcox', 'individual'::client_type, v_attorney, 'mycase_client:william_g_wilcox') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Diana Arroyo', 'individual'::client_type, v_attorney, 'mycase_client:diana_arroyo') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Susan A Sachs', 'individual'::client_type, v_attorney, 'mycase_client:susan_a_sachs') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('James Ebanks', 'individual'::client_type, v_attorney, 'mycase_client:james_ebanks') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Barbara B Stage', 'individual'::client_type, v_attorney, 'mycase_client:barbara_b_stage') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Holly (Ben) Maclean de Triviz', 'individual'::client_type, v_attorney, 'mycase_client:holly_ben_maclean_de_triviz') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Renee N Stage', 'individual'::client_type, v_attorney, 'mycase_client:renee_n_stage') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Riki K Heyd', 'individual'::client_type, v_attorney, 'mycase_client:riki_k_heyd') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Collins, Michael', 'individual'::client_type, v_attorney, 'mycase_client:collins_michael') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('William Arthur Graves', 'individual'::client_type, v_attorney, 'mycase_client:william_arthur_graves') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Victoria Nikkel', 'individual'::client_type, v_attorney, 'mycase_client:victoria_nikkel') ON CONFLICT DO NOTHING; + INSERT INTO public.clients (name, client_type, created_by, external_id) VALUES ('Horace "Ed" Morris', 'individual'::client_type, v_attorney, 'mycase_client:horace_ed_morris') ON CONFLICT DO NOTHING; + + -- CASES + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Corner Lake Estates Homeowners Association, Inc.' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1081939', 'Corner Lake Estates Homeowners Association, Inc.', 'General Representation\n\nBilling: Hourly | Outstanding balance: $100884.65', 'Community Ass''n Law - General Counsel', 'active'::case_status, v_attorney, '2015-01-23', NULL, NULL, NULL, 'mycase:1081939', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Test Case' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1081945', 'Test Case', 'Flat fee: $1500', 'Civil', 'closed'::case_status, v_attorney, '2015-01-23', '2015-01-23', NULL, NULL, 'mycase:1081945', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Ronald Dickneite' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, '2014-CC-001220 / 2016-AP-000008- Waiting on Final Order', 'Classon, Robert v Outdoor Resorts (Original 2014 Case)', 'Dispute over changes to common areas without a vote of the membership; changes include security cameras, expanded entrance and selling propane to the public.\n\nBilling: Flat Fee | Flat fee: $500', 'Community Ass''n Law', 'closed'::case_status, v_attorney, '2013-12-20', '2018-05-01', NULL, NULL, 'mycase:1084121', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Adam Cochran' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'NA', 'Cochran, Adam', 'Billing: Contingency', 'Insurance Claim', 'closed'::case_status, v_attorney, '2015-01-23', '2015-07-06', NULL, NULL, 'mycase:1084945', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Yunker et al v MHOA, CHOA & VHOA' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, '2012-CA-001141', 'Yunker et al v MHOA, CHOA & VHOA', 'Corrupt board; funds used for personal expenses; improper notices, changes to common areas;\n\nBilling: Hourly', 'Community Ass''n Law', 'closed'::case_status, v_attorney, '2015-01-24', '2015-02-10', NULL, NULL, 'mycase:1085684', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Daniel Burns' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1085710', 'Burns, Dan', 'Dispute with Cypress Head at the Enclave Homeowner''s Association, Inc.\n\nBilling: Hourly', 'Community Ass''n Law', 'closed'::case_status, v_attorney, '2015-01-01', '2015-03-19', NULL, NULL, 'mycase:1085710', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Roselle Howerter' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, '2015-SC-002343', 'Howerter, Roselle', 'Election Dispute with Outdoor Resorts at Orlando, Inc.\n\nBilling: Hourly | Outstanding balance: $4932.5', 'Community Ass''n Law', 'closed'::case_status, v_attorney, '2015-01-24', '2017-05-09', NULL, NULL, 'mycase:1085712', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Dale Marshall' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1085713', 'Marshall, Dale', 'Lien Dispute with Reunion Homeowner''s Association, Inc.\n\nBilling: Hourly', 'Community Ass''n Law', 'closed'::case_status, v_attorney, '2015-01-01', '2015-08-25', NULL, NULL, 'mycase:1085713', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Stage Law Firm P.A.' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1085741', 'Administration', 'Administration matters for firm employees\n\nBilling: Hourly | Outstanding balance: $100', 'Administration', 'active'::case_status, v_attorney, '2015-01-24', NULL, NULL, NULL, 'mycase:1085741', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Henry Nicols' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1086050', 'Nicols, Henry', 'Assessment Dispute with Little Creek Homeowner''s Association, Inc.\n\nBilling: Hourly', 'Community Ass''n Law', 'closed'::case_status, v_attorney, '2015-01-24', '2015-04-24', NULL, NULL, 'mycase:1086050', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Spring Lake Villas Homeowners Ass''n, Inc.' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1086051', 'Spring Lake Villas Homeowner''s Association, Inc.', 'Billing: Hourly | Outstanding balance: $405', 'Community Ass''n Law', 'closed'::case_status, v_attorney, '2015-01-24', '2016-06-20', NULL, NULL, 'mycase:1086051', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Timothy Thompson' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, '2014-00-9954', 'Thompson, Timothy [Arbitration]', 'Election dispute with Outdoor Resorts at Orlando, Inc.\n\nBilling: Hourly', 'DBPR', 'closed'::case_status, v_attorney, '2015-01-24', '2017-07-14', NULL, NULL, 'mycase:1086052', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Andrew Brown' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, '13-bk-12415-CCJ', 'Brown, Andrew', 'Chapter 13 BK\n\nBilling: Hourly', 'Bankruptcy', 'closed'::case_status, v_attorney, '2015-02-06', '2016-02-21', NULL, NULL, 'mycase:1119240', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Angela Woodhull' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1119251', 'Woodhull, Angela', 'Billing: Hourly', 'MRTA', 'closed'::case_status, v_attorney, '2015-02-06', '2015-02-24', NULL, NULL, 'mycase:1119251', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Stuckly, Anita' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1119694', 'Stuckly, Anita', 'Billing: Hourly', 'Community Ass''n Law', 'closed'::case_status, v_attorney, '2015-02-06', '2015-04-24', NULL, NULL, 'mycase:1119694', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Arthur Barsi' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, '6:14-bk-05617-KSJ', 'Barsi, Art', 'Billing: Flat Fee', 'Bankruptcy', 'closed'::case_status, v_attorney, '2015-01-01', '2015-09-26', NULL, NULL, 'mycase:1119695', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Aviana Homeowners Association, Inc.' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1119696', 'Aviana HomeownersAssociation,Inc.', 'Billing: Hourly | Outstanding balance: $1573', 'General Counsel', 'closed'::case_status, v_attorney, '2015-02-06', '2015-05-15', NULL, NULL, 'mycase:1119696', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Janis Yunker' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, '2012-CA-1141-0000-WH', 'Yunker, Janis', 'Matter against Tuscan Ridge Master Association, Inc., the Village at Tuscan Ridge Homeowners Association and Countryside at Tuscan Ridge Homeowners Association\n\nBilling: Hourly | Outstanding balance: $1746.71', 'Community Ass''n Law', 'closed'::case_status, v_attorney, '2014-06-24', '2016-08-12', NULL, NULL, 'mycase:1119784', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Balm Professional Association' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1119785', 'Balm Professional Center Owners Association', 'Billing: Hourly', 'General Counsel', 'closed'::case_status, v_attorney, '2015-01-01', '2015-03-12', NULL, NULL, 'mycase:1119785', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Blackberry Creek Homeowners'' Associations, Inc.' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1119788', 'Blackberry Creek Homeowners Association, Inc.', 'Billing: Hourly | Outstanding balance: $102795.27', 'Community Ass''n Law - General Counsel', 'closed'::case_status, v_attorney, '2015-01-01', '2020-05-21', NULL, NULL, 'mycase:1119788', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Chesterhill Estates Phase II Homeowners Association Inc.' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1119790', 'Chesterhill Estates Homeowners Association, Inc.', 'Billing: Hourly', 'Community Ass''n Law - General Counsel', 'closed'::case_status, v_attorney, '2015-01-01', '2025-05-20', NULL, NULL, 'mycase:1119790', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'McCloskey, George' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, '2013-CC-004823-O', 'McCloskey, George', 'Legal matter against former client\n\nBilling: Hourly', 'Collections', 'closed'::case_status, v_attorney, '2015-02-06', '2015-04-24', NULL, NULL, 'mycase:1119791', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Daniel Diciolla' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'Status; Settlement', 'Diciolla, Daniel J.', 'Billing: Hourly', 'Community Ass''n Law', 'closed'::case_status, v_attorney, '2015-01-01', '2016-12-15', NULL, NULL, 'mycase:1119793', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Daniel Diciolla' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1119794', 'Diciolla, Daniel J. - Revitalization Matter', 'Billing: Contingency', 'Community Ass''n Law', 'closed'::case_status, v_attorney, '2015-01-01', '2015-07-09', NULL, NULL, 'mycase:1119794', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'David Conner' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1119795', 'Conner, David', 'Dispute with HOA over garage\n\nBilling: Hourly', 'Community Ass''n Law', 'closed'::case_status, v_attorney, '2015-01-01', '2017-06-08', NULL, NULL, 'mycase:1119795', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'David S. Higgins' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, '6:14-bk-08697-ABB', 'Higgins, David', 'Chapter 13 BK\n\nBilling: Flat Fee', 'Bankruptcy', 'closed'::case_status, v_attorney, '2015-02-06', '2018-09-21', NULL, NULL, 'mycase:1119797', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Higgins, David - Timber Springs HOA' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1119798', 'Higgins, David - Timber Springs HOA', 'Timber Springs HOA Damages\n\nBilling: Contingency', 'Community Ass''n Law', 'closed'::case_status, v_attorney, '2015-01-01', '2015-02-10', NULL, NULL, 'mycase:1119798', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Douglas Silver' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'NA', 'Brownfield, Deborah', 'Baker Act complaint\n\nBilling: Pro Bono', 'Baker Act complaints', 'closed'::case_status, v_attorney, '2015-01-01', '2015-07-06', NULL, NULL, 'mycase:1119799', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Fairway Villas, Inc.' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1119800', 'Fairway Villas, Inc.', '11.9.16 Board is reviewing whether to amend declaration for safe harbor.\n\nBilling: Hourly | Outstanding balance: $95373.26', 'Community Ass''n Law - General Counsel', 'closed'::case_status, v_attorney, '2015-01-01', '2021-04-21', NULL, NULL, 'mycase:1119800', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Gloria Cordell' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1120851', 'Cordell, Gloria', 'Billing: Flat Fee | Flat fee: $200', 'Foreclosure', 'closed'::case_status, v_attorney, '2015-01-01', '2016-08-24', NULL, NULL, 'mycase:1120851', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Grant Feiss' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1120853', 'Feiss, Grant', 'Billing: Mixed | Flat fee: $500', 'Community Ass''n Law', 'closed'::case_status, v_attorney, '2015-01-01', '2018-09-21', NULL, NULL, 'mycase:1120853', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Helen Veltsos' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'Client getting medical report from doctor', 'Veltsos, Helen', 'Insurance Claim\n\nBilling: Hourly | Outstanding balance: $95373.26', 'Personal Injury', 'closed'::case_status, v_attorney, '2014-10-22', '2019-01-21', NULL, NULL, 'mycase:1120856', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Williams, Hobart' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1120860', 'Williams, Hobart', 'Billing: Flat Fee', 'Baker Act', 'closed'::case_status, v_attorney, '2015-01-01', '2015-02-26', NULL, NULL, 'mycase:1120860', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Jann D. Childers' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, '2011-CA-003646-MF', 'Childers, Jann', 'Billing: Contingency', 'Foreclosure', 'closed'::case_status, v_attorney, '2015-01-01', '2016-08-24', NULL, NULL, 'mycase:1120865', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'James Auth' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1120869', 'Auth, Jim & Judy', 'Dispute with Saddlebag Lakes Condominium Association, Inc.\n\nBilling: Hourly', 'Community Ass''n Law', 'closed'::case_status, v_attorney, '2015-01-01', '2015-05-28', NULL, NULL, 'mycase:1120869', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Joyce O''Brien' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, '2015-CC-002274 Settled', 'O''Brien, Joyce', 'Assessment foreclosure; client never missed payments; payments were short because association would not give her the amount of assessment increases\n\nBilling: Hourly', 'Community Ass''n Law', 'closed'::case_status, v_attorney, '2015-07-30', '2018-05-16', NULL, NULL, 'mycase:1120871', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Barrios, Karen' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1122792', 'Barrios, Karen', 'Dispute with Wekiva Walk Homeowner''s Association, Inc.', 'Community Ass''n Law', 'closed'::case_status, v_attorney, '2015-01-01', '2015-05-25', NULL, NULL, 'mycase:1122792', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Kate Caravella' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'NA', 'Caravella, Kate', 'Billing: Flat Fee', 'Baker Act complaints', 'closed'::case_status, v_attorney, '2015-01-01', '2015-07-14', NULL, NULL, 'mycase:1122793', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Kimberly Susan Robbins' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1122794', 'Robbins, Kimberly & Stephen', 'Chapter 7 BK\n\nBilling: Contingency', 'Bankruptcy', 'closed'::case_status, v_attorney, '2015-01-01', '2015-10-21', NULL, NULL, 'mycase:1122794', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Kris Cabot' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'NA', 'Cabot II,Mark Alan', 'Baker Act of minor child, Mark Alan Cabot, aged 13.\n\nBilling: Pro Bono', 'Baker Act complaints', 'closed'::case_status, v_attorney, '2015-01-01', '2015-07-06', NULL, NULL, 'mycase:1122795', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Kristin Barcomb' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1122796', 'Barcomb, Kristin', 'Billing: Hourly', 'Community Ass''n Law', 'closed'::case_status, v_attorney, '2015-01-01', '2015-02-24', NULL, NULL, 'mycase:1122796', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Larry Caruso' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, '51-2013-CC-001102-ES', 'Caruso, Larry', 'Deer Hollow Dispute\n\nBilling: Pro Bono', 'Community Ass''n Law', 'closed'::case_status, v_attorney, '2015-01-01', '2015-09-26', NULL, NULL, 'mycase:1122797', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Marcelo Meirelles' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'NA', 'Meirelles, Marcelo', 'Billing: Flat Fee', 'Baker Act complaints', 'closed'::case_status, v_attorney, '2015-01-01', '2015-09-26', NULL, NULL, 'mycase:1122798', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Marcia Swinton' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'N/A', 'Swinton, Marcia', 'Review of records and complaints\n\nBilling: Flat Fee', 'Baker Act complaints', 'closed'::case_status, v_attorney, '2014-07-11', '2015-05-18', NULL, NULL, 'mycase:1122799', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Maria Speder' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'N/A', 'Speder, Maria', 'Insurance claims against HOA\n\nBilling: Contingency', 'Community Ass''n Law', 'closed'::case_status, v_attorney, '2015-10-21', '2021-01-22', NULL, NULL, 'mycase:1122800', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Meredith Redding' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'NA', 'Redding, Meredith', 'License Complaints too\n\nBilling: Flat Fee', 'Baker Act complaints', 'closed'::case_status, v_attorney, '2015-01-01', '2015-06-02', NULL, NULL, 'mycase:1122801', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Michael Trotta' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'N/A', 'Trotta, Michael', 'Dispute against North Buena Vista Civic Ass''n\n\nBilling: Contingency', 'Community Ass''n Law', 'closed'::case_status, v_attorney, '2014-10-22', '2015-04-21', NULL, NULL, 'mycase:1122802', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Michael Damsel' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1122803', 'Damsel, Mike', 'Billing: Hourly', 'Civil', 'closed'::case_status, v_attorney, '2015-01-01', '2017-03-06', NULL, NULL, 'mycase:1122803', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Michael Mezzon' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1122804', 'Mezzon, Mike', 'Billing: Hourly', 'Civil', 'closed'::case_status, v_attorney, '2015-01-01', '2015-04-21', NULL, NULL, 'mycase:1122804', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Mike Warner' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'N/A', 'Warner, Mike', 'Billing: Hourly', 'Community Ass''n Law', 'closed'::case_status, v_attorney, '2014-04-09', '2015-05-28', NULL, NULL, 'mycase:1122805', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Nina DeVanguardia Warren' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'N/A', 'Warren, Nina', 'Baker Act of minor child, Alexandra Warren\n\nBilling: Contingency', 'Insurance Claim', 'closed'::case_status, v_attorney, '2014-09-07', '2015-05-20', NULL, NULL, 'mycase:1122806', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Norma Gee' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'CASE NO.: 2014-CC-000248-A Received Order, Sending Letter', 'Gee, Norma (email invoices)', 'Disptute with SLAPOA; declarations state assessments are $1 per month; HOA charging $50 per year\n\nBilling: Hourly | Outstanding balance: $95373.26', 'Community Ass''n Law', 'closed'::case_status, v_attorney, '2015-01-01', '2017-05-22', NULL, NULL, 'mycase:1122807', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Norman Cillo' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'NA', 'Cillo, Norman', 'Billing: Contingency', 'Insurance Claim', 'closed'::case_status, v_attorney, '2015-01-01', '2015-09-30', NULL, NULL, 'mycase:1122808', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Petra Tothova' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1122809', 'Tothova, Petra (EEOC)', 'Sexual assault matter\n\nBilling: Contingency | Outstanding balance: $281', 'Personal Injury', 'closed'::case_status, v_attorney, '2013-09-17', '2016-02-21', NULL, NULL, 'mycase:1122809', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Rachael Betz' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'NA', 'Betz, Rachael', 'Billing: Flat Fee', 'Baker Act complaints', 'closed'::case_status, v_attorney, '2015-01-01', '2015-09-26', NULL, NULL, 'mycase:1122810', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Rachel Doney' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'NA', 'Doney, Rachel', 'Billing: Flat Fee | Flat fee: $500', 'Baker Act complaints', 'closed'::case_status, v_attorney, '2014-12-10', '2015-09-26', NULL, NULL, 'mycase:1122811', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Ravi Gandhy' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, '2017-CA-001506-O', 'Gandhy, Ravi', 'Second mortgage foreclosure against deceased spouse of client, who passed 01/10/13.\n\nBilling: Flat Fee | Flat fee: $500', 'Mortgage Foreclosure Defense', 'closed'::case_status, v_attorney, '2017-03-07', '2018-01-21', NULL, NULL, 'mycase:1122812', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Raymond Bosek' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, '5D14-2502IB', 'Bosek, Raymond', 'Billing: Hourly', 'Court Appeals', 'closed'::case_status, v_attorney, '2015-01-01', '2015-08-04', NULL, NULL, 'mycase:1122813', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Renee Parker' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, '2012-CC-013346', 'Parker, Renee', 'Billing: Contingency', 'Community Ass''n Law', 'closed'::case_status, v_attorney, '2015-01-01', '2016-06-20', NULL, NULL, 'mycase:1122814', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Robert Kay' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1122815', 'Kay, Robert', 'Billing: Hourly', 'Community Ass''n Law', 'closed'::case_status, v_attorney, '2015-01-01', '2016-02-21', NULL, NULL, 'mycase:1122815', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Royal Palm Village Association, Inc.' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1122816', 'Royal Palm Village Association, Inc.', 'Billing: Hourly', 'Community Ass''n Law', 'closed'::case_status, v_attorney, '2015-01-01', '2018-02-14', NULL, NULL, 'mycase:1122816', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Sherman Hills Subdivision Homeowners'' Ass''n, Inc.' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1122817', 'Sherman Hills Subdivision Homeowners Association, Inc.', 'Billing: Hourly | Outstanding balance: $1190', 'Community Ass''n Law - General Counsel', 'active'::case_status, v_attorney, '2015-01-01', NULL, NULL, NULL, 'mycase:1122817', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Tim Fleming' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1122819', 'Fleming, Tim', 'Billing: Flat Fee | Flat fee: $500', 'Foreclosure', 'closed'::case_status, v_attorney, '2015-01-01', '2016-11-14', NULL, NULL, 'mycase:1122819', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Tropicana Resort Condominium Association, Inc.' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'Working on Amended and Restated Declarations', 'Tropicana Resort Condominium Association, Inc.', 'General counsel for association matters\n\nBilling: Hourly | Outstanding balance: $101844.29', 'Community Ass''n Law - General Counsel', 'active'::case_status, v_attorney, '2013-06-24', NULL, NULL, NULL, 'mycase:1122820', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'William G. Wilcox' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, '05-2012-CA-063356', 'Wilcox, William', 'Dispute matter with Great Outdoors Premier R.V./Golf Resort Community Association, Inc.\n\nBilling: Hourly', 'Community Ass''n Law - Civil Lit', 'closed'::case_status, v_attorney, '2015-01-01', '2022-07-21', NULL, 'Case Re-Opened', 'mycase:1122821', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Diana Arroyo' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1124149', 'Arroyo, Diana', 'Billing: Mixed', 'Foreclosure', 'closed'::case_status, v_attorney, '2015-01-01', '2015-07-25', NULL, NULL, 'mycase:1124149', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Susan A Sachs' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, '2014-CC-011176', 'Sachs, Susan', 'Broward County condo foreclosure; never served (summons returned served on Jane Doe); never received notices of intent to lien or intent to foreclose; mailed to New York address; client did change her address with COA and her correct address is on the checks they cashed; at one point refused to cash her checks and would not explain why; refused her certified mail; started mailing payments from bank to the COA bank and those were cashed; will not return her telephone calls; hired Emil Fleysher who filed a Motion to Dismiss but no notice of appearance and did not appear in court; did not advise her sale was pending.\n\nBilling: Hourly | Outstanding balance: $95373.26', 'Community Ass''n Law - Civil Lit', 'closed'::case_status, v_attorney, '2015-02-12', '2019-09-13', NULL, 'MF Pending', 'mycase:1132167', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'James Ebanks' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1132593', 'Corner Lakes Estates Homeowners Ass''n Inc.', 'Single family homes in East Orlando\n\nBilling: Hourly', 'Community Ass''n Law', 'closed'::case_status, v_attorney, '2014-10-01', '2015-02-12', NULL, NULL, 'mycase:1132593', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Barbara B Stage' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, '6:14-bk-11433', 'Stage, Barbara (6:14-bk-11433)', 'Chapter 7\n\nBilling: Pro Bono', 'Bankruptcy', 'closed'::case_status, v_attorney, '2014-10-06', '2015-11-09', NULL, NULL, 'mycase:1151096', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Barbara B Stage' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, '6:14-ap-00168-CCJ', 'Stage, Barbara (6:14-ap-00168-CCJ)', 'Adversarial pleadings\n\nBilling: Pro Bono', 'Bankruptcy', 'closed'::case_status, v_attorney, '2015-01-02', '2015-11-20', NULL, NULL, 'mycase:1151115', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Holly (Ben) Maclean de Triviz' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'NA', 'Maclean de Triviz, Holly', 'Billing: Flat Fee', 'Baker Act complaints', 'closed'::case_status, v_attorney, '2015-01-01', '2015-03-07', NULL, NULL, 'mycase:1152182', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Renee N Stage' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1156069', 'Administration - Renee Files', 'Billing: Hourly', NULL, 'active'::case_status, v_attorney, '2015-02-25', NULL, NULL, NULL, 'mycase:1156069', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Riki K Heyd' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'MC-1159619', 'Heyd, Riki', 'Billing: Flat Fee', 'Baker Act', 'closed'::case_status, v_attorney, '2015-02-27', '2015-03-19', NULL, NULL, 'mycase:1159619', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Collins, Michael' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'NA', 'Collins, Michael', 'Settlement of 5k with hospital', 'Insurance Claim', 'closed'::case_status, v_attorney, '2015-02-28', '2015-03-04', NULL, NULL, 'mycase:1161606', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'William Arthur Graves' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'N/A', 'Graves, Mary', 'Complaints\n\nBilling: Flat Fee | Flat fee: $500', 'Baker Act complaints', 'closed'::case_status, v_attorney, '2015-03-01', '2016-05-03', NULL, NULL, 'mycase:1162861', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Victoria Nikkel' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'NA', 'Victoria Nikkel', 'Complaints', 'Baker Act complaints', 'closed'::case_status, v_attorney, '2015-01-01', '2015-03-10', NULL, NULL, 'mycase:1163191', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Rachel Doney' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, 'NA', 'Doney, Rachel - Appeal', 'appeal of regulatory findings\n\nBilling: Flat Fee | Flat fee: $300', 'Baker Act complaints', 'closed'::case_status, v_attorney, '2015-03-04', '2016-04-16', NULL, NULL, 'mycase:1170322', v_attorney) ON CONFLICT DO NOTHING; + + SELECT id INTO v_client_id FROM public.clients WHERE name = 'Horace "Ed" Morris' LIMIT 1; + INSERT INTO public.cases (client_id, case_number, title, description, practice_area, status, assigned_attorney_id, opened_at, closed_at, default_hourly_rate, litigation_stage, external_id, created_by) VALUES (v_client_id, '6:14-bk-01764-ABB', 'Morris, Horace', 'Chapter 13\n\nBilling: Flat Fee', 'Bankruptcy', 'closed'::case_status, v_attorney, '2014-01-01', '2016-03-13', NULL, NULL, 'mycase:1174194', v_attorney) ON CONFLICT DO NOTHING; +END $$; \ No newline at end of file