Icon for Recurring Invoices in List View


#1

The separate view of recurring invoices alone is very good.

But when searching for a specific invoice it would be a good enhancement, if in list view of all invoices a small icon or something like that can be displayed for recurring invoices.

For example like so in first line:

Or the possibility to add a filter of displaying just recurring or non-recurring invoices.


#2

Last Update: 20.04.2017


#3

Can i set that up on Issuehunt? :slight_smile:


#4

Issuehunt does not directly allow adding new issues. However, I would add this to the monetary rewards list and grant the reward to whoever develops this. Would just need a donation for this with the amount you want to offer. :slight_smile:


#5

Ah. I would say 7USD? Where should i sent this amount?


#6

You can send it to mail@invoiceplane.com via PayPal.
I will then add it.


#7

Done.
Thank you!


#8

Did it myself in my installation. I have no github Account and do not know how to implement these changes there, so if you can and will integrate it (7USD are for you kovah anyway):

applications/modules/dashboard/views/index.php:

Line 212:

		 <?php if ($invoice->invoice_is_recurring) { ?>
			<i class="fa fa-undo" title="<?php echo trans('recurring') ?>"></i>
		<?php } ?>     

application/modules/invoices/views/partial_invoice_table.php:

Line 42:

		 <?php if ($invoice->invoice_is_recurring) { ?>
			<i class="fa fa-undo" title="<?php echo trans('recurring') ?>"></i>
		 <?php } ?>

Unfortunately there is no redo icon in the css defined. Which will describe the recurring invoice better in my opinion so i took the undo-icon.


#9

You’re looking for fa fa-repeat or fa fa-refresh


#10

Grazie mille, @musa!

So the updated code would be:

applications/modules/dashboard/views/index.php:

Line 212:

		 <?php if ($invoice->invoice_is_recurring) { ?>
			<i class="fa fa-repeat" title="<?php echo trans('recurring') ?>"></i>
		<?php } ?>     

application/modules/invoices/views/partial_invoice_table.php:

Line 42:

		 <?php if ($invoice->invoice_is_recurring) { ?>
			<i class="fa fa-repeat" title="<?php echo trans('recurring') ?>"></i>
		 <?php } ?>

#11

Indeed, there is a fa-redo icon in FA, unfortunately it’s only available on version 5 and IP1 uses version 4. Both icons fa-repeat and fa-redo look alike, which is not a surprise given that

This icon replaces Font Awesome 4’s fa-repeat"

as mentioned here.