File: /var/www/plan-b.bradford/storage/framework/views/c16b1f49b7fc028d01610d1cf2cd65af7d9a455c.php
<div class="row text-right pr-2 refund">
<div class="col-sm-10"></div>
<div class="col-sm-2">
<button class="btn btn-primary" id="btn-add-service" type="button">
<i class="fa fa-refresh"></i> Generar Conceptos
</button>
</div>
</div>
<div class="card-body table-responsive" id="tables-container">
<?php $__currentLoopData = $payment_concepts_data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $payment_concept => $contract_details): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<h6><b><?php echo e($payment_concept); ?></b></h6>
<table
class="border table align-items-center table-flush table-bordered text-center table-striped text-nowrap font-14"
cellspacing="0" width="100%">
<thead class="bg-primary">
<tr>
<th scope="col" class="sort text-center text-white">
ÍTEM DE CARGO
</th>
<th scope="col" class="sort text-center text-white" style="width: 20%;">
MONTO
</th>
<th scope="col" class="sort text-center text-white" style="width: 15%;">
TIPO
</th>
<th scope="col" class="sort text-center text-white" style="width: 10%;">
SEL.
</th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $contract_details['details']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $detail): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr id="tr_<?php echo e($detail->id); ?>">
<td>
<?php echo e(!empty($detail->description) ? $detail->description : 'Sin información'); ?>
</td>
<td>
<?php
$symbol = $detail->currency_symbol;
$position_symbol = $detail->position_symbol;
$price = $detail->currency_symbol == '$' ? ($detail->price > 0 ? format_money($detail->price) : '$0') : $detail->price;
$price_text = $price;
if ($symbol != '$') {
if ($position_symbol == 'SHOW_LEFT') {
$price_text = $symbol . str_replace($symbol, $symbol, $price);
} else {
$price_text = str_replace($symbol, $symbol, $price) . ' ' . $symbol;
}
}
?>
<?php echo e(!empty($price_text) ? $price_text : '$0'); ?>
</td>
<td>
<?php echo e($detail->required_element ? 'Obligatorio' : 'Opcional'); ?>
</td>
<td>
<input type="checkbox" class="chk" data-required="<?php echo e($detail->required_element ? '1' : '0'); ?>" <?php echo e($detail->required_element || $detail->selected_element ? 'checked' : ''); ?> name="contract_detail[]" value="<?php echo e($detail->id); ?>">
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
<?php /**PATH /var/www/plan-b.bradford/resources/views/admin/contracts/sections_contract_edit/payment_concepts_contract.blade.php ENDPATH**/ ?>