<%= turbo_frame_tag "income_header_frame" do %>
diff --git a/app/views/fixed_expenses/create.turbo_stream.erb b/app/views/fixed_expenses/create.turbo_stream.erb
index be4f9b5..65e874d 100644
--- a/app/views/fixed_expenses/create.turbo_stream.erb
+++ b/app/views/fixed_expenses/create.turbo_stream.erb
@@ -5,3 +5,11 @@
<%= turbo_stream.replace "total_costs" do %>
<%= render partial: "shared/total_costs", locals: { totals: @totals } %>
<% end %>
+
+<%= turbo_stream.replace "salary_budget" do %>
+ <%= render partial: "budget/salary_budget", locals: {totals: @totals, income: @salary_taxed} %>
+<% end %>
+
+<%= turbo_stream.replace "hourly_budget" do %>
+ <%= render partial: "budget/hourly_budget", locals: {totals: @totals, income: @hourly_taxed} %>
+<% end %>
diff --git a/app/views/fixed_expenses/destroy.turbo_stream.erb b/app/views/fixed_expenses/destroy.turbo_stream.erb
index cb802b7..5562d82 100644
--- a/app/views/fixed_expenses/destroy.turbo_stream.erb
+++ b/app/views/fixed_expenses/destroy.turbo_stream.erb
@@ -3,3 +3,11 @@
<%= turbo_stream.replace "total_costs" do %>
<%= render partial: "shared/total_costs", locals: { totals: @totals } %>
<% end %>
+
+<%= turbo_stream.replace "salary_budget" do %>
+ <%= render partial: "budget/salary_budget", locals: {totals: @totals, income: @salary_taxed} %>
+<% end %>
+
+<%= turbo_stream.replace "hourly_budget" do %>
+ <%= render partial: "budget/hourly_budget", locals: {totals: @totals, income: @hourly_taxed} %>
+<% end %>
diff --git a/app/views/fixed_expenses/update.turbo_stream.erb b/app/views/fixed_expenses/update.turbo_stream.erb
index be14367..e9db543 100644
--- a/app/views/fixed_expenses/update.turbo_stream.erb
+++ b/app/views/fixed_expenses/update.turbo_stream.erb
@@ -3,3 +3,11 @@
<%= turbo_stream.replace "total_costs" do %>
<%= render partial: "shared/total_costs", locals: { totals: @totals } %>
<% end %>
+
+<%= turbo_stream.replace "salary_budget" do %>
+ <%= render partial: "budget/salary_budget", locals: {totals: @totals, income: @salary_taxed} %>
+<% end %>
+
+<%= turbo_stream.replace "hourly_budget" do %>
+ <%= render partial: "budget/hourly_budget", locals: {totals: @totals, income: @hourly_taxed} %>
+<% end %>
diff --git a/app/views/incomes/update.turbo_stream.erb b/app/views/incomes/update.turbo_stream.erb
index 267360f..d10fb4c 100644
--- a/app/views/incomes/update.turbo_stream.erb
+++ b/app/views/incomes/update.turbo_stream.erb
@@ -2,4 +2,12 @@
<%= turbo_stream.replace "taxed_incomes" do %>
<%= render partial: "shared/taxed_incomes", locals: { salary_taxed: @salary_taxed, hourly_taxed: @hourly_taxed } %>
+<% end %>
+
+<%= turbo_stream.replace "salary_budget" do %>
+ <%= render partial: "budget/salary_budget", locals: {totals: @totals, income: @salary_taxed} %>
+<% end %>
+
+<%= turbo_stream.replace "hourly_budget" do %>
+ <%= render partial: "budget/hourly_budget", locals: {totals: @totals, income: @hourly_taxed} %>
<% end %>
\ No newline at end of file
diff --git a/app/views/shared/_budget.html.erb b/app/views/shared/_budget.html.erb
new file mode 100644
index 0000000..41f6b0b
--- /dev/null
+++ b/app/views/shared/_budget.html.erb
@@ -0,0 +1,60 @@
+
+
Daily
+ <%= render partial: "shared/total", locals: { total: totals.total_annual_cost / 365 } %>
+
0
+
0
+
+ <%= humanized_money_with_symbol((income.total_net_income.fractional / 100) / 365 - totals.total_annual_cost / 365) %>
+
+
+
+
+
Weekly
+ <%= render partial: "shared/total", locals: { total: totals.total_bi_weekly_cost / 2 } %>
+
0
+
0
+
+ <%= humanized_money_with_symbol((income.bi_weekly_net_income.fractional / 100) / 2 - totals.total_bi_weekly_cost / 2) %>
+
+
+
+
+
Bi-Weekly
+ <%= render partial: "shared/total", locals: { total: totals.total_bi_weekly_cost } %>
+
0
+
0
+
+ <%= humanized_money_with_symbol((income.bi_weekly_net_income.fractional / 100) - totals.total_bi_weekly_cost) %>
+
+
+
+
+
Monthly
+ <%= render partial: "shared/total", locals: { total: totals.total_monthly_cost } %>
+
0
+
0
+
+ <%= humanized_money_with_symbol((income.total_net_income.fractional / 100) / 12 - totals.total_monthly_cost) %>
+
+
+
+
+
Quarterly
+ <%= render partial: "shared/total", locals: { total: totals.total_annual_cost / 4 } %>
+
0
+
0
+
+ <%= humanized_money_with_symbol((income.total_net_income.fractional / 100.0) / 4 - totals.total_annual_cost / 4) %>
+
+
+
+
+
Annually
+ <%= render partial: "shared/total", locals: { total: totals.total_annual_cost } %>
+
+
0
+
0
+
+ <%= humanized_money_with_symbol(income.total_net_income.fractional.to_f / 100 - totals.total_annual_cost) %>
+
+
diff --git a/app/views/shared/_total.html.erb b/app/views/shared/_total.html.erb
index fa5ff61..b7c0e0c 100644
--- a/app/views/shared/_total.html.erb
+++ b/app/views/shared/_total.html.erb
@@ -1,3 +1,3 @@
- <%= humanized_money_with_symbol(total) %>
+ <%= humanized_money_with_symbol(total) %>
\ No newline at end of file
diff --git a/app/views/shared/_total_costs.html.erb b/app/views/shared/_total_costs.html.erb
index fa125f7..1c28898 100644
--- a/app/views/shared/_total_costs.html.erb
+++ b/app/views/shared/_total_costs.html.erb
@@ -4,14 +4,20 @@
- <%= render partial: "shared/total", locals: { total: @totals.total_annual_cost } %>
+
+ <%= render partial: "shared/total", locals: { total: @totals.total_annual_cost } %>
+
- <%= render partial: "shared/total", locals: { total: @totals.total_monthly_cost } %>
+
+ <%= render partial: "shared/total", locals: { total: @totals.total_monthly_cost } %>
+
- <%= render partial: "shared/total", locals: { total: @totals.total_bi_weekly_cost } %>
+
+ <%= render partial: "shared/total", locals: { total: @totals.total_bi_weekly_cost } %>
+