2020-03-23 18:10:42 +01:00
|
|
|
@extends('portal.ninja2020.layout.app')
|
2022-02-10 01:36:44 +01:00
|
|
|
@section('meta_title', ctrans('texts.view_credit'))
|
2020-03-23 18:10:42 +01:00
|
|
|
|
|
|
|
@section('body')
|
2022-02-10 01:36:44 +01:00
|
|
|
<div class="bg-white shadow sm:rounded-lg mb-4" translate>
|
|
|
|
<div class="px-4 py-5 sm:p-6">
|
|
|
|
<div class="sm:flex sm:items-start sm:justify-between">
|
|
|
|
<div>
|
|
|
|
<h3 class="text-lg leading-6 font-medium text-gray-900">
|
|
|
|
{{ ctrans('texts.entity_number_placeholder', ['entity' => ctrans('texts.credit'), 'entity_number' => $credit->number]) }}
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2023-07-26 05:13:16 +02:00
|
|
|
@include('portal.ninja2020.components.entity-documents', ['entity' => $credit])
|
2023-10-01 02:06:40 +02:00
|
|
|
@livewire('pdf-slot', ['entity' => $credit, 'invitation' => $invitation, 'db' => $credit->company->db])
|
2022-02-10 01:36:44 +01:00
|
|
|
|
2020-03-23 18:10:42 +01:00
|
|
|
@endsection
|
2020-11-12 12:17:49 +01:00
|
|
|
|
|
|
|
@section('footer')
|
2022-02-10 01:36:44 +01:00
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
2024-07-10 08:06:13 +02:00
|
|
|
document.addEventListener('DOMContentLoaded', () => {
|
|
|
|
|
|
|
|
@if($key)
|
|
|
|
window.history.pushState({}, "", "{{ url("client/credit/{$key}") }}");
|
|
|
|
@endif
|
|
|
|
|
|
|
|
});
|
2022-02-10 01:36:44 +01:00
|
|
|
|
|
|
|
</script>
|
2020-11-12 12:17:49 +01:00
|
|
|
@endsection
|