| 
									
										
										
										
											2020-09-06 13:18:51 +02:00
										 |  |  | @extends('layout.default') | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @section('title', $__t('Stock journal summary')) | 
					
						
							|  |  |  | @section('activeNav', '') | 
					
						
							|  |  |  | @section('viewJsName', 'stockjournalsummary') | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @section('content') | 
					
						
							| 
									
										
										
										
											2020-09-06 13:31:54 +02:00
										 |  |  | <div class="row"> | 
					
						
							|  |  |  | 	<div class="col"> | 
					
						
							|  |  |  | 		<h2 class="title">@yield('title')</h2> | 
					
						
							| 
									
										
										
										
											2020-09-06 13:18:51 +02:00
										 |  |  | 	</div> | 
					
						
							| 
									
										
										
										
											2020-09-06 13:31:54 +02:00
										 |  |  | </div> | 
					
						
							| 
									
										
										
										
											2020-10-31 18:37:10 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-11-08 15:09:10 +01:00
										 |  |  | <hr class="my-2"> | 
					
						
							| 
									
										
										
										
											2020-10-31 18:37:10 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-09-06 13:31:54 +02:00
										 |  |  | <div class="row"> | 
					
						
							|  |  |  | 	<div class="col"> | 
					
						
							|  |  |  | 		<table id="journal-summary-table" | 
					
						
							| 
									
										
										
										
											2020-11-07 14:53:45 +01:00
										 |  |  | 			class="table table-sm table-striped nowrap w-100"> | 
					
						
							| 
									
										
										
										
											2020-09-06 13:31:54 +02:00
										 |  |  | 			<thead> | 
					
						
							| 
									
										
										
										
											2020-09-06 13:18:51 +02:00
										 |  |  | 				<tr> | 
					
						
							|  |  |  | 					<th>{{ $__t('Product') }}</th> | 
					
						
							| 
									
										
										
										
											2020-11-12 21:35:10 +01:00
										 |  |  | 					<th>{{ $__t('Transaction type') }}</th> | 
					
						
							| 
									
										
										
										
											2020-09-06 13:18:51 +02:00
										 |  |  | 					<th>{{ $__t('User') }}</th> | 
					
						
							|  |  |  | 					<th>{{ $__t('Amount') }}</th> | 
					
						
							|  |  |  | 				</tr> | 
					
						
							| 
									
										
										
										
											2020-09-06 13:31:54 +02:00
										 |  |  | 			</thead> | 
					
						
							|  |  |  | 			<tbody class="d-none"> | 
					
						
							| 
									
										
										
										
											2020-09-06 13:18:51 +02:00
										 |  |  | 				@foreach($entries as $journalEntry) | 
					
						
							| 
									
										
										
										
											2020-09-06 13:31:54 +02:00
										 |  |  | 				<tr> | 
					
						
							|  |  |  | 					<td> | 
					
						
							|  |  |  | 						{{ $journalEntry->product_name }} | 
					
						
							|  |  |  | 					</td> | 
					
						
							|  |  |  | 					<td> | 
					
						
							|  |  |  | 						{{ $__t($journalEntry->transaction_type) }} | 
					
						
							|  |  |  | 					</td> | 
					
						
							|  |  |  | 					<td> | 
					
						
							|  |  |  | 						{{ $journalEntry->user_display_name }} | 
					
						
							|  |  |  | 					</td> | 
					
						
							|  |  |  | 					<td> | 
					
						
							|  |  |  | 						<span class="locale-number locale-number-quantity-amount">{{ $journalEntry->amount }}</span> {{ $__n($journalEntry->amount, $journalEntry->qu_name, $journalEntry->qu_name_plural) }} | 
					
						
							|  |  |  | 					</td> | 
					
						
							|  |  |  | 				</tr> | 
					
						
							| 
									
										
										
										
											2020-09-06 13:18:51 +02:00
										 |  |  | 				@endforeach | 
					
						
							| 
									
										
										
										
											2020-09-06 13:31:54 +02:00
										 |  |  | 			</tbody> | 
					
						
							|  |  |  | 		</table> | 
					
						
							| 
									
										
										
										
											2020-09-06 13:18:51 +02:00
										 |  |  | 	</div> | 
					
						
							| 
									
										
										
										
											2020-09-06 13:31:54 +02:00
										 |  |  | </div> | 
					
						
							| 
									
										
										
										
											2020-09-06 13:18:51 +02:00
										 |  |  | @stop |