mohanjith / web-invoice

Automatically exported from code.google.com/p/web-invoice
GNU General Public License v3.0
0 stars 2 forks source link

Add new invoice button on Invoice overview page #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
could you please add an "Add New Invoice" button on the top of the admin 
invoice overview page.

example:

Display.php

line 51 change to: <h2><?php _e('Invoice Overview', WEB_INVOICE_TRANS_DOMAIN); 
?>
<a href="/wp-admin/admin.php?page=new_web_invoice" class="button 
add-new-h2">Add New Invoice</a></h2>

Thanx

Original issue reported on code.google.com by mydiskdr...@gmail.com on 4 Jul 2010 at 6:33

GoogleCodeExporter commented 9 years ago
It's inconsistent with rest of WordPress. Have look at "Posts", there is no 
"New post" button in the list of posts. 

Also if you haven't noticed, you can create a "New Invoice" from the top menu 
(Next to "Howdy, ...") and also Web Invoice menu.

Original comment by sh.mohanjith on 4 Jul 2010 at 7:26

GoogleCodeExporter commented 9 years ago
Not sure if you are using an older version of WordPress, but yes there is an 
"add new" (same h2 code and class as in my example) button on the list of posts 
page, the list of pages page, the list of plugins page, and the list of themes 
page so it would be "consistent". That is where I got the button class from.

As for create a "new Invoice" from the top menu next to "Howdy.." I believe 
that is a favorite action type thing and I have that header disabled in my 
custom WPMU install so it is not visible.

The reason I made this request is because the "Web Invoice Menu" appears very 
low on the totem pole of my many,many,many add-ons. And with just a simple link 
it WOULD be consistant with the rest of the WordPress Admin panel.

Cheers,

Original comment by mydiskdr...@gmail.com on 4 Jul 2010 at 9:11

GoogleCodeExporter commented 9 years ago

Original comment by sh.mohanjith on 5 Jul 2010 at 11:23

GoogleCodeExporter commented 9 years ago

Original comment by sh.mohanjith on 5 Jul 2010 at 11:24

GoogleCodeExporter commented 9 years ago
Fixed in r7

Original comment by sh.mohanjith on 6 Jul 2010 at 12:14

GoogleCodeExporter commented 9 years ago
Thank you

Original comment by mydiskdr...@gmail.com on 6 Jul 2010 at 5:24