| @lang('Actions') | @include('components.table-header-sorting', ['label' => __('Client name'), 'name' => 'client_name']) | @include('components.table-header-sorting', ['label' => __('Short agreement no'), 'name' => 'short_agreement_no']) | @include('components.table-header-sorting', ['label' => __('Agreement no'), 'name' => 'agreement_no']) | @include('components.table-header-sorting', ['label' => __('Product'), 'name' => 'product']) | @include('components.table-header-sorting', ['label' => __('Status'), 'name' => 'status']) | @include('components.table-header-sorting', ['label' => __('Agreement Type'), 'name' => 'agreement_type']) | @include('components.table-header-sorting', ['label' => __('Agreement accept date'), 'name' => 'accept_date']) | @include('components.table-header-sorting', ['label' => __('Agreement sign date'), 'name' => 'sign_date']) | @include('components.table-header-sorting', ['label' => __('Agreement start date'), 'name' => 'start_date']) | @include('components.table-header-sorting', ['label' => __('Agreement end date'), 'name' => 'end_date']) | @include('components.table-header-sorting', ['label' => __('Volume'), 'name' => 'volume']) | @include('components.table-header-sorting', ['label' => __('PBH'), 'name' => 'pbh']) | @include('components.table-header-sorting', ['label' => __('KS'), 'name' => 'ks']) | @include('components.table-header-sorting', ['label' => __('PM'), 'name' => 'pm']) | @include('components.table-header-sorting', ['label' => __('M_min'), 'name' => 'm_min']) | @include('components.table-header-sorting', ['label' => __('PPE Qty'), 'name' => 'ppe_qty']) | @include('components.table-header-sorting', ['label' => __('PV_kWp'), 'name' => 'pv_kwp']) | @include('components.table-header-sorting', ['label' => __('PPE Cost'), 'name' => 'ppe_cost']) | @include('components.table-header-sorting', ['label' => __('FIX Sell Price'), 'name' => 'fix_sell_price']) | @include('components.table-header-sorting', ['label' => __('FIX Min Price'), 'name' => 'fix_min_price']) | @include('components.table-header-sorting', ['label' => __('Agent'), 'name' => 'agent']) | @include('components.table-header-sorting', ['label' => __('NIP'), 'name' => 'nip']) | @include('components.table-header-sorting', ['label' => __('Company Type'), 'name' => 'company_type']) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @component('components.form.select', [ 'name' => 'search.product', 'values' => \App\Models\Dictionary::getDictionaryByType('product'), 'object' => (object)['status' => request()->input('search.product')]])@endcomponent | @component('components.form.select', [ 'name' => 'search.status', 'values' => \App\Models\Dictionary::getDictionaryByType('agreement_status'), 'object' => (object)['status' => request()->input('search.status')]])@endcomponent | @component('components.form.select', [ 'name' => 'search.agreement_type', 'values' => \App\Models\Dictionary::getDictionaryByType('agreement_type'), 'object' => (object)['agreement_type' => request()->input('search.agreement_type')]])@endcomponent |
|
|
|
|
@component('components.form.select', [ 'name' => 'search.agent', 'values' => \App\Models\Dictionary::getDictionaryByType('agent'), 'object' => (object)['agent' => request()->input('search.agent')]])@endcomponent | @component('components.form.select', [ 'name' => 'search.company_type', 'values' => \App\Models\Dictionary::getDictionaryByType('company_type'), 'object' => (object)['company_type' => request()->input('search.company_type')]])@endcomponent | |||||||||||||||
| {{$agreement->client_name}} | {{$agreement->short_agreement_no}} | {{$agreement->agreement_no}} | {{$agreement->product}} | {{$agreement->status}} | {{$agreement->agreement_type}} | {{\Carbon\Carbon::parse($agreement->accept_date)->format('d.m.Y')}} | {{\Carbon\Carbon::parse($agreement->sign_date)->format('d.m.Y')}} | {{\Carbon\Carbon::parse($agreement->start_date)->format('d.m.Y')}} | {{\Carbon\Carbon::parse($agreement->end_date)->format('d.m.Y')}} | {{system_number($agreement->volume)}} | {{number_format($agreement->pbh, 3, '.', '')}} | {{system_number($agreement->ks)}} | {{system_number($agreement->pm)}} | {{system_number($agreement->m_min)}} | {{ $agreement->ppe_qty }} | {{system_number($agreement->pv_kwp)}} | {{system_number($agreement->ppe_cost)}} | {{system_number($agreement->fix_sell_price)}} | {{system_number($agreement->fix_price_min)}} | {{$agreement->agent}} | {{$agreement->nip}} | {{$agreement->company_type}} | |
| @lang('No agreements') | |||||||||||||||||||||||