<?php 
use common\components\AccountTotalWidget;
?>
<div class='row'>
	<div class='col-md-4'>
		<a class="btn btn-primary" style="margin-bottom: 6px" onclick="javascript: $('#account_stat_panels').toggle();">Statisztika mutatása/elrejtése</a>
	</div>
</div>
<div id='account_stat_panels' style="display: none;">
<div class='row'>
	<div class='col-md-4'>
		<?php 
		echo AccountTotalWidget::widget([
				'statistic' => $model->totals['created_at'],
				'panelHeading' => 'Kiadva',
		]);
		?>
	</div>
	<div class='col-md-4'>
		<?php 
		echo AccountTotalWidget::widget([
				'statistic' => $model->totals['created_at_paid'],
				'panelHeading' => 'Kiadva/fizetve',
		]);
		?>
	</div>
	<div class='col-md-4'>
		<?php 
			echo AccountTotalWidget::widget([
					'statistic' => $model->totals['created_at_not_paid'],
					'panelHeading' => 'Kiadva/nem fizetve (Hitel)',
					'panelType' => 'panel-danger'
			]);
		?>
	</div>
</div>
<div class='row'>
	<div class='col-md-4'>

	</div>
	<div class='col-md-4'>
			<?php 
			echo AccountTotalWidget::widget([
					'statistic' => $model->totals['paid_at_not_created_at'],
					'panelHeading' =>  'Adósság (Hitel)/Fizetve'   ,
			]);
		?>	
	</div>
	<div class='col-md-4'>

	</div>
</div>

<div class='row'>
	<div class='col-md-4'>

	</div>
	<div class='col-md-4'>
		<?php 
			echo AccountTotalWidget::widget([
					'statistic' => $model->totals['paid_at'],
					'panelHeading' =>  'Fizetve'   ,
					'panelType' => 'panel-success'
			]);
		?>
	</div>
	<div class='col-md-4'>

	</div>
</div>
</div>