feature/cierres #25

Open
aldarien wants to merge 446 commits from feature/cierres into develop
339 changed files with 1095 additions and 13689 deletions
Showing only changes of commit 596bc71cf8 - Show all commits

View File

@ -17,7 +17,7 @@
</thead>
@foreach($brokers as $broker)
<tr>
<td>
<td class="top aligned">
<span
@if ($broker->data()?->legalName !== '')
data-tooltip="{{ $broker->data()?->legalName }}" data-position="right center"
@ -26,12 +26,13 @@
{{$broker->rutFull()}}
</span>
</td>
<td>
<td class="top aligned">
<a href="{{ $urls->base }}/proyectos/broker/{{ $broker->rut }}">
{{$broker->name}}
<i class="angle right icon"></i>
</a>
</td>
<td>
<td class="top aligned">
<span
@if ($broker->data()?->representative?->email !== '' || $broker->data()?->representative?->phone !== '')
data-tooltip="{{ ($broker->data()?->representative?->email !== '') ? "Email: " . $broker->data()?->representative?->email : '' }}{{ ($broker->data()?->representative?->phone !== '') ? ' Teléfono: ' . $broker->data()?->representative?->phone : '' }}" data-position="right center"
@ -40,7 +41,7 @@
{{ $broker->data()?->representative?->name }}
</span>
</td>
<td>
<td class="top aligned">
<div class="ui list">
@foreach($broker->contracts() as $contract)
<div class="item">
@ -51,7 +52,7 @@
@endforeach
</div>
</td>
<td class="right aligned">
<td class="top aligned right aligned">
<button class="ui small tertiary icon button edit_button" data-index="{{$broker->rut}}">
<i class="edit icon"></i>
</button>

View File

@ -47,6 +47,7 @@
<td>
<a href="{{ $urls->base }}/proyectos/broker/{{ $broker->rut }}/contract/{{ $contract->id }}">
{{ $contract->project->descripcion }}
<i class="angle right icon"></i>
</a>
</td>
<td>{{ $format->percent($contract->commission, 2, true) }}</td>