<?php defined('BASEPATH') or exit('No direct script access allowed'); ?>
<h4 class="no-mtop">
    <?= _l('gdpr_right_of_access'); ?>/<?= _l('gdpr_right_to_rectification'); ?>
    <small>
        <a href="https://ico.org.uk/for-organisations/guide-to-the-general-data-protection-regulation-gdpr/individual-rights/right-of-access/"
            target="_blank"><?= _l('learn_more'); ?></a>
    </small>
</h4>
<hr class="hr-panel-separator" />
<h4 class="bold">Contacts</h4>
<hr class="hr-panel-separator" />
<p>
    The customers area gives your customers access to login and view their personal information. Also the customers area
    provide with access to update their personal information like first name, last name, email address, phone etc...
</p>
<p>Below you can find <b>additional options</b> you may want to allow the contacts to modify.</p>
<hr class="hr-panel-separator" />
<p class="font-medium">Profile/Contact</p>
<?php render_yes_no_option('allow_primary_contact_to_view_edit_billing_and_shipping', 'allow_primary_contact_to_view_edit_billing_and_shipping'); ?>
<small>Updating billing and shipping details from customers area won't affect already created invoices, estimates,
    credit notes.</small></p>
<hr />
<?php render_yes_no_option('allow_contact_to_delete_files', 'allow_contact_to_delete_files'); ?>
<hr class="hr-panel-separator" />
<h4 class="bold" id="access_leads">Leads</h4>
<hr class="hr-panel-separator" />
<?php render_yes_no_option('gdpr_enable_lead_public_form', 'Enable public form for leads', 'The leads you add in the system will have unique URL to view their information you store for them and they will be able to update the information when they access the URL.'); ?>
<hr />
<?php render_yes_no_option('gdpr_show_lead_custom_fields_on_public_form', 'Show lead custom fields on public form'); ?>
<hr />
<?php render_yes_no_option('gdpr_lead_attachments_on_public_form', 'Show lead attachments on public form and allow attachments to removed by the lead'); ?>