Skip to content

Commit

Permalink
Update inspectionview.php
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlosb committed Jun 28, 2024
1 parent 2e64e2d commit 956b803
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions application/views/inspectionview.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,16 @@
<p class="inspfile"><a href="<?= base_url()?>assets/pdfs/<?= $inspection->filename_inspection ?>" target="_blank"><i class="fal fa-file-pdf"></i> <?= $this->lang->line('inspection_report'); ?> (<?= $this->lang->line('greeklang'); ?>)</a></p>
<?php } ?>
</div><div class="col-sm-6 pb-1 text-center text-sm-left">
<?php if (isset($inspection->datesend_inspection) && $inspection->datesend_inspection !=NULL) {

<a class = "btn btn-primary emailsend" href="<?=base_url()?>inspection/emailsend/<?= $inspection->id_inspection?>">Αποστολή με email</a>


</div>
<div class="col-sm-12"><?php if (isset($inspection->datesend_inspection) && $inspection->datesend_inspection !=NULL) {
echo "<small>Η επιθεώρηση έχει σταλεί με email στις ".date("d-m-Y", strtotime($inspection->datesend_inspection))."</small>";
} ?>
<a class = "btn btn-primary emailsend" href="<?=base_url()?>inspection/emailsend/<?= $inspection->id_inspection?>">Αποστολή με email</a></div></div>
} ?></div>

</div>
<div class="row">
<?php if ($inspection->en_filename_inspection != NULL) {?>
<div class="col-sm-6 p-1 text-center text-sm-left">
Expand Down

0 comments on commit 956b803

Please sign in to comment.