Skip to content

Commit

Permalink
Merge branch 'staging' into deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
horcsinbalint committed Jul 13, 2024
2 parents 7f26e65 + 8fa6625 commit 655254f
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 28 deletions.
6 changes: 2 additions & 4 deletions app/Http/Controllers/Dormitory/PrintController.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,13 +227,11 @@ public function listPrintAccountHistory()
{
$this->authorize('viewAny', PrintJob::class);

$columns = ['user.name', 'balance_change', 'free_page_change', 'deadline_change', 'modifier.name', 'modified_at'];
$columns = ['user_name', 'balance_change', 'free_page_change', 'deadline_change', 'modifier_name', 'modified_at'];
$paginator = TabulatorPaginator::from(
PrintAccountHistory::join('users as user', 'user.id', '=', 'user_id')
->join('users as modifier', 'modifier.id', '=', 'modified_by')
->select('print_account_history.*')
->with('user')
->with('modifier')
->select(['user.name as user_name', 'balance_change', 'free_page_change', 'deadline_change', 'modifier.name as modifier_name', 'modified_at'])
)->sortable($columns)
->filterable($columns)
->paginate();
Expand Down
42 changes: 21 additions & 21 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
columns: [
{
title: "Felhasználó",
field: "user.name",
field: "user_name",
sorter: "string",
headerFilter: 'input',
minWidth:200
Expand All @@ -39,7 +39,7 @@
},
{
title: "Módosító",
field: "modifier.name",
field: "modifier_name",
sorter: "string",
headerFilter: 'input',
minWidth:180
Expand Down
2 changes: 1 addition & 1 deletion resources/views/layouts/navbar.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class="material-icons">menu</i></a>
<!--logo for mobile-->
<a class="brand-logo center hide-on-large-only"
style="text-transform: uppercase;font-weight:300;letter-spacing:3px;" href="{{ url('/') }}">
style="text-transform: uppercase;font-weight:300;letter-spacing:3px;" href="{{ url('/') }}">
{{ config('app.name', 'Urán') }} </a>
<!--title-->

Expand Down

0 comments on commit 655254f

Please sign in to comment.