@extends('layouts.master') @section('title', 'İşletme Listesi') @section('content')
@include('imepages.menu')
@if(Auth::user()->kim==1)

@if(Auth::user()->kim==0) Adınıza @else Kurumunuza @endif kayıtlı yüklenen @if ($isletmes->count() > 0) {{ $isletmes->count() }} adet işletme bulundu @else işletme bulunamadı @endif

@elseif(Auth::user()->kim==0)

@if(Auth::user()->kim==0) Adınıza @else Kurumunuza @endif kayıtlı yüklenen @if ($isletmes->count() > 0) {{ $isletmes->count() }} adet işletme bulundu @else işletme bulunamadı @endif

@endif
@if ($isletmes->count() == 0)
Yüklenilen işletme bulunmamaktadır
@else
@if(Auth::user()->kim==1) @endif @php($sira = 0) @php($gun="") @foreach ($isletmes as $dekont) @if (Carbon\Carbon::parse($dekont->created_at)->format('l') == 'Monday') @php($gun = 'Pazartesi') @elseif(Carbon\Carbon::parse($dekont->created_at)->format('l') == 'Tuesday') @php($gun = 'Salı') @elseif(Carbon\Carbon::parse($dekont->created_at)->format('l') == 'Wednesday') @php($gun = 'Çarşamba') @elseif(Carbon\Carbon::parse($dekont->created_at)->format('l') == 'Thursday') @php($gun = 'Perşembe') @elseif(Carbon\Carbon::parse($dekont->created_at)->format('l') == 'Friday') @php($gun = 'Cuma') @elseif(Carbon\Carbon::parse($dekont->created_at)->format('l') == 'Saturday') @php($gun = 'Cumartesi') @elseif(Carbon\Carbon::parse($dekont->created_at)->format('l') == 'Sunday') @php($gun = 'Pazar') @endif @php($sira++) @if(Auth::user()->kim==1) @endif @endforeach
Sıra No İşlemler İşletme Adı İşletme Yetkili Telefon E-Posta SGK Sicil No Vergi No IBAN Adres ÖğrencilerKoordinatör
{{ $sira }} @if(Auth::user()->kim==1) @endif {{$dekont->iname}} {{$dekont->yname}} {{$dekont->tel}} {{$dekont->mail}} {{$dekont->sgk}} {{$dekont->vergi}} {{$dekont->iban}} {{$dekont->adres}} @if(Auth::user()->kim==1) @if($dekont->getIsletmeOgrenci->count()>0) @php($s=1) @foreach ($dekont->getIsletmeOgrenci->where('ogrt_id','!=','0') as $ogr ) @if($ogr->getOgrenci!=null) {{$ogr->getOgrenci->no}}- {{$ogr->getOgrenci->name ?? ''}} @endif
@php($s++) @endforeach @endif @else @php($s=1) @foreach ($ogrencis as $ogrenci) @if($ogrenci->isletme_id==$dekont->isletme_id) {{$s}}- {{$ogrenci->name ?? '---'}}
@php($s++) @endif @endforeach @endif
@if($dekont->getIsletmeOgrenci->count()>0) @php($s=1) @foreach ($dekont->getIsletmeOgrenci->unique('ogrt_id') as $ogr ) @if($ogr->getOgretmen) {{$s}}- {{$ogr->getOgretmen->name ?? ''}}
@php($s++) @endif @endforeach @endif
@endif
@include('imepages.isletmemodal') @endsection @section('js') @include('layouts.table') @endsection @section('css') @endsection