| Server IP : 194.30.32.123 / Your IP : 216.73.216.89 Web Server : Apache System : Linux 4f6650a08421 5.10.0-44-amd64 #1 SMP Debian 5.10.257-1 (2026-05-27) x86_64 User : ftpbegirale ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /expert/htwebs/www.begirale.com/public/wp-content/plugins/invoicing/templates/invoice/ |
Upload File : |
<?php
/**
* Displays a single fee item in an invoice.
*
* This template can be overridden by copying it to yourtheme/invoicing/fee-item.php.
*
* @version 1.0.19
* @var WPInv_Invoice $invoice
* @var array $fee
*/
defined( 'ABSPATH' ) || exit;
do_action( 'getpaid_before_invoice_fee_item', $invoice, $fee );
?>
<div class='getpaid-invoice-item item-fee border-bottom'>
<div class="form-row row">
<?php foreach ( array_keys( $columns ) as $column ) : ?>
<div class="<?php echo 'name' == $column ? 'col-12 col-sm-6' : 'col-12 col-sm'; ?> getpaid-invoice-item-<?php echo esc_attr( $column ); ?>">
<?php
// Fires before printing a fee item column.
do_action( "getpaid_invoice_fee_item_before_$column", $fee, $invoice );
// Item name.
if ( 'name' == $column ) {
// Display the name.
echo '<div class="mb-1">' . esc_html( $fee['name'] ) . '</div>';
// And an optional description.
$description = empty( $fee['description'] ) ? esc_html__( 'Fee', 'invoicing' ) : esc_html( $fee['description'] );
echo wp_kses_post( "<small class='form-text text-muted pr-2 m-0'>$description</small>" );
}
// Item price.
if ( 'price' == $column ) {
// Display the item price (or recurring price if this is a renewal invoice)
if ( $invoice->is_recurring() && $invoice->is_renewal() ) {
wpinv_the_price( $fee['recurring_fee'], $invoice->get_currency() );
} else {
wpinv_the_price( $fee['initial_fee'], $invoice->get_currency() );
}
}
// Item quantity.
if ( 'quantity' == $column ) {
echo '—';
}
// Item tax.
if ( 'tax_rate' == $column ) {
echo '—';
}
// Item sub total.
if ( 'subtotal' == $column ) {
// Display the item price (or recurring price if this is a renewal invoice)
if ( $invoice->is_recurring() && $invoice->is_renewal() ) {
wpinv_the_price( $fee['recurring_fee'], $invoice->get_currency() );
} else {
wpinv_the_price( $fee['initial_fee'], $invoice->get_currency() );
}
}
// Fires when printing a fee item column.
do_action( "getpaid_invoice_fee_item_$column", $fee, $invoice );
// Fires after printing a fee item column.
do_action( "getpaid_invoice_fee_item_after_$column", $fee, $invoice );
?>
</div>
<?php endforeach; ?>
</div>
</div>
<?php