<commit_before>@extends('layouts.app')





@section('content')
<div class="container">
	@if (count($buying) === 0)
	<div class="col-md-8 col-md-offset-2">
		<div class="panel panel-default">
		  <div class="panel-heading">Twoje zakupy</div>
		  	<table class="table">

		  	Nic nie kupiłes
		  	</table>
		 </div>
	</div>
		   	@elseif (count($buying) > 0)
		   	<div class="col-md-8 col-md-offset-2">
				<div class="panel panel-default">
				  <div class="panel-heading">Twoje zakupy</div>
				  	<table class="table">
					  	<thread>
					  		<tr>
					  		<th>Produkt</th>
					  		<th>Cena</th>
					  		<th>Ilosc</th>
					  		<th>Data</th>
					  		<th>Faktura</th>
					  		</tr>
					  	</thread>
						@foreach($buying as $buyings)
							<tbody>
							   	<td>{{$buyings->product}}</td>
								<td>{{$buyings->price}}</td>
								<td>{{$buyings->amount}}</td>
								<td>{{$buyings->created_at}}</td>
								<td><a class='btn btn-warning' href="{{route('billsPDF',['id',$buyings->id])}}">Faktura</a></td>
							</tbody>
						@endforeach
					</table>
							{{ $buying->links() }}	
				</div>	
			@endif
		</div>
</div>
@endsection<commit_msg>refractor<commit_after>@extends('layouts.app')





@section('content')
<div class="container">
	@if (count($buying) === 0)
	<div class="col-md-8 col-md-offset-2">
		<div class="panel panel-default">
		  <div class="panel-heading">Twoje zakupy</div>
		  	<table class="table">

		  	Nic nie kupiłes
		  	</table>
		 </div>
	</div>
		   	@elseif (count($buying) > 0)
		   	<div class="col-md-8 col-md-offset-2">
				<div class="panel panel-default">
				  <div class="panel-heading">Twoje zakupy</div>
				  	<table class="table">
					  	<thread>
					  		<tr>
					  		<th>Produkt</th>
					  		<th>Cena</th>
					  		<th>Ilosc</th>
					  		<th>Data</th>
					  		<th>Faktura</th>
					  		</tr>
					  	</thread>
						@foreach($buying as $buyings)
							<tbody>
							   	<td>{{$buyings->product}}</td>
								<td>{{$buyings->price}}</td>
								<td>{{$buyings->amount}}</td>
								<td>{{$buyings->created_at}}</td>
								<td><a class='btn btn-warning' href="{{route('billsPDF',['id'=>$buyings->id])}}">Faktura</a></td>
							</tbody>
						@endforeach
					</table>
							{{ $buying->links() }}	
				</div>	
			@endif
		</div>
</div>
@endsection
{'fraction_non_alphanumeric': 0.2199741713301765, 'fraction_numerical': 0.005165733964700818, 'mean_word_length': 2.324749642346209, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 110, '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': '3376041', 'n_tokens_mistral': 1223, 'n_tokens_neox': 899, 'n_words': 135}