@php /** @var OGame\ViewModels\Queue\BuildingQueueViewModel $build_active */ @endphp
@if (!empty($build_active))
| {!! $build_active->object->title !!} |
|
|
@if ($build_active->is_downgrade ?? false)
@lang('Downgrade to')
@else
@lang('Improve to')
@endif
@lang('Level') {!! $build_active->level_target !!}
|
| @lang('Duration'): |
|
|
|
@php
$halvingService = app(\OGame\Services\HalvingService::class);
$halvingCost = $halvingService->calculateHalvingCost($build_active->time_total, 'building');
@endphp
Halve time
Costs: {{ number_format($halvingCost) }} DM
|
{{-- No buildings are being built. --}}
@else
@endif