@extends('layouts.app') @section('headScripts') @endsection @section('content') {{-- İŞLEV ÇUBUĞU --}}
{{-- BREADCRUMB --}}
{{-- SAYFA BAŞLIĞI --}}

Profile Overview

@if ($company->type == 'client') {{ $company->shortname ?? mb_substr($company->name, 0, 3, 'UTF-8') }} @else {{ $company->shortname ?? mb_substr($company->name, 0, 3, 'UTF-8') }} @endif
@if ($company->type == 'client')

Müşteri

@else

Tedarikçi

@endif

{{ $company->name }}

@if (count($company->invoices) > 0) {{-- GRAFİKLER --}}
{{ number_format($transaction_volume, 0, ',', '.') }}₺ İşlem hacmi
@if ($company->getCompanyTotalSale() > 0)
{{ number_format($company->getCompanyTotalSale(), 0, ',', '.') }}₺ Satışlar
@endif @if ($company->getCompanyTotalPurchase() > 0)
{{ number_format($company->getCompanyTotalPurchase(), 0, ',', '.') }}₺ Alışlar
@endif @if ($company->getCompanyTotalIncome() > 0)
{{ number_format($company->getCompanyTotalIncome(), 0, ',', '.') }}₺ Tahsilatlar
@endif @if ($company->getCompanyTotalPaid() > 0)
{{ number_format($company->getCompanyTotalPaid(), 0, ',', '.') }}₺ Ödemeler
@endif
{{ $company->type == 'client' ? 'Gelir Dağılımı' : 'Gider Dağılımı' }}
@if ($company->type == 'client') {{ number_format($company->getCompanyReceivedRatio(), 1, ',', '.') }}% @else {{ number_format($company->getCompanyPaidRatio(), 1, ',', '.') }}% @endif Son bir yıl
Bakiye
{{ $company->getCompanyBalance() < 0 ? 'Borç' : 'Alacak' }} {{ number_format($company->getCompanyBalance(), 0, ',', '.') }}₺
@if ($company->getCompanyAverageIncome() > 0)
Aylık tahsilat ort. {{ number_format($company->getCompanyAverageIncome(), 0, ',', '.') }}₺
@endif @if ($company->getCompanyAveragePaid() > 0)
Aylık ödeme ort. {{ number_format($company->getCompanyAveragePaid(), 0, ',', '.') }}₺
@endif
{{-- AI UYARI AYARLARI --}}
{{-- BİLGİLENDİRMELER --}} @if ($last_paid > 0 || $last_invoice > 0)

@if ($last_paid > 0) Son tahsilat üzerinden geçen süre {{ $last_paid }} gün. @endif @if ($last_invoice > 0) Son fiş/fatura üzerinden geçen süre {{ $last_invoice }} gün. @endif

{{--

Popover title

And here's some amazing content. It's very engaging. Right?

--}}
@endif
{{-- FATURA & FİŞLER --}}

receipt_long Fatura & Fişler

@else İşletmeye ait belge bulunmuyor. @endif
{{-- SAĞ PANEL --}}
{{-- OTOMATİK EPOSTA --}} {{--

mail Otomatik E-posta

update
30 gün
İşletmenin bakiyesi varsa ve son tahsilatın üzerinden 30 gün geçmiş ise otomatik bakiye hatırlatma epostası gönderiliyor.
--}} {{-- ADRESLER --}}

pin_drop Adresler

    @forelse($company->addresses as $address)
  • {{ $address->title }}

    {{ $address->line_1 }} {{ $address->line_2 }}

    {{ $address->district }}{{ $address->city != '' ? '/' . $address->city : '' }}{{ $address->country != '' ? '/' . $address->country : '' }}{{ $address->zip != '' ? ' - PK.' . $address->zip : '' }}

    {{ $address->tax_office != '' ? 'VD.' . $address->tax_office : '' }}{{ $address->vat_number != '' ? ' - VN.' . $address->vat_number : '' }}

    {{ $address->email != '' ? $address->email : '' }} {{ $address->phone != '' ? $address->phone : '' }}

  • @empty İşletmeye fatura oluşturmak için fatura adresi eklemelisiniz. @endforelse
{{-- KİŞİLER --}}

badge Kişiler

    @forelse($company->people as $person)
  • {{ $person->full_name }}
    DÜZENLE
    @if ($person->job_title || $person->department)

    {{ trim($person->job_title ?? '') }}{{ $person->job_title && $person->department ? ' / ' : '' }}{{ trim($person->department ?? '') }}

    @endif @if ($person->phone || $person->email)

    {{ $person->phone ?? '' }} {{ $person->email ?? '' }}

    @endif
  • @empty İşletmeye ait kişi bulunmuyor. @endforelse
person_add KİŞİ EKLE
{{-- NOTLAR --}}

sticky_note_2 Notlar

    @forelse($notes as $note)
  • {{ $note->title }}
    NT{{ $note->id }}
    @foreach(explode("\n", e(strip_tags($note->content))) as $line)
    {!! trim($line) !== '' ? $line : ' ' !!} @if (trim($line) !== '') content_copy @endif
    @endforeach

    #{{ $note->user->name }} - {{ $note->created_at->diffForHumans() }}

  • @empty Henüz not eklemediniz. @endforelse
{{-- AKTİVİTELER --}}

bolt İşlem Geçmişi

    @foreach ($company_activities as $index => $activity) @if ($activity->type == 'new' || 'update' || 'note')
  • @if (!$loop->last)
    @endif

    {{ $activity->user->name }}
    {{ $activity->content }}

  • @elseif($activity->type == 'action')
  • @if (!$loop->last)
    @endif
    {{ $activity->user->name }} {{ $activity->content }}

    {{ $activity->content }}

    #{{ $activity->company->name }}

  • @elseif($activity->type == 'income')
  • @if (!$loop->last)
    @endif

    {{ $activity->company->name }} {{ $activity->content }}

  • @endif @endforeach
@endsection @section('scripts') @endsection