Code Duplication    Length = 3-3 lines in 2 locations

templates/wpinv-invoice-history.php 1 location

@@ 25-27 (lines=3) @@
22
	<table class="table table-bordered table-hover table-responsive wpi-user-invoices">
23
		<thead>
24
			<tr>
25
				<?php foreach ( wpinv_get_user_invoices_columns() as $column_id => $column_name ) : ?>
26
					<th class="<?php echo esc_attr( $column_id ); ?> <?php echo (!empty($column_name['class']) ? $column_name['class'] : '');?>"><span class="nobr"><?php echo esc_html( $column_name['title'] ); ?></span></th>
27
				<?php endforeach; ?>
28
			</tr>
29
		</thead>
30

includes/class-wpinv-bp-core.php 1 location

@@ 93-95 (lines=3) @@
90
                <table class="table table-bordered table-hover table-responsive wpi-user-invoices" style="margin:0">
91
                    <thead>
92
                        <tr>
93
                            <?php foreach ( wpinv_get_user_invoices_columns() as $column_id => $column_name ) : ?>
94
                                <th class="<?php echo esc_attr( $column_id ); ?> <?php echo (!empty($column_name['class']) ? $column_name['class'] : '');?>"><span class="nobr"><?php echo esc_html( $column_name['title'] ); ?></span></th>
95
                            <?php endforeach; ?>
96
                        </tr>
97
                    </thead>
98
                    <tbody>