Skip to content

Commit

Permalink
Move the custom fields to the second customer column for better layou…
Browse files Browse the repository at this point in the history
…t structure in booking and calendar page
  • Loading branch information
alextselegidis committed Jul 1, 2024
1 parent 2a41f27 commit f15d787
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
8 changes: 4 additions & 4 deletions application/views/components/appointments_modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,10 @@ class="<?= $require_phone_number ? 'required' : '' ?> form-control"/>
<?php endforeach; ?>
</select>
</div>

<?php component('custom_fields'); ?>

<?php slot('after_primary_customer_custom_fields'); ?>
</div>
<div class="col-12 col-sm-6">
<div class="mb-3">
Expand Down Expand Up @@ -346,10 +350,6 @@ class="<?= $require_notes ? 'required' : '' ?> form-control"></textarea>

<?php slot('after_primary_customer_fields'); ?>
</div>

<div class="mb-3">
<?php component('custom_fields'); ?>
</div>
</div>
</fieldset>

Expand Down
10 changes: 4 additions & 6 deletions application/views/components/booking_info_step.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ class="<?= $require_phone_number ? 'required' : '' ?> form-control"/>
<?php endif; ?>

<?php slot('info_first_column'); ?>

<?php component('custom_fields'); ?>

<?php slot('after_custom_fields'); ?>
</div>

<div class="col-12 col-md-6 field-col mx-auto">
Expand Down Expand Up @@ -134,14 +138,8 @@ class="<?= $require_notes ? 'required' : '' ?> form-control" rows="1"></textarea
<?php endif; ?>

<?php slot('info_second_column'); ?>

</div>

<div class="mb-3">
<?php component('custom_fields'); ?>

<?php slot('after_custom_fields'); ?>
</div>
</div>
</div>

Expand Down

0 comments on commit f15d787

Please sign in to comment.