<commit_before>{%- from "templates/print_formats/standard_macros.html" import print_value -%}
{%- set std_fields = ("item_code", "item_name", "description", "qty", "rate", "amount", "stock_uom", "uom") -%}
{%- set visible_columns = get_visible_columns(doc.get(df.fieldname), table_meta) -%}

<table class="table table-bordered">
	<tbody>
		<tr>
			<th>{{ _("Sr") }}</th>
			<th>{{ _("Item Name") }}</th>
			<th>{{ _("Description") }}</th>
			<th class="text-right">{{ _("Qty") }}</th>
			<th class="text-right">{{ _("Rate") }}</th>
			<th class="text-right">{{ _("Amount") }}</th>
		</tr>
		{%- for row in data -%}
		<tr>
			<td style="width: 3%;">{{ row.idx }}</td>
			<td style="width: 20%;">
				{{ row.item_name }}
				{% if row.item_code != row.item_name -%}
				<br>Item Code: {{ row.item_code}}
				{%- endif %}
			</td>
			<td style="width: 37%;">
				<div style="border: 0px;">{{ row.description }}<commit_msg>[fix] [print] Print Hide Item Code<commit_after>{%- from "templates/print_formats/standard_macros.html" import print_value -%}
{%- set std_fields = ("item_code", "item_name", "description", "qty", "rate", "amount", "stock_uom", "uom") -%}
{%- set visible_columns = get_visible_columns(doc.get(df.fieldname), table_meta) -%}

<table class="table table-bordered">
	<tbody>
		<tr>
			<th>{{ _("Sr") }}</th>
			<th>{{ _("Item Name") }}</th>
			<th>{{ _("Description") }}</th>
			<th class="text-right">{{ _("Qty") }}</th>
			<th class="text-right">{{ _("Rate") }}</th>
			<th class="text-right">{{ _("Amount") }}</th>
		</tr>
		{%- for row in data -%}
		<tr>
			<td style="width: 3%;">{{ row.idx }}</td>
			<td style="width: 20%;">
				{{ row.item_name }}
				{% if row.item_code != row.item_name and not row.meta.get_field("item_code").print_hide -%}
				<br>Item Code: {{ row.item_code }}
				{%- endif %}
			</td>
			<td style="width: 37%;">
				<div style="border: 0px;">{{ row.description }}
{'fraction_non_alphanumeric': 0.2621664050235479, 'fraction_numerical': 0.006279434850863423, 'mean_word_length': 3.9405684754521966, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 51, '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': '4736473', 'n_tokens_mistral': 858, 'n_tokens_neox': 741, 'n_words': 160}