@extends('panel.index')
@section('icerik')
    <style>
        .mw200 { max-width: 200px;}
    </style>
    <div class="pagetitle">
        <h1>Transfer Talepleri</h1>
        <nav>
            <ol class="breadcrumb">
                <li class="breadcrumb-item"><a href="/">Site</a></li>
                <li class="breadcrumb-item active">Transfer Talepleri</li>
            </ol>
        </nav>
    </div><!-- End Page Title -->


    <section class="section dashboard">
        <div class="col-12">
            <div class="card">



                <div class="card-body">
                    <h5 class="card-title">Talepler <span></span></h5>


                    <table class="table table-hover">
                        <tr class="fw-bold">
                            <td>Tur Sip No</td>
                            <td>Tur</td>
                            <td >Tarih</td>
                            <td>Müşteri</td>
                            <td>Yetişkin</td>
                            <td>B.Çocuk</td>
                            <td>K.Çocuk</td>
                            <td>Bebek</td>


                            <td>Gösterilen</td>

                            <td>Durum</td>

                            <td>Sil</td>
                        </tr>

                        @foreach($tur as $item)
                            <tr>
                                <td>{{ $item->tursip_id }}</td>

                                <td>{{$item->baslik}}</td>
                                <td>{{ $item->name }}</td>
                                <td>{{ $item->turtarih }}</td>
                                <td>{{ $item->yetiskin }}</td>
                                <td>{{ $item->bcocuk }}</td>
                                <td>{{ $item->kcocuk }}</td>
                                <td>{{ $item->bebek }}</td>
                                <td>{{ $item->gosterilen }}</td>

                                <td>{{ $item->durum }}</td>

                                <td><div onclick="silmi('/admin/turtalepiptal?id={{ $item->tursip_id }}')" class="btn btn-sm btn-danger"><i class="bi-trash bi"></i> İptal Et</div></td>


                            </tr>
                        @endforeach
                    </table>


                </div>

            </div>
        </div>
    </section>

@endsection
@section('title','Transfer Talepleri')
