<commit_before>{% extends '::baseadmin.html.twig' %}

{% block javascripts %}
<script>
	$(document).ready(function(){
		$('.hide-deleted').click(function(){
			$('.deleted').slideToggle('fast');
		});
	});
</script>

{% endblock %}


{% block body %}

<br>

<a href="#" class="btn btn-danger hide-deleted">Показать/скрыть удалённые</a>	

<style>
	.deleted {
		background:#fbd2d2;
	}
</style>


{#{dump()}#}





<table class="table">
		<tr>
			<th>Номер заказа</th>
			<th>Покупатель</th>
			<th>Дата заказа</th>
			<th>На сумму</th>
			<th>Оплачено</th>
			<th></th>
		</tr>
{{ form_start(form) }}		
		<tr>
			<th>{{ form_widget(form.date) }}</th>
			<th>{{ form_widget(form.buyer) }}</th>
			<th></th>
			<th></th>
			<th></th>
			<th>{{ form_widget(form.submit) }}</th>
		</tr>
{{ form_end(form) }}		
		
	{% for order in orders %}
		<tr {% if order.del == 1 %} class="deleted" {% endif %}>
			<td>
			<b>{{order.id}}</b><commit_msg>В отчётах скрыли удалённые по умолчанию<commit_after>{% extends '::baseadmin.html.twig' %}

{% block javascripts %}
<script>
	$(document).ready(function(){
		$('.hide-deleted').click(function(){
			$('.deleted').slideToggle('fast');
		});
	});
</script>

{% endblock %}


{% block body %}

<br>

<a href="#" class="btn btn-danger hide-deleted">Показать/скрыть удалённые</a>	

<style>
	.deleted {
		background:#fbd2d2;
	}
</style>


{#{dump()}#}





<table class="table">
		<tr>
			<th>Номер заказа</th>
			<th>Покупатель</th>
			<th>Дата заказа</th>
			<th>На сумму</th>
			<th>Оплачено</th>
			<th></th>
		</tr>
{{ form_start(form) }}		
		<tr>
			<th>{{ form_widget(form.date) }}</th>
			<th>{{ form_widget(form.buyer) }}</th>
			<th></th>
			<th></th>
			<th></th>
			<th>{{ form_widget(form.submit) }}</th>
		</tr>
{{ form_end(form) }}		
		
	{% for order in orders %}
		<tr {% if order.del == 1 %} class="deleted"  style="display: none;" {% endif %}>
			<td>
			<b>{{order.id}}</b>
{'fraction_non_alphanumeric': 0.25677083333333334, 'fraction_numerical': 0.003125, 'mean_word_length': 3.4778554778554778, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, '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': '4150831', 'n_tokens_mistral': 953, 'n_tokens_neox': 850, 'n_words': 138}