mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Applied .blade.php formatting rules
This commit is contained in:
@@ -16,20 +16,24 @@
|
||||
<div class="col-xs-12 col-md-6 col-xl-3">
|
||||
<div class="input-group mb-3">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fas fa-search"></i></span>
|
||||
<span class="input-group-text"><i class="fas fa-search"></i></span>
|
||||
</div>
|
||||
<input type="text" id="search" class="form-control" placeholder="{{ $__t('Search') }}">
|
||||
<input type="text"
|
||||
id="search"
|
||||
class="form-control"
|
||||
placeholder="{{ $__t('Search') }}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 col-md-6 col-xl-3">
|
||||
<div class="input-group mb-3">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text"><i class="fas fa-filter"></i></span>
|
||||
<span class="input-group-text"><i class="fas fa-filter"></i></span>
|
||||
</div>
|
||||
<select class="form-control" id="product-filter">
|
||||
<select class="form-control"
|
||||
id="product-filter">
|
||||
<option value="all">{{ $__t('All') }}</option>
|
||||
@foreach($products as $product)
|
||||
<option value="{{ $product->id }}">{{ $product->name }}</option>
|
||||
<option value="{{ $product->id }}">{{ $product->name }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
@@ -38,7 +42,8 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<table id="stock-journal-table" class="table table-sm table-striped dt-responsive">
|
||||
<table id="stock-journal-table"
|
||||
class="table table-sm table-striped dt-responsive">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="border-right"></th>
|
||||
@@ -51,9 +56,16 @@
|
||||
</thead>
|
||||
<tbody class="d-none">
|
||||
@foreach($stockLog as $stockLogEntry)
|
||||
<tr id="stock-booking-{{ $stockLogEntry->id }}-row" class="@if($stockLogEntry->undone == 1) text-muted @endif stock-booking-correlation-{{ $stockLogEntry->correlation_id }}" data-correlation-id="{{ $stockLogEntry->correlation_id }}">
|
||||
<tr id="stock-booking-{{ $stockLogEntry->id }}-row"
|
||||
class="@if($stockLogEntry->undone == 1) text-muted @endif stock-booking-correlation-{{ $stockLogEntry->correlation_id }}"
|
||||
data-correlation-id="{{ $stockLogEntry->correlation_id }}">
|
||||
<td class="fit-content border-right">
|
||||
<a class="btn btn-secondary btn-sm undo-stock-booking-button @if($stockLogEntry->undone == 1) disabled @endif" href="#" data-booking-id="{{ $stockLogEntry->id }}" data-toggle="tooltip" data-placement="left" title="{{ $__t('Undo booking') }}">
|
||||
<a class="btn btn-secondary btn-sm undo-stock-booking-button @if($stockLogEntry->undone == 1) disabled @endif"
|
||||
href="#"
|
||||
data-booking-id="{{ $stockLogEntry->id }}"
|
||||
data-toggle="tooltip"
|
||||
data-placement="left"
|
||||
title="{{ $__t('Undo booking') }}">
|
||||
<i class="fas fa-undo"></i>
|
||||
</a>
|
||||
</td>
|
||||
@@ -62,7 +74,8 @@
|
||||
@if($stockLogEntry->undone == 1)
|
||||
<br>
|
||||
{{ $__t('Undone on') . ' ' . $stockLogEntry->undone_timestamp }}
|
||||
<time class="timeago timeago-contextual" datetime="{{ $stockLogEntry->undone_timestamp }}"></time>
|
||||
<time class="timeago timeago-contextual"
|
||||
datetime="{{ $stockLogEntry->undone_timestamp }}"></time>
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
@@ -70,7 +83,8 @@
|
||||
</td>
|
||||
<td>
|
||||
{{ $stockLogEntry->row_created_timestamp }}
|
||||
<time class="timeago timeago-contextual" datetime="{{ $stockLogEntry->row_created_timestamp }}"></time>
|
||||
<time class="timeago timeago-contextual"
|
||||
datetime="{{ $stockLogEntry->row_created_timestamp }}"></time>
|
||||
</td>
|
||||
<td>
|
||||
{{ $__t($stockLogEntry->transaction_type) }}
|
||||
|
Reference in New Issue
Block a user