Neustrukturierung Customer / Lead / Booking Phase 2
This commit is contained in:
parent
313f0dbf4e
commit
6df9c401af
69 changed files with 3809 additions and 374 deletions
13
resources/views/offer/detail.blade.php
Normal file
13
resources/views/offer/detail.blade.php
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
@extends('layouts.layout-2')
|
||||
|
||||
@section('content')
|
||||
<h4 class="font-weight-bold py-3 mb-4">
|
||||
{{ __('Angebot') }} {{ $offer->offer_number }} <small
|
||||
class="text-muted">#{{ $offer->id }}</small>
|
||||
</h4>
|
||||
<div class="card p-3">
|
||||
<p class="mb-0">Status: <span class="badge badge-secondary">{{ $offer->status }}</span></p>
|
||||
<p class="text-muted small mb-0 mt-2">Detail-Editor, Tabs und Aktionen folgen in B3. Aktuelle
|
||||
Version: V{{ $offer->currentVersion ? $offer->currentVersion->version_no : '—' }}.</p>
|
||||
</div>
|
||||
@endsection
|
||||
57
resources/views/offer/index.blade.php
Normal file
57
resources/views/offer/index.blade.php
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
@extends('layouts.layout-2')
|
||||
|
||||
@section('content')
|
||||
<h4 class="font-weight-bold py-3 mb-4">
|
||||
{{ __('Angebote') }}
|
||||
</h4>
|
||||
<p class="text-muted">Filter & Aktionen erweitert Ticket B1. Die Tabelle nutzt die Route <code>data_table_offers</code>.</p>
|
||||
|
||||
<div class="card">
|
||||
<div class="table-responsive-track" id="datatables-offers-scroll">
|
||||
<div class="table-responsive-thumb" id="datatables-offers-thumb"></div>
|
||||
</div>
|
||||
<div class="card-datatable table-responsive" id="datatables-offers-table">
|
||||
<table class="datatables-offers table table-striped table-bordered" id="datatables-offers">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="max-width: 60px;"> </th>
|
||||
<th>ID</th>
|
||||
<th>Nr.</th>
|
||||
<th>Kontakt</th>
|
||||
<th>Status</th>
|
||||
<th>Erstellt von</th>
|
||||
<th>Erstellt am</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(function () {
|
||||
var table = $('#datatables-offers').DataTable({
|
||||
processing: true,
|
||||
serverSide: true,
|
||||
ajax: '{!! route('data_table_offers') !!}',
|
||||
order: [[1, 'desc']],
|
||||
columns: [
|
||||
{data: 'action_edit', name: 'action_edit', orderable: false, searchable: false},
|
||||
{data: 'id', name: 'offers.id'},
|
||||
{data: 'offer_number', name: 'offers.offer_number'},
|
||||
{data: 'contact_name', name: 'contact_name', orderable: false, searchable: false},
|
||||
{data: 'status_badge', name: 'offers.status', orderable: true, searchable: false},
|
||||
{data: 'created_name', name: 'created_name', orderable: false, searchable: false},
|
||||
{data: 'created_at_fmt', name: 'offers.created_at', searchable: false}
|
||||
],
|
||||
bLengthChange: false,
|
||||
iDisplayLength: 100,
|
||||
language: {url: '/js/German.json'},
|
||||
drawCallback: function () {
|
||||
if (typeof dataTableScrollTrack === 'function') {
|
||||
dataTableScrollTrack('#datatables-offers');
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
5
resources/views/offer/modal_new_offer_stub.blade.php
Normal file
5
resources/views/offer/modal_new_offer_stub.blade.php
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{{-- Stub für A6 — ersetzt durch B2 (modal-new-offer) --}}
|
||||
<div class="p-2">
|
||||
<p class="mb-0">Neues Angebot-Modal: Implementierung in Ticket B2
|
||||
(<code>OfferService::createBlank / createFromInquiry</code>).</p>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue