Sha256: 18790a18621bd1d07b67af189f40fb8f3be994388f92de8e181c40df49134137
Contents?: true
Size: 1.03 KB
Versions: 1
Compression:
Stored size: 1.03 KB
Contents
% <% ncols = 6 %> {\tabulinesep 0.2cm \noindent\begin{longtabu} to \textwidth {lX<%='c'*(ncols-4) %>rr} <%= partial @headings_template || 'skus_table_col_hdr' %> \hline \endfirsthead \multicolumn{<%=ncols%>}{l}{...continued from previous page} \\ <%= partial @headings_template || 'skus_table_col_hdr' %> \endhead \hline \multicolumn{<%=ncols%>}{r}{Continued on next page...} \\ \endfoot \hline <%= partial @footer || 'skus_table_footer', record: @record, ncols: ncols %> \endlastfoot <% if @groups %> <% @groups.each_with_index do | group, i | -%> \multicolumn{<%= ncols%>}{l}{\textbf{<%=q group[:title] %>}} \\ \cline{1-1} <% group[:lines].each do | line | %> <%= partial @line_template || 'skus_table_line', line: line -%> <% end -%> <%= partial group[:footer] || 'skus_table_group_footer', invoice: @record, group: group, ncols: ncols %> <% end -%> <% else %> <% @lines.each do | line | %> <%= partial @line_template || 'skus_table_line', line: line -%> <% end -%> <% end -%> \end{longtabu} }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stockor-0.2 | templates/print/partials/skus_table.tex.erb |