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 30, 2024
1 parent ee2fb40 commit 6e3f239
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions application/views/inspectionview.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,23 +150,23 @@
<div class="col-sm-6 p-1 text-center text-sm-left">
<div class="row">
<?php if ($inspection->filename_inspection != NULL) {?>
<div class="col-sm-6 pt-1 text-center text-sm-left">
<div class="col-sm-6 pt-1 text-center text-sm-left inspfile">
<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">

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

</div>
<div class="row">
<?php if ($inspection->en_filename_inspection != NULL) {?>
<div class="col-sm-6 pt-1 text-center text-sm-left">
<div class="col-sm-6 pt-1 text-center text-sm-left inspfile">
<p class="inspfile"><a href="<?= base_url()?>assets/pdfs/<?= $inspection->en_filename_inspection ?>" target="_blank"><i class="fal fa-file-pdf"></i> <?= $this->lang->line('inspection_report'); ?> (<?= $this->lang->line('englishlang'); ?>)</a></p>
<?php } ?>
</div><div class="col-sm-6 p-1 text-center text-sm-left"></div></div>
Expand Down

0 comments on commit 6e3f239

Please sign in to comment.