<commit_before><h1 class="page-header" translate="ORDER_LABEL">Order</h1>
<div class="pannel panel-danger">
	<div class="panel-body">
		<div><span translate="ORDER_LABEL_POS">POS</span> <a href="#" editable-select="pos" buttons="no" e-ng-options="p.id as p.posName for p in poses" onaftersave="loadOrder()">{{ showPos() }}</a></div>
		<div><span translate="ORDER_LABEL_DATE">Date</span> <a href="#" editable-date="date" onaftersave="loadOrder()">{{ date | date:'dd.MM.yyyy' || 'empty' }}</a></div>
		<div><span translate="ORDER_LABEL_GROUP">Product group</span> <a href="#" editable-select="group" buttons="no" e-ng-options="g.id as g.groupName for g in groups" onaftersave="loadOrder()">{{ showGroup() }}</a></div>
	</div>
	<div ng-class="orderStatus.status=='INPUT'||orderStatus.status=='DECLINED'?'panel-heading':'panel-body'">
		<div><span translate="ORDER_LABEL_STATUS">Order status</span>  {{orderStatus.status | translate}}</div>
		<div><span translate="ORDER_LABEL_COMMENT">Comment</span>  {{orderStatus.commentText}}</div>
		<button class="btn btn-primary" ng-show="(orderStatus.status=='INPUT'||orderStatus.status=='DECLINED')&&!count2form.$visible&&!countform.$visible" ng-click="confirmOrder()">Подать заявку</button>
	</div>
</div>
<br>
<br>
<div>
	<table class="table table-bordered table-hover table-condensed">
		<tr style="font-weight: bold; white-space: nowrap">

			<td style="width:50%" translate="ORDER_TH_PRODUCT">
				Product
			</td>
			<td style="width:10%" translate="ORDER_TH_CAPACITY">
				Capacity
				<br> <span translate="ORDER_TH_MINCOUNT">Minimal count</span>
			</td>
			<td style="width:10%" translate="ORDER_TH_PRICE">
				Price
			</td>
			<td style="width:15%">
				<span translate="ORDER_TH_COUNT1">Count1</span>
				<br>
				<form editable-form name="countform" onaftersave="saveColumn('countform')" ng-show="countform.$visible">
					<button type="submit" ng-disabled="countform.$waiting" class="btn btn-primary" translate="BUTTON_SAVE">
						save
					</button>
					<button type="button" ng-disabled="countform.$waiting" ng-click="cancelColumn('countform')" class="btn btn-default" translate="BUTTON_CANCEL">
						cancel
					</button>
				</form>
				<button class="btn btn-default" ng-show="!countform.$visible&&(orderStatus.status=='INPUT'||orderStatus.status=='DECLINED'||orderStatus.status==undefined)" ng-click="countform.$show()" translate="BUTTON_EDIT">
					edit
				</button>
			</td>
			<td style="width:15%">
				<span translate="ORDER_TH_COUNT2">Count2</span>
				<br>
				<form editable-form name="count2form" onaftersave="saveColumn('count2form')" ng-show="count2form.$visible">
					<button type="submit" ng-disabled="count2form.$waiting" class="btn btn-primary" translate="BUTTON_SAVE">
						save<commit_msg>Order's table's header bug was fixed.<commit_after><h1 class="page-header" translate="ORDER_LABEL">Order</h1>
<div class="pannel panel-danger">
	<div class="panel-body">
		<div><span translate="ORDER_LABEL_POS">POS</span> <a href="#" editable-select="pos" buttons="no" e-ng-options="p.id as p.posName for p in poses" onaftersave="loadOrder()">{{ showPos() }}</a></div>
		<div><span translate="ORDER_LABEL_DATE">Date</span> <a href="#" editable-date="date" onaftersave="loadOrder()">{{ date | date:'dd.MM.yyyy' || 'empty' }}</a></div>
		<div><span translate="ORDER_LABEL_GROUP">Product group</span> <a href="#" editable-select="group" buttons="no" e-ng-options="g.id as g.groupName for g in groups" onaftersave="loadOrder()">{{ showGroup() }}</a></div>
	</div>
	<div ng-class="orderStatus.status=='INPUT'||orderStatus.status=='DECLINED'?'panel-heading':'panel-body'">
		<div><span translate="ORDER_LABEL_STATUS">Order status</span>  {{orderStatus.status | translate}}</div>
		<div><span translate="ORDER_LABEL_COMMENT">Comment</span>  {{orderStatus.commentText}}</div>
		<button class="btn btn-primary" ng-show="(orderStatus.status=='INPUT'||orderStatus.status=='DECLINED')&&!count2form.$visible&&!countform.$visible" ng-click="confirmOrder()">Подать заявку</button>
	</div>
</div>
<br>
<br>
<div>
	<table class="table table-bordered table-hover table-condensed">
		<tr style="font-weight: bold; white-space: nowrap">

			<td style="width:50%" translate="ORDER_TH_PRODUCT">
				Product
			</td>
			<td style="width:10%">
				<span translate="ORDER_TH_CAPACITY">Capacity</span>
				<br> <span translate="ORDER_TH_MINCOUNT">Minimal count</span>
			</td>
			<td style="width:10%" translate="ORDER_TH_PRICE">
				Price
			</td>
			<td style="width:15%">
				<span translate="ORDER_TH_COUNT1">Count1</span>
				<br>
				<form editable-form name="countform" onaftersave="saveColumn('countform')" ng-show="countform.$visible">
					<button type="submit" ng-disabled="countform.$waiting" class="btn btn-primary" translate="BUTTON_SAVE">
						save
					</button>
					<button type="button" ng-disabled="countform.$waiting" ng-click="cancelColumn('countform')" class="btn btn-default" translate="BUTTON_CANCEL">
						cancel
					</button>
				</form>
				<button class="btn btn-default" ng-show="!countform.$visible&&(orderStatus.status=='INPUT'||orderStatus.status=='DECLINED'||orderStatus.status==undefined)" ng-click="countform.$show()" translate="BUTTON_EDIT">
					edit
				</button>
			</td>
			<td style="width:15%">
				<span translate="ORDER_TH_COUNT2">Count2</span>
				<br>
				<form editable-form name="count2form" onaftersave="saveColumn('count2form')" ng-show="count2form.$visible">
					<button type="submit" ng-disabled="count2form.$waiting" class="btn btn-primary" translate="BUTTON_SAVE">
						save
{'fraction_non_alphanumeric': 0.1978849256139093, 'fraction_numerical': 0.0075282308657465494, 'mean_word_length': 5.992481203007519, 'pattern_counts': {'":': 0, '<': 143, '<?xml version=': 0, '>': 143, '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': '4546912', 'n_tokens_mistral': 2107, 'n_tokens_neox': 1865, 'n_words': 316}