<commit_before>= contextual_links

%h1= t_title

= render 'persons/show'

%h2= t('bookyt.main_navigation.invoicing')

= render 'credit_invoices/list'

.contextual
  = icon_link_to :new, new_customer_attachment_path(resource), :remote => true
%h3= t('title.attachments')

- @attachments = resource.attachments
#attachments_list
  = render 'attachments/list' unless @attachments.empty?<commit_msg>Directly link to new debit invoice form in customer view.<commit_after>= contextual_links

%h1= t_title

= render 'persons/show'

.contextual
  = icon_link_to :new, new_debit_invoice_path(:invoice => {:customer_id => resource})
%h2= t('bookyt.main_navigation.invoicing')

= render 'credit_invoices/list'

.contextual
  = icon_link_to :new, new_customer_attachment_path(resource), :remote => true
%h3= t('title.attachments')

- @attachments = resource.attachments
#attachments_list
  = render 'attachments/list' unless @attachments.empty?
{'fraction_non_alphanumeric': 0.1255364806866953, 'fraction_numerical': 0.006437768240343348, 'mean_word_length': 6.464, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '5305077', 'n_tokens_mistral': 329, 'n_tokens_neox': 321, 'n_words': 64}