HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers85/equichecker.com/resources/views/debtors/result.blade.php
@extends('equichecker.layouts.master')

@section('body')

    @include('debtors/searchFormMin')

    <div class="seperator"></div>
    <div class="seperator"></div>


    <h3 class="h3-table center">@lang('dale.results')</h3>

    <table class="table">
        <tr class="tr-head">
            <th class="result-type">@lang('dale.type')</th>
            <th class="result-name">@lang('dale.name')</th>
            <th class="result-city">@lang('dale.city')</th>
            <th class="result-country">@lang('dale.country')</th>
            <th></th>
        <tr/>

        @foreach($debtors as $debtor)

            <tr class="result-array" data-href="{!! URL::route('debtors.detail',[urlencode($debtor->hashed_debtors_code)]) !!}">
                <td class=" result-type">
                    @if($debtor->debtors_type == 1)
                        @lang('dale.company')
                    @elseif($debtor->debtors_type == 2)
                        @lang('dale.private')
                    @endif
                </td>
                <td class="company-name result-name">{!! $debtor->company_name or $debtor->last_name !!}</td>
                <td class="result-city">{!! $debtor->office_city or $debtor->private_city !!}</td>
                <td class="result-country">

                    @if($iso = \Komma::getCountryIso($debtor->office_country))
                        @lang('countries.'.$iso)
                    @elseif($iso = \Komma::getCountryIso($debtor->private_country))
                        @lang('countries.'.$iso)
                    @endif
                </td>
                <td class="result-details colorized">{!! HTML::linkRoute('debtors.detail',Lang::get('dale.details'),[urlencode($debtor->hashed_debtors_code)]) !!}</td>
            <tr/>
        @endforeach
    </table>
    <div class="seperator"></div>
    <div class="center">{!! HTML::linkRoute('customer.logout', Lang::get('dale.log_out')) !!}</div>
@stop