403Webshell
Server IP : 202.61.199.114  /  Your IP : 216.73.217.139
Web Server : nginx/1.22.1
System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
User : web20 ( 1018)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /tmp/sc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /tmp/sc/7bf8f2b33ddd423289f689f4479830ae18f16884_0.file.full.tpl.php
<?php
/* Smarty version 3.1.30, created on 2026-06-27 05:56:50
  from "/var/www/clients/client1/web17/web/includes/templates/templates/widgets/invoice/full.tpl" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_6a3f4a02bf60c1_15997328',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '7bf8f2b33ddd423289f689f4479830ae18f16884' => 
    array (
      0 => '/var/www/clients/client1/web17/web/includes/templates/templates/widgets/invoice/full.tpl',
      1 => 1781844215,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_6a3f4a02bf60c1_15997328 (Smarty_Internal_Template $_smarty_tpl) {
if (!is_callable('smarty_modifier_date_format')) require_once '/var/www/clients/client1/web17/web/includes/plugins/smarty-3.1.30/plugins/modifier.date_format.php';
?>
<div class="card overview-head rounded-0">
  <div class="p-0 rounded-0">
    <div class="row">
      <div class="col-6">
          <h4 class="m-0 px-3 py-2">
            <?php if (empty($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_no)) {?>
                Leistungsübersicht
            <?php } else { ?>
                <?php echo $_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_no;?>

                <small class="ms-2 text-secondary">
                  vom <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_date,"%d.%m.%Y");?>

                </small>
            <?php }?>
          </h4>
      </div>
      <div class="col-6 text-end col-6 text-end p-1 px-4">
        

        

        
          <div class="btn-group" role="group">
            <button id="btnGroupDrop1" type="button" class="btn btn-light dropdown-toggle shadow-none border text-primary" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
              weitere Optionen
            </button>
            <div class="dropdown-menu" aria-labelledby="btnGroupDrop1">

              <?php if ($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_status != 3 && $_smarty_tpl->tpl_vars['booking']->value->customer->customer_source != "AIDA" && $_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_payment > 0) {?>
                  <a href="<?php echo @constant('SITE_URL');?>
/file.php?token=YIz8HqUPWQ7cwcVHE57O&invoice=<?php echo $_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_id;?>
&type=inv&show=1" class="dropdown-item ps-3 pe-5 py-2 lh-100 text-secondary iframe-modal" data-size="lg" data-headline="<?php echo $_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_no;?>
.pdf" data-bs-toggle="modal" data-bs-target="#fileModal"><i class="material-icons float-start me-2" style="font-size: 16px;">attach_file</i> Rechnung öffnen</a>
                  <hr class="my-1" />
              <?php }?>

              <?php if ($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_status != 3 && $_smarty_tpl->tpl_vars['booking']->value->customer->customer_source != "AIDA") {?>
                  <button type="button" class="dropdown-item ps-3 pe-5 py-2 lh-100 admin-modal" data-bs-toggle="modal" data-bs-target="#confirmationModal" data-json="<?php echo htmlspecialchars(json_encode(array('invoice_id'=>$_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_id,'products'=>$_smarty_tpl->tpl_vars['data']->value->product($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_id,'true'))));?>
" data-template="invoice/positions.tpl" data-headline="Produkt hinzufügen"><i class="material-icons float-start me-2" style="font-size: 16px;">add</i> Produkt hinzufügen</button>

                  <?php if ($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_payment == 0) {?>
                      <button type="button" class="dropdown-item ps-3 pe-5 py-2 lh-100 admin-modal" data-bs-toggle="modal" data-bs-target="#confirmationModal" data-json="<?php echo htmlspecialchars(json_encode(array('invoice_id'=>$_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_id,'price'=>$_smarty_tpl->tpl_vars['booking']->value->invoice->full_price)));?>
" data-template="invoice/payment.tpl" data-headline="Zahlung erfassen"><i class="material-icons float-start me-2" style="font-size: 16px;">money</i> Zahlung erfassen</button>
                  <?php } else { ?>
                      <button type="button" class="dropdown-item ps-3 pe-5 py-2 lh-100 admin-modal" data-bs-toggle="modal" data-bs-target="#confirmationModal" data-json="<?php ob_start();
echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['booking']->value->invoice->payment_datum,"%Y-%m-%d");
$_prefixVariable22=ob_get_clean();
echo htmlspecialchars(json_encode(array('invoice_id'=>$_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_id,'price'=>$_smarty_tpl->tpl_vars['booking']->value->invoice->full_price,'content'=>array('payment_type'=>$_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_payment,'payment_date'=>$_prefixVariable22,'invoice_coupon'=>$_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_coupon,'payment_value'=>$_smarty_tpl->tpl_vars['booking']->value->invoice->payment_value,'payment_notice'=>$_smarty_tpl->tpl_vars['booking']->value->invoice->payment_notice))));?>
" data-template="invoice/payment.tpl" data-headline="Zahlung bearbeiten"><i class="material-icons float-start me-2" style="font-size: 16px;">money</i> Zahlung bearbeiten</button>
                  <?php }?>
                  <hr class="my-1" />
              <?php }?>

              <?php if ($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_status != 3) {?>
                  <button type="button" class="dropdown-item ps-3 pe-5 py-2 lh-100 text-danger confirmation-modal" data-bs-toggle="modal" data-bs-target="#confirmationModal" data-headline="Buchung stornieren" data-content="Sind Sie sich sicher, dass Sie die gesamte Buchung stornieren möchten?" data-json="<?php echo htmlspecialchars(json_encode((array("mysql"=>array("table"=>"pacim_invoice","where"=>"invoice_id = ".((string)$_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_id)),"content"=>array("invoice_status"=>3)))));?>
">
                    <i class="material-icons float-start me-2" style="font-size: 16px;">cancel</i>
                    Buchung stornieren
                  </button>
              <?php } else { ?>
                  <button type="button" class="dropdown-item ps-3 pe-5 py-2 lh-100 text-danger confirmation-modal" data-bs-toggle="modal" data-bs-target="#confirmationModal" data-headline="Stornierung aufheben" data-content="Soll diese Stornierung dieser Buchung wirklich [b]rückgängig gemacht werden[/b]?" data-json="<?php echo htmlspecialchars(json_encode((array("mysql"=>array("table"=>"pacim_invoice","where"=>"invoice_id = ".((string)$_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_id)),"content"=>array("invoice_status"=>0)))));?>
">
                    <i class="material-icons float-start me-2" style="font-size: 16px;">cancel</i>
                    STORNO RÜCKGÄNGIG
                  </button>
              <?php }?>

            </div>
          </div>
        

        </div>
      </div>
    </div>
</div>

<div class="card border-0">

      <div class="striped-rows">

      <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['booking']->value->products, 'product', false, 'key');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['product']->value) {
?>
          <div class="row g-0">
              <div class="col-xs-1 col-md-1">
                  <h6 class="mb-1 mt-1"><strong>Menge</strong></h6>
                  <h6 class="mb-0 pt-1"><?php echo $_smarty_tpl->tpl_vars['product']->value->invoice_pos_quantity;?>
</h6>
                  
              </div>
              <div class="ps-4 col-xs-5 col-md-5">
                  <h4 class="product-name mb-0"><strong><?php echo $_smarty_tpl->tpl_vars['product']->value->invoice_pos_title;?>
</strong></h4>
                  <?php if (in_array($_smarty_tpl->tpl_vars['product']->value->product_id,array(1,2))) {?>
                      <h5 class="mb-0"><small>Leistungszeitraum <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['booking']->value->bookings[0]->booking_begin,"%d.%m");?>
 - <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['booking']->value->bookings[0]->booking_end,"%d.%m.%Y");?>
</small></h5>
                  <?php }?>
              </div>
              <div class="col row">
                  <div class="col-xs-4 col-md-4 text-end" style="padding-top: 5px">
                      <h6 class="mb-1 mt-1"><strong>Einzelpreis</strong></h6>
                      <h6 class="my-1">
                      <?php if ($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_coupon == 2 && ($_smarty_tpl->tpl_vars['product']->value->product_id == 1 || $_smarty_tpl->tpl_vars['product']->value->product_id == 2)) {?>
                          <span class="text-muted" style="text-decoration: line-through;">
                              <?php echo number_format(($_smarty_tpl->tpl_vars['product']->value->invoice_pos_price*1.19/90*100),2,",",".");?>
 EUR<br />
                          </span>

                          <span class="text-muted">
                              <?php echo number_format(($_smarty_tpl->tpl_vars['product']->value->invoice_pos_price*1.19),2,",",".");?>
 EUR
                          </span>
                      <?php } else { ?>
                          <?php echo number_format(($_smarty_tpl->tpl_vars['product']->value->invoice_pos_price*1.19),2,",",".");?>
 EUR
                      <?php }?>
                      </h6>
                  </div>
                  <div class="col-xs-4 col-md-4 text-end" style="padding-top: 5px">
                      <h6 class="mb-1 mt-1"><strong>Gesamtpreis</strong></h6>
                      <h6 class="my-1">
                      <?php if ($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_coupon == 2 && ($_smarty_tpl->tpl_vars['product']->value->product_id == 1 || $_smarty_tpl->tpl_vars['product']->value->product_id == 2)) {?>
                          <span class="text-muted" style="text-decoration: line-through;">
                              <?php echo number_format(($_smarty_tpl->tpl_vars['product']->value->invoice_pos_price*1.19/90*100*$_smarty_tpl->tpl_vars['product']->value->invoice_pos_quantity),2,",",".");?>
 EUR<br />
                          </span>

                          <span class="text-muted">
                              <?php echo number_format(($_smarty_tpl->tpl_vars['product']->value->invoice_pos_price*1.19*$_smarty_tpl->tpl_vars['product']->value->invoice_pos_quantity),2,",",".");?>
 EUR
                          </span>
                      <?php } else { ?>
                          <?php echo number_format(($_smarty_tpl->tpl_vars['product']->value->invoice_pos_price*1.19*$_smarty_tpl->tpl_vars['product']->value->invoice_pos_quantity),2,",",".");?>
 EUR
                      <?php }?>
                      </h6>
                  </div>

                  <div class="col-xs-4 col-md-4 text-end">
                      <?php if ($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_status != 3) {?>
                          <div class="mt-1"><button class="btn btn-outline-primary admin-modal" data-bs-toggle="modal" data-bs-target="#confirmationModal" data-json="<?php echo htmlspecialchars(json_encode($_smarty_tpl->tpl_vars['product']->value));?>
" data-template="invoice/positions.tpl" data-headline="<?php echo $_smarty_tpl->tpl_vars['product']->value->invoice_pos_title;?>
 bearbeiten"><i class="material-icons">edit</i> bearbeiten</button></div>
                          <div><button type="button" class="btn btn-outline-danger confirmation-modal" data-bs-toggle="modal" data-bs-target="#confirmationModal" data-headline="Artikel von <?php if (!empty($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_no)) {?>Rechnung <?php echo $_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_no;
} else { ?> dieser Rechnung<?php }?> entfernen?" data-content="<?php if (!empty($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_no)) {?>[invoice_alert]<?php }?>Möchten Sie den Artikel [b]<?php echo $_smarty_tpl->tpl_vars['product']->value->invoice_pos_title;?>
[/b] wirklich von dieser Rechnung entfernen? Der Rechnungsbetrag mindert sich dadurch um [sub]<?php if ($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_coupon == 2 && in_array($_smarty_tpl->tpl_vars['product']->value->product_id,array(1,2))) {
echo number_format(($_smarty_tpl->tpl_vars['product']->value->invoice_pos_price*1.19*$_smarty_tpl->tpl_vars['product']->value->invoice_pos_quantity),2,",",".");
} else {
echo number_format(($_smarty_tpl->tpl_vars['product']->value->invoice_pos_price*1.19*$_smarty_tpl->tpl_vars['product']->value->invoice_pos_quantity),2,",",".");
}?> Euro[/sub] auf [calc]<?php if ($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_coupon == 2 && in_array($_smarty_tpl->tpl_vars['product']->value->product_id,array(1,2))) {
echo number_format(abs(($_smarty_tpl->tpl_vars['booking']->value->invoice->full_price-($_smarty_tpl->tpl_vars['product']->value->invoice_pos_price*1.19*$_smarty_tpl->tpl_vars['product']->value->invoice_pos_quantity))),2,",",".");
} else {
echo number_format(abs(($_smarty_tpl->tpl_vars['booking']->value->invoice->full_price-($_smarty_tpl->tpl_vars['product']->value->invoice_pos_price*1.19*$_smarty_tpl->tpl_vars['product']->value->invoice_pos_quantity))),2,",",".");
}?> EUR[/calc]." data-json="<?php echo htmlspecialchars(json_encode((array("mysql"=>array("table"=>"pacim_invoice_pos","where"=>"invoice_pos_id = ".((string)$_smarty_tpl->tpl_vars['product']->value->invoice_pos_id)),"delete"=>1))));?>
"><i class="material-icons">delete_outline</i> löschen</button></div>
                      <?php }?>
                  </div>
              </div>
          </div>
          
      <?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>


      <?php if ($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_coupon == 1) {?>

      <div class="row g-0">
          <div class="col-xs-1 col-md-1">
              <h6 class="mb-1 mt-1"><strong>Menge</strong></h6>
              <h6 class="mb-0 pt-1">1.0</h6>
              
          </div>
          <div class="ps-4 col-xs-5 col-md-5">
              <h4 class="product-name mb-0"><strong>5 Euro Rabattaktion</strong></h4>
          </div>
          <div class="col row">
              <div class="col-xs-4 col-md-4 text-end" style="padding-top: 5px">

              </div>
              <div class="col-xs-4 col-md-4 text-end" style="padding-top: 5px">
                  <h6 class="mb-1 mt-1"><strong>Gesamtpreis</strong></h6>
                  <h6 class="my-1">
                  -5,00 EUR
                  </h6>
              </div>

              <div class="col-xs-4 col-md-4 text-end">
                  <?php if ($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_status != 3 && $_smarty_tpl->tpl_vars['booking']->value->customer->customer_source != "AIDA" && empty($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_no)) {?>
                      <div class="mt-1"><button type="button" class="btn btn-outline-danger confirmation-modal" data-bs-toggle="modal" data-bs-target="#confirmationModal" data-headline="Rabatt von dieser Buchung entfernen?" data-content="<?php if (!empty($_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_no)) {?>[invoice_alert]<?php }?>Möchten Sie den bereits gewährten Rabatt wirklich von dieser Buchung entfernen? Der Gesamtbetrag erhört sich dadurch um [sub]5 Euro[/sub] auf [calc]<?php echo number_format(($_smarty_tpl->tpl_vars['booking']->value->invoice->full_price+5.00),2,",",".");?>
 EUR[/calc]." data-json="<?php echo htmlspecialchars(json_encode((array("mysql"=>array("table"=>"pacim_invoice","where"=>"invoice_id = ".((string)$_smarty_tpl->tpl_vars['booking']->value->invoice->invoice_id)),"content"=>array('invoice_coupon'=>0)))));?>
"><i class="material-icons">delete_outline</i> löschen</button></div>
                  <?php }?>
              </div>
          </div>
      </div>

      <?php }?>

      </div>
      <div class="overview-footer border-0 p-2">

          <div class="float-start">
              <h5 class="m-0">Gesamt</h5>
          </div>

          <div class="float-end invoice-full-price">
              <h4 class="fw-normal m-0">
              
                  <strong><?php echo number_format($_smarty_tpl->tpl_vars['booking']->value->invoice->full_price,2,",",".");?>
 EUR</strong>
              
              </h4>
          </div>
      </div>
  </div>
<?php }
}

Youez - 2016 - github.com/yon3zu
LinuXploit