<commit_before><div class="row">
	<div data-rbs-aside-column="">
		{% set currentRootName = 'variant-prices' %}
		{% include '@Rbs_Catalog/Documents/VariantGroup/variant-aside-column.twig' %}
	</div>

	<div class="document-form" data-rbs-main-column="">
		<rbs-page-header document="document" sub-title="{{ i18nAttr(modelKey('Rbs_Catalog_VariantGroup'), ['ucf']) }}"></rbs-page-header>

		<div data-ng-show="loaded">
			<div class="well" style="margin-top: 20px;" data-ng-show="hasJobs">
				{{ i18n('m.rbs.catalog.admin.variantgroup_jobs_infos', ['ucf']) | raw}}
			</div>

			<rbs-document-editor-rbs-catalog-variant-group-prices data-ng-hide="hasJobs">
				<div>
					<form name="form" ng-submit="save()" class="form-horizontal">
						<rbs-field required="true" label="{{ i18nAttr(propertyKey('Rbs_Price_Price', 'webStore'), ['ucf']) }}">
							<select class="form-control" ng-required="true" ng-model="config.webStore" rbs-items-from-collection="Rbs_Store_Collection_WebStores">
								<option value=""> {{ i18n('m.rbs.store.admin.select_webstore', ['ucf']) }}</option>
							</select>
						</rbs-field>

						<rbs-field required="true" label="{{ i18nAttr(propertyKey('Rbs_Price_Price', 'billingArea'), ['ucf']) }}">
							<select class="form-control" ng-required="true" ng-model="config.billingArea" ng-disabled="!webStore.id"
								rbs-items-collection-params="webStoreId:(=webStore.id=)"
								rbs-items-from-collection="Rbs_Price_Collection_BillingAreasForWebStore">
								<option value=""> {{ i18n('m.rbs.price.admin.select_billingarea', ['ucf']) }}</option>
							</select>
						</rbs-field>

						<div ng-show="data" class="alert alert-info">{{ i18n('m.rbs.catalog.admin.variantgroup_only_current_prices', ['ucf']) | raw}}</div>
						<table class="table table-striped" ng-show="data">
							<thead>
								<td>{{ i18n('m.rbs.catalog.admin.product_product', ['ucf']) }}</td>
								<td>{{ i18n('m.rbs.price.documents.price_value', ['ucf']) }}</td>
								<td>{{ i18n('m.rbs.price.documents.price_ecotax', ['ucf']) }}</td>
								<td>{{ i18n('m.rbs.price.documents.price_taxcategories', ['ucf']) }}</td>
								<td></td>
							</thead>

							<tr ng-repeat="(skuId, sku) in data">
								<td><a href ng-href="(= 'Rbs_Catalog_Product' | rbsURL:'form':{id:sku.productId} =)">(= sku.label =)</a></td>
								<td>
									<input type="number" class="form-control input-sm" ng-model="sku.price.value"/>
									<a href="" ng-if="$first" ng-click="applyValueOnAll(sku.price.value)">{{ i18n('m.rbs.catalog.admin.variantgroup_apply_on_all', ['ucf']) }}</a>
								</td>
								<td>
									<input type="text" rbs-smart-float="" class="form-control input-sm" ng-model="sku.price.ecoTax"/>
									<a href="" ng-if="$first" ng-click="applyEcoTaxOnAll(sku.price.ecoTax)">{{ i18n('m.rbs.catalog.admin.variantgroup_apply_on_all', ['ucf']) }}</a>
								</td>
								<td>
									<table>
										<tr ng-repeat="tax in taxInfo"><commit_msg>Fix variant group prices editor<commit_after><div class="row">
	<div data-rbs-aside-column="">
		{% set currentRootName = 'variant-prices' %}
		{% include '@Rbs_Catalog/Documents/VariantGroup/variant-aside-column.twig' %}
	</div>

	<div class="document-form" data-rbs-main-column="">
		<rbs-page-header document="document" sub-title="{{ i18nAttr(modelKey('Rbs_Catalog_VariantGroup'), ['ucf']) }}"></rbs-page-header>

		<div data-ng-show="loaded">
			<div class="well" style="margin-top: 20px;" data-ng-show="hasJobs">
				{{ i18n('m.rbs.catalog.admin.variantgroup_jobs_infos', ['ucf']) | raw}}
			</div>

			<rbs-document-editor-rbs-catalog-variant-group-prices data-ng-hide="hasJobs">
				<div>
					<form name="form" ng-submit="save()" class="form-horizontal">
						<rbs-field required="true" label="{{ i18nAttr(propertyKey('Rbs_Price_Price', 'webStore'), ['ucf']) }}">
							<select class="form-control" ng-required="true" ng-model="config.webStore" rbs-items-from-collection="Rbs_Store_Collection_WebStores">
								<option value=""> {{ i18n('m.rbs.store.admin.select_webstore', ['ucf']) }}</option>
							</select>
						</rbs-field>

						<rbs-field required="true" label="{{ i18nAttr(propertyKey('Rbs_Price_Price', 'billingArea'), ['ucf']) }}">
							<select class="form-control" ng-required="true" ng-model="config.billingArea" ng-disabled="!webStore.id"
								rbs-items-collection-params="webStoreId:(=webStore.id=)"
								rbs-items-from-collection="Rbs_Price_Collection_BillingAreasForWebStore">
								<option value=""> {{ i18n('m.rbs.price.admin.select_billingarea', ['ucf']) }}</option>
							</select>
						</rbs-field>

						<div ng-show="data" class="alert alert-info">{{ i18n('m.rbs.catalog.admin.variantgroup_only_current_prices', ['ucf']) | raw}}</div>
						<table class="table table-striped" ng-show="data">
							<thead>
								<td>{{ i18n('m.rbs.catalog.admin.product_product', ['ucf']) }}</td>
								<td>{{ i18n('m.rbs.price.documents.price_value', ['ucf']) }}</td>
								<td>{{ i18n('m.rbs.price.documents.price_ecotax', ['ucf']) }}</td>
								<td>{{ i18n('m.rbs.price.documents.price_taxcategories', ['ucf']) }}</td>
								<td></td>
							</thead>

							<tr ng-repeat="(skuId, sku) in data">
								<td><a href ng-href="(= 'Rbs_Catalog_Product' | rbsURL:'form':{id:sku.productId} =)">(= sku.label =)</a></td>
								<td>
									<input type="text" rbs-smart-float="" class="form-control input-sm" ng-model="sku.price.value"/>
									<a href="" ng-if="$first" ng-click="applyValueOnAll(sku.price.value)">{{ i18n('m.rbs.catalog.admin.variantgroup_apply_on_all', ['ucf']) }}</a>
								</td>
								<td>
									<input type="text" rbs-smart-float="" class="form-control input-sm" ng-model="sku.price.ecoTax"/>
									<a href="" ng-if="$first" ng-click="applyEcoTaxOnAll(sku.price.ecoTax)">{{ i18n('m.rbs.catalog.admin.variantgroup_apply_on_all', ['ucf']) }}</a>
								</td>
								<td>
									<table>
										<tr ng-repeat="tax in taxInfo">
{'fraction_non_alphanumeric': 0.2192674360260913, 'fraction_numerical': 0.009366114734905503, 'mean_word_length': 3.8225806451612905, 'pattern_counts': {'":': 0, '<': 117, '<?xml version=': 0, '>': 117, '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': '4157717', 'n_tokens_mistral': 2749, 'n_tokens_neox': 2170, 'n_words': 308}