2022-01-18 13:04:08 +03:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Local variables.
|
2023-11-29 12:24:09 +03:00
|
|
|
*
|
2022-01-18 13:04:08 +03:00
|
|
|
* @var string $display_first_name
|
|
|
|
* @var string $require_first_name
|
|
|
|
* @var string $display_last_name
|
|
|
|
* @var string $require_last_name
|
|
|
|
* @var string $display_email
|
|
|
|
* @var string $require_email
|
|
|
|
* @var string $display_phone_number
|
|
|
|
* @var string $require_phone_number
|
|
|
|
* @var string $display_address
|
|
|
|
* @var string $require_address
|
|
|
|
* @var string $display_city
|
|
|
|
* @var string $require_city
|
|
|
|
* @var string $display_zip_code
|
|
|
|
* @var string $require_zip_code
|
|
|
|
* @var string $display_notes
|
|
|
|
* @var string $require_notes
|
|
|
|
*/
|
|
|
|
?>
|
|
|
|
|
2021-11-12 10:38:20 +03:00
|
|
|
<div id="wizard-frame-3" class="wizard-frame" style="display:none;">
|
|
|
|
<div class="frame-container">
|
|
|
|
|
|
|
|
<h2 class="frame-title"><?= lang('customer_information') ?></h2>
|
|
|
|
|
|
|
|
<div class="row frame-content">
|
2023-05-04 12:52:25 +03:00
|
|
|
<div class="col-12 col-md-6 field-col mx-auto">
|
2022-01-18 13:04:08 +03:00
|
|
|
<?php if ($display_first_name): ?>
|
2021-12-20 11:38:37 +03:00
|
|
|
<div class="mb-3">
|
|
|
|
<label for="first-name" class="form-label">
|
|
|
|
<?= lang('first_name') ?>
|
2022-01-18 13:04:08 +03:00
|
|
|
<?php if ($require_first_name): ?>
|
2021-12-20 11:38:37 +03:00
|
|
|
<span class="text-danger">*</span>
|
2023-11-29 12:24:09 +03:00
|
|
|
<?php endif; ?>
|
2021-12-20 11:38:37 +03:00
|
|
|
</label>
|
|
|
|
<input type="text" id="first-name"
|
2022-01-18 13:04:08 +03:00
|
|
|
class="<?= $require_first_name ? 'required' : '' ?> form-control" maxlength="100"/>
|
2021-12-20 11:38:37 +03:00
|
|
|
</div>
|
2023-11-29 12:24:09 +03:00
|
|
|
<?php endif; ?>
|
|
|
|
|
2022-01-18 13:04:08 +03:00
|
|
|
<?php if ($display_last_name): ?>
|
2021-12-20 11:38:37 +03:00
|
|
|
<div class="mb-3">
|
|
|
|
<label for="last-name" class="form-label">
|
|
|
|
<?= lang('last_name') ?>
|
2022-01-18 13:04:08 +03:00
|
|
|
<?php if ($require_last_name): ?>
|
2021-12-20 11:38:37 +03:00
|
|
|
<span class="text-danger">*</span>
|
2023-11-29 12:24:09 +03:00
|
|
|
<?php endif; ?>
|
2021-12-20 11:38:37 +03:00
|
|
|
</label>
|
|
|
|
<input type="text" id="last-name"
|
2022-01-18 13:04:08 +03:00
|
|
|
class="<?= $require_last_name ? 'required' : '' ?> form-control" maxlength="120"/>
|
2021-12-20 11:38:37 +03:00
|
|
|
</div>
|
2023-11-29 12:24:09 +03:00
|
|
|
<?php endif; ?>
|
|
|
|
|
2022-01-18 13:04:08 +03:00
|
|
|
<?php if ($display_email): ?>
|
2021-12-20 11:38:37 +03:00
|
|
|
<div class="mb-3">
|
|
|
|
<label for="email" class="form-label">
|
|
|
|
<?= lang('email') ?>
|
2022-01-18 13:04:08 +03:00
|
|
|
<?php if ($require_email): ?>
|
2021-12-20 11:38:37 +03:00
|
|
|
<span class="text-danger">*</span>
|
2023-11-29 12:24:09 +03:00
|
|
|
<?php endif; ?>
|
2021-12-20 11:38:37 +03:00
|
|
|
</label>
|
|
|
|
<input type="text" id="email"
|
2022-01-18 13:04:08 +03:00
|
|
|
class="<?= $require_email ? 'required' : '' ?> form-control" maxlength="120"/>
|
2021-12-20 11:38:37 +03:00
|
|
|
</div>
|
2023-11-29 12:24:09 +03:00
|
|
|
<?php endif; ?>
|
|
|
|
|
2022-01-18 13:04:08 +03:00
|
|
|
<?php if ($display_phone_number): ?>
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
|
|
|
<label for="phone-number" class="form-label">
|
2021-11-12 10:38:20 +03:00
|
|
|
<?= lang('phone_number') ?>
|
2022-01-18 13:04:08 +03:00
|
|
|
<?php if ($require_phone_number): ?>
|
2021-12-20 11:38:37 +03:00
|
|
|
<span class="text-danger">*</span>
|
2023-11-29 12:24:09 +03:00
|
|
|
<?php endif; ?>
|
2021-11-12 10:38:20 +03:00
|
|
|
</label>
|
|
|
|
<input type="text" id="phone-number" maxlength="60"
|
2022-01-18 13:04:08 +03:00
|
|
|
class="<?= $require_phone_number ? 'required' : '' ?> form-control"/>
|
2021-11-12 10:38:20 +03:00
|
|
|
</div>
|
2023-11-29 12:24:09 +03:00
|
|
|
<?php endif; ?>
|
2021-11-12 10:38:20 +03:00
|
|
|
</div>
|
|
|
|
|
2023-05-04 12:52:25 +03:00
|
|
|
<div class="col-12 col-md-6 field-col mx-auto">
|
2023-11-29 12:24:09 +03:00
|
|
|
<?php if ($display_address): ?>
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
|
|
|
<label for="address" class="form-label">
|
2021-11-12 10:38:20 +03:00
|
|
|
<?= lang('address') ?>
|
2022-01-18 13:04:08 +03:00
|
|
|
<?php if ($require_address): ?>
|
2021-12-20 11:38:37 +03:00
|
|
|
<span class="text-danger">*</span>
|
2023-11-29 12:24:09 +03:00
|
|
|
<?php endif; ?>
|
2021-11-12 10:38:20 +03:00
|
|
|
</label>
|
2023-11-29 12:24:09 +03:00
|
|
|
<input type="text" id="address" class="<?= $require_address ? 'required' : '' ?> form-control"
|
|
|
|
maxlength="120"/>
|
2021-11-12 10:38:20 +03:00
|
|
|
</div>
|
2023-11-29 12:24:09 +03:00
|
|
|
<?php endif; ?>
|
2022-01-18 13:04:08 +03:00
|
|
|
<?php if ($display_city): ?>
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
|
|
|
<label for="city" class="form-label">
|
2021-11-12 10:38:20 +03:00
|
|
|
<?= lang('city') ?>
|
2022-01-18 13:04:08 +03:00
|
|
|
<?php if ($require_city): ?>
|
2021-12-20 11:38:37 +03:00
|
|
|
<span class="text-danger">*</span>
|
2023-11-29 12:24:09 +03:00
|
|
|
<?php endif; ?>
|
2021-11-12 10:38:20 +03:00
|
|
|
</label>
|
2023-11-29 12:24:09 +03:00
|
|
|
<input type="text" id="city" class="<?= $require_city ? 'required' : '' ?> form-control"
|
|
|
|
maxlength="120"/>
|
2021-11-12 10:38:20 +03:00
|
|
|
</div>
|
2023-11-29 12:24:09 +03:00
|
|
|
<?php endif; ?>
|
2022-01-18 13:04:08 +03:00
|
|
|
<?php if ($display_zip_code): ?>
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
|
|
|
<label for="zip-code" class="form-label">
|
2021-11-12 10:38:20 +03:00
|
|
|
<?= lang('zip_code') ?>
|
2022-01-18 13:04:08 +03:00
|
|
|
<?php if ($require_zip_code): ?>
|
2021-12-20 11:38:37 +03:00
|
|
|
<span class="text-danger">*</span>
|
2023-11-29 12:24:09 +03:00
|
|
|
<?php endif; ?>
|
2021-11-12 10:38:20 +03:00
|
|
|
</label>
|
2023-11-29 12:24:09 +03:00
|
|
|
<input type="text" id="zip-code" class="<?= $require_zip_code ? 'required' : '' ?> form-control"
|
|
|
|
maxlength="120"/>
|
2021-11-12 10:38:20 +03:00
|
|
|
</div>
|
2023-11-29 12:24:09 +03:00
|
|
|
<?php endif; ?>
|
2022-01-18 13:04:08 +03:00
|
|
|
<?php if ($display_notes): ?>
|
2021-11-23 11:53:10 +03:00
|
|
|
<div class="mb-3">
|
|
|
|
<label for="notes" class="form-label">
|
2021-11-12 10:38:20 +03:00
|
|
|
<?= lang('notes') ?>
|
2022-01-18 13:04:08 +03:00
|
|
|
<?php if ($require_notes): ?>
|
2021-12-20 11:38:37 +03:00
|
|
|
<span class="text-danger">*</span>
|
2023-11-29 12:24:09 +03:00
|
|
|
<?php endif; ?>
|
2021-11-12 10:38:20 +03:00
|
|
|
</label>
|
2023-11-29 12:24:09 +03:00
|
|
|
<textarea id="notes" maxlength="500"
|
|
|
|
class="<?= $require_notes ? 'required' : '' ?> form-control" rows="1"></textarea>
|
2021-11-12 10:38:20 +03:00
|
|
|
</div>
|
2023-11-29 12:24:09 +03:00
|
|
|
<?php endif; ?>
|
2021-11-12 10:38:20 +03:00
|
|
|
</div>
|
2023-12-11 11:54:29 +03:00
|
|
|
|
|
|
|
<div class="mb-3">
|
|
|
|
<?php component('custom_fields'); ?>
|
|
|
|
</div>
|
2021-11-12 10:38:20 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="command-buttons">
|
|
|
|
<button type="button" id="button-back-3" class="btn button-back btn-outline-secondary"
|
|
|
|
data-step_index="3">
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-chevron-left me-2"></i>
|
2021-11-12 10:38:20 +03:00
|
|
|
<?= lang('back') ?>
|
|
|
|
</button>
|
|
|
|
<button type="button" id="button-next-3" class="btn button-next btn-dark"
|
|
|
|
data-step_index="3">
|
|
|
|
<?= lang('next') ?>
|
2021-11-23 10:41:37 +03:00
|
|
|
<i class="fas fa-chevron-right ms-2"></i>
|
2021-11-12 10:38:20 +03:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|