@extends('layouts.index')
@section('css-part')
<link rel="stylesheet" href="{{ asset('assets/css/general.panel.css') }}">
<style>
    .step-table {
        border: 1px solid #000000;
        width: 100%;
    }

    .step-table th {
        padding: 5px 8px;
        background-color: #5560ad;
        border: 1px solid #000000;
        color: #ffffff;
        text-align: center;
    }

    .step-table td {
        padding: 5px 8px;
        border: 1px solid #000000;
        text-align: center;
    }
</style>
@endsection
@section('js-part')
<script src="{{ asset('assets/js/city.js') }}"></script>
<script src="{{ asset('assets/js/general.panel.js') }}"></script>
<script src="{{asset('assets/js/edit.contractor.js')}}"></script>
@endsection
@section('panel')
@include('layouts.header.header')
@include('layouts.nav.nav')
@endsection
@section('container')
<div class="container">
    <h2 class=" text-center mt-3">ثبت تحویل </h2>
    @include('layouts.notification.error')
    @include('layouts.notification.success')
    @include('Distributor.info.table')
    @include('Distributor.info.step')


    <form action="{{route('distributor.post.accept')}}" method="post" class="mt-3 mb-5" id="EditForm">
    {{csrf_field()}}
    <input type="hidden" name="requestId" value="{{$RequestInfo->id}}">
    
    <div class="d-flex justify-content-between mt-3">
        <strong class="mb-2">آیا گل را بین سرتیم ها توزیع کردید؟</strong>
        <div class="form-group d-flex align-items-end">
            <button type="submit" class="btn btn-success" id="SubmitFormBtn">توزیع کردم</button>
        </div>
    </div>
</form>

</div>
@endsection