{% extends 'base.html.twig' %} {% block javascripts %} {{ parent() }} {{ encore_entry_script_tags('admin') }} {% endblock %} {% block title %}{{ company.companyname }} claims{% endblock %} {% block body %}

Claim by {{ claim.name }}

{% set source_text = company.companyname %} {% set target_text = claim.companyName %} {% set match = similar_text(source_text, target_text) %} {% set source_text = company.user.firstname %} {% set target_text = claim.name %} {% set match = similar_text(source_text, target_text) %} {% set source_text = company.user.surname %} {% set target_text = claim.surname %} {% set match = similar_text(source_text, target_text) %} {% set source_text = company.emailaddress %} {% set target_text = claim.email %} {% set match = similar_text(source_text, target_text) %}
Our data Claim data Similarity
Company name {{ source_text }} {{ target_text }} {{ match }} %
First name {{ source_text }} {{ target_text }} {{ match }} %
Surname {{ source_text }} {{ target_text }} {{ match }} %
Email {{ source_text }} {{ target_text }} {{ match }} %
Proof of ownership document {% if is_image(claim.proofOfOwnership) %} ownership doc image {% else %} Open document {% endif %}
Reject Send a rejection email and ask for more details.
Approve
Delete other claims and approve this one.
{% if claim.companyAction == 'I want this company profile deleted' %}
This company, user and its adverts will be deleted forever.
{% else %} Upon approval current user will be replaced with the provided details and an email will be sent to the user for login. {% endif %}
{% endblock %}