diff --git a/src/uis/new_transaction.rs b/src/uis/new_transaction.rs index 96e5813..ae54c06 100644 --- a/src/uis/new_transaction.rs +++ b/src/uis/new_transaction.rs @@ -69,4 +69,20 @@ pub fn render_new_transaction_tab (f: &mut Frame, body_rect: Rect ); f.render_widget(tab, tab_chunks[i]) } + + match app.states.transactions.tabs[app.states.transactions.cur_tab_index] { + "Quick Entry" => render_quick_entry(f, chunks[1], app), + "Manual Entry" => render_manual_entry(f, chunks[1], app), + _ => return + }; + +} + +pub fn render_manual_entry (f: &mut Frame, area: Rect, app: &App) { + +} + + +pub fn render_quick_entry (f: &mut Frame, area: Rect, app: &App) { + }