<!-- Id Field -->
<dt>{!! Form::label('id', 'Id:') !!}</dt>
<dd>{!! $payment->id !!}</dd>

<!-- Comments Field -->
<dt>{!! Form::label('comments', 'Comments:') !!}</dt>
<dd>{!! $payment->comments !!}</dd>

<!-- Image Field -->


@if(isset($payment->image_url))
    <!-- How Thumbnail Field -->
    <dt>{!! Form::label('image', 'Payment ScreenShot:') !!}</dt>
    @if(isset($payment->image_url))
        <dd><img id="myImg" style="width:100%;max-width:300px" src="{{$payment->image_url}}" alt="">
        </dd>
    @endif
    <br>
@endif

<!-- Price Field -->
<dt>{!! Form::label('price', 'Price:') !!}</dt>
<dd>{!! $payment->price !!} {!! $payment->currency !!} </dd>


<!--<dt>{!! Form::label('invoices', 'invoices Available:') !!}</dt>///-->
<dd>
    @foreach($payment->invoices as $invoice)
        {{--{!! $invoice->id !!}--}}
        <a href="{{route('admin.invoices.show', $invoice->id)}}"
           target="_blank"
           style="color: black; font-weight: bold;">Code:{{$invoice->id}}---({{$invoice->amount}}{{$invoice->currency}}
            )</a>

    @endforeach

<!--</dd>-->
<dt>{!! Form::label('lead_id', 'Lead Id:') !!}</dt>
<dd>
  <a href="{{route('admin.leads.show', $payment->lead_id )}}"
           target="_blank"
           style="color: black; font-weight: bold;">Code:{{$payment->lead_id}}---({{$payment->amount}}{{$payment->currency}}
            )</a>
            </dd>

<!-- Status Field -->
<dt>{!! Form::label('status', 'Status:') !!}</dt>
@if($payment->status == 0)
    <dd><span class='label label-info'>Unpaid</span></dd>
@else
    <dd><span class='label label-Success'>Paid</span></dd>
@endif

<!-- Created At Field -->
<dt>{!! Form::label('price', 'Price:') !!}</dt>
<dd>{!! $payment->price !!}</dd>

<!-- Created At Field -->
<dt>{!! Form::label('website_id', 'Website :') !!}</dt>

<dd>
  <a href="{{route('admin.websites.show', $payment->website_id )}}"
           target="_blank"
           style="color: black; font-weight: bold;">Web Code:{!! $payment->website_id !!}
            )</a>
</dd>

<!-- Created At Field -->
<dt>{!! Form::label('created_at', 'Created At:') !!}</dt>
<dd>{!! $payment->created_at !!}</dd>



<!-- Updated At Field -->
<dt>{!! Form::label('updated_at', 'Updated At:') !!}</dt>
<dd>{!! $payment->updated_at !!}</dd>

{{--<!-- Deleted At Field -->--}}
{{--<dt>{!! Form::label('deleted_at', 'Deleted At:') !!}</dt>--}}
{{--<dd>{!! $payment->deleted_at !!}</dd>--}}




