



@extends('layouts.master')

@section('title','Edit Transaction Payment Date')

@section('content')
<style>
    .md-5{
        margin-bottom:10px;
    }
</style>
 <div class="content-wrapper">
      <!-- Content Header (Page header) -->
      <section class="content-header">
        <div class="container-fluid">
          <div class="row mb-2">
            <div class="col-sm-6">
              <h1>Edit Transaction Payment Date</h1>
            </div>
            <div class="col-sm-6">
              <ol class="breadcrumb float-sm-right">
                <li class="breadcrumb-item"><a href="#">Home</a></li>
                <li class="breadcrumb-item active">Edit Transaction Payment Date</li>
              </ol>
            </div>
          </div>
        </div><!-- /.container-fluid -->
      </section>

      <!-- Main content -->
      <section class="content">
        <div class="container-fluid">
        <div class="card card-primary">
            @if(session()->has('success'))
            <div class="alert alert-success">
                {{ session()->get('success') }}
            </div>
        @endif
           <form action="{{url('update_date/'.$data->id)}}" method="post" encytype="multipart/form-data">
               @csrf
              <div class="card-body row pb-0">
                
                      <div class="col-md-4">
                                                <div class="form-group">
                                                    <label for="exampleInputEmail1">Date</label>
                                                    <input type="date" class="form-control" name="transaction_date" placeholder="Date" required="" value="{{$data->payment_date}}">
                                                  </div>
                                            </div>
    
                 
            
              </div>
              <div class="card-footer">
                <button class="btn btn-primary" type="submit">Submit</button>
         
              </div>
      </form>
          </div>
        
        </div>
        <!-- /.container-fluid -->
 
      </section>
      <!-- /.content -->
    </div>



@endsection
