From e5c1f4847d5d380aac02a23e4a5c273123a75576 Mon Sep 17 00:00:00 2001 From: snipe Date: Fri, 1 Jun 2018 13:55:39 -0700 Subject: [PATCH 01/14] Added emoji to exempt list to match current labels --- .github/stale.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/stale.yml b/.github/stale.yml index 4aead8d18d..991cdf27bd 100644 --- a/.github/stale.yml +++ b/.github/stale.yml @@ -9,6 +9,10 @@ exemptLabels: - :woman_technologist: ready for dev - :moneybag: bounty - :hand: bug + - "🔐 security" + - "👩‍💻 ready for dev" + - "💰 bounty" + - "✋ bug" # Label to use when marking an issue as stale staleLabel: stale # Comment to post when marking an issue as stale. Set to `false` to disable From 086683319aec8d0873254a8db8d1f85b107fcb45 Mon Sep 17 00:00:00 2001 From: snipe Date: Sat, 2 Jun 2018 06:21:51 -0700 Subject: [PATCH 02/14] Fixed #5172 - autosum on assets detail view for components tab --- resources/views/hardware/view.blade.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/resources/views/hardware/view.blade.php b/resources/views/hardware/view.blade.php index 43b6b65ab6..96be1daa8d 100755 --- a/resources/views/hardware/view.blade.php +++ b/resources/views/hardware/view.blade.php @@ -605,6 +605,8 @@ @foreach ($asset->components as $component) + + @if (is_null($component->deleted_at)) @@ -612,6 +614,7 @@ {{ $component->pivot->assigned_qty }} {{ $component->purchase_cost }} + purchase_cost ;?> @endif @@ -620,7 +623,9 @@ - {{ $use_currency.$totalCost }} + + + {{ $totalCost }} From 968d7d1f115fb63e552733927910d5a049807853 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 5 Jun 2018 15:30:50 -0700 Subject: [PATCH 03/14] Fixed #5354 - adds dd/mm/yyyy to localization --- resources/macros/macros.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/macros/macros.php b/resources/macros/macros.php index d0a50875ec..c391700b9b 100644 --- a/resources/macros/macros.php +++ b/resources/macros/macros.php @@ -366,12 +366,14 @@ Form::macro('date_display_format', function ($name = "date_display_format", $sel 'd M, Y', 'm/d/Y', 'n/d/y', + 'd/m/Y', 'm/j/Y', 'd.m.Y', ]; foreach ($formats as $format) { - $date_display_formats[$format] = Carbon::now()->format($format); + + $date_display_formats[$format] = Carbon::parse(date('Y').'-'.date('m').'-25')->format($format); } $select = '