<commit_before>.panel-body
  = format_field("Name", vendor.name )
  = format_field("Address", format_as_address(vendor) ) if vendor.address1
  = format_field("Phone", format_as_phone_number(vendor.phone) )
  = format_field("Fax", format_as_phone_number(vendor.fax) )
  = format_field("Url", format_as_url(vendor.url) ) unless vendor.url.blank?

  %fieldset
    %legend.panel-legend Expenditures
    = format_field("Total Expenditures YTD", format_as_integer(vendor.expenditures_ytd.count) )
    = format_field("Total Expenditures", format_as_phone_number(vendor.expenditures.count) )<commit_msg>[Fixes#83838370] add expenditures amount to vendor summary<commit_after>.panel-body
  = format_field("Name", vendor.name )
  = format_field("Address", format_as_address(vendor) ) if vendor.address1
  = format_field("Phone", format_as_phone_number(vendor.phone) )
  = format_field("Fax", format_as_phone_number(vendor.fax) )
  = format_field("Url", format_as_url(vendor.url) ) unless vendor.url.blank?

  %fieldset
    %legend.panel-legend Expenditures
    = format_field("Number of Expenditures YTD", format_as_integer(vendor.expenditures_ytd.count) )
    = format_field("Total Expenditures YTD", format_as_currency(vendor.expenditures_ytd.sum(:amount)) )
    = format_field("Number of Expenditures", format_as_integer(vendor.expenditures.count) )
    = format_field("Total Expenditures", format_as_currency(vendor.expenditures.sum(:amount)) )
{'fraction_non_alphanumeric': 0.12447844228094576, 'fraction_numerical': 0.006954102920723227, 'mean_word_length': 6.654255319148936, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '231351', 'n_tokens_mistral': 498, 'n_tokens_neox': 467, 'n_words': 65}