%# locals: (balance_sheet:, period:, **args) %>
<%= t(".title") %>
<% if balance_sheet.syncing? %><%= series.current.format %>
<% if series.trend.nil? %><%= t(".data_not_available") %>
<% else %> <%= render partial: "shared/trend_change", locals: { trend: series.trend, comparison_label: period.comparison_label } %> <% end %> <% end %><%= t(".data_not_available") %>