Merge branch 'issue-83' into 'develop'

fix: 🐛 change the blade condition to display or not the project manager

See merge request ldc-web/projets/support-web!103
This commit is contained in:
Vincent BRIDIER 2025-05-12 13:10:45 +00:00
commit 7116c5d41f

View file

@ -103,19 +103,19 @@
<hr>
@endif
<div>
<div class="d-flex justify-content-between mb-3">
<div class="d-flex mb-3">
@if ($ticket->site->projectManager)
<h4>
{{ __("Chef de projet") }} : {{ $ticket->site->projectManager->name }}
</h4>
@endif
<div class="d-flex">
<div class="d-flex float-end ms-auto">
@can('estimate', $ticket)
<a class="btn btn-sm btn-info float-end mx-1"
<a class="btn btn-sm btn-info mx-1"
href="{{ route('bo.ticket.estimation.estimate', $ticket) }}">{{ __('Estimation') }}</a>
@endcan
@can('createMessage', $ticket)
<button class="btn btn-sm btn-primary float-end mx-1" data-bs-toggle="modal" data-bs-target="#messageModal" type="button">
<button class="btn btn-sm btn-primary mx-1" data-bs-toggle="modal" data-bs-target="#messageModal" type="button">
{{ __('Répondre') }}
</button>
@endcan