monica/data/framework/views/bcc75578bc61382873dbba4d6a4515fa8c12590b.php
2020-10-07 10:38:13 -07:00

52 lines
2.4 KiB
PHP

<?php if($modules->contains('key', 'love_relationships')): ?>
<div class="ba b--near-white br2 bg-gray-monica pa3 mb3 f6">
<div class="w-100 dt">
<div class="dtc">
<h3 class="f6 ttu normal"><?php echo e(trans('app.relationship_type_group_love')); ?></h3>
</div>
</div>
<?php echo $__env->make('people.relationship._relationship', ['relationships' => $loveRelationships], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<p class="mb0">
<a href="<?php echo e(route('people.relationships.create', $contact)); ?>?type=<?php echo e($contact->account->getRelationshipTypeByType('partner')->id); ?>"><?php echo e(trans('app.add')); ?></a>
</p>
</div>
<?php endif; ?>
<?php if($modules->contains('key', 'family_relationships')): ?>
<div class="ba b--near-white br2 bg-gray-monica pa3 mb3 f6">
<div class="w-100 dt">
<div class="dtc">
<h3 class="f6 ttu normal"><?php echo e(trans('app.relationship_type_group_family')); ?></h3>
</div>
</div>
<?php echo $__env->make('people.relationship._relationship', ['relationships' => $familyRelationships], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<p class="mb0">
<a href="<?php echo e(route('people.relationships.create', $contact)); ?>?type=<?php echo e($contact->account->getRelationshipTypeByType('child')->id); ?>"><?php echo e(trans('app.add')); ?></a>
</p>
</div>
<?php endif; ?>
<?php if($modules->contains('key', 'other_relationships')): ?>
<div class="ba b--near-white br2 bg-gray-monica pa3 mb3 f6">
<div class="w-100 dt">
<div class="dtc">
<h3 class="f6 ttu normal"><?php echo e(trans('app.relationship_type_group_other')); ?></h3>
</div>
</div>
<?php echo $__env->make('people.relationship._relationship', ['relationships' => $friendRelationships], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php echo $__env->make('people.relationship._relationship', ['relationships' => $workRelationships], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<p class="mb0">
<a href="<?php echo e(route('people.relationships.create', $contact)); ?>?type=<?php echo e($contact->account->getRelationshipTypeByType('friend')->id); ?>"><?php echo e(trans('app.add')); ?></a>
</p>
</div>
<?php endif; ?>
<?php /**PATH /var/www/html/resources/views/people/relationship/index.blade.php ENDPATH**/ ?>