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

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