Code Duplication    Length = 5-5 lines in 2 locations

includes/admin/subscriptions.php 1 location

@@ 180-184 (lines=5) @@
177
									<tr>
178
										<td class="row-title">
179
											<label for="tablecell">
180
												<?php if( 'trialling' == $sub->status ) : ?>
181
													<?php _e( 'Trialling Until:', 'invoicing' ); ?>
182
												<?php else: ?>
183
													<?php _e( 'Expiration Date:', 'invoicing' ); ?>
184
												<?php endif; ?>
185
											</label>
186
										</td>
187
										<td>

includes/admin/meta-boxes/class-mb-invoice-details.php 1 location

@@ 166-170 (lines=5) @@
163
            <p class="wpi-meta-row wpi-start-date">
164
                <label><?php _e('Start Date:', 'invoicing'); ?> </label><?php echo date_i18n(get_option('date_format'), strtotime($sub->created, current_time('timestamp'))); ?>
165
            </p>
166
            <p class="wpi-meta-row wpi-end-date"><label><?php if ('trialling' == $sub->status) : ?>
167
                        <?php _e('Trialling Until:', 'invoicing'); ?>
168
                    <?php else: ?>
169
                        <?php _e('Expiration Date:', 'invoicing'); ?>
170
                    <?php endif; ?></label><?php echo date_i18n(get_option('date_format'), strtotime($sub->expiration, current_time('timestamp'))); ?>
171
            </p>
172
            <?php if ($sub->status) { ?>
173
                <p class="wpi-meta-row wpi-sub-status">