@can('incentives.create') {{ __('Add incentive') }} @endcan @if ($incentives->isEmpty()) @else
@foreach ($incentives as $incentive) @endforeach
{{ __('Incentive') }}{{ __('Target') }}{{ __('Applies to') }}{{ __('Reward') }}{{ __('Achieved') }}{{ __('Status') }}

{{ $incentive->title }}

{{ $incentive->starts_on->toFormattedDateString() }} – {{ $incentive->ends_on?->toFormattedDateString() ?? __('no end date') }}

{{ rtrim(rtrim(number_format($incentive->target_value, 2), '0'), '.') }} {{ __($incentive->target_type->label()) }} {{ __($incentive->period->label()) }} {{ $incentive->zone?->name ?? __('All zones') }}{{ $incentive->vehicleType?->name ?? __('All vehicle types') }} {{ money($incentive->reward_amount) }} {{ number_format($incentive->achieved_count) }}
@can('incentives.edit'){{ __('Edit') }}@endcan @can('incentives.delete')
@csrf @method('DELETE') @endcan
{{ $incentives->links() }}
@endif