mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug #352057 button to create a new invoice when viewing an old one.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20135 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
db2194abc9
commit
3a3308877d
@ -97,11 +97,6 @@ static GtkActionEntry gnc_plugin_page_invoice_actions [] =
|
|||||||
{ "SortOrderAction", NULL, N_("Sort _Order"), NULL, NULL, NULL },
|
{ "SortOrderAction", NULL, N_("Sort _Order"), NULL, NULL, NULL },
|
||||||
|
|
||||||
/* File menu */
|
/* File menu */
|
||||||
{
|
|
||||||
"FileNewInvoiceAction", GTK_STOCK_NEW, N_("New _Invoice"), "",
|
|
||||||
N_("Create a new invoice"),
|
|
||||||
G_CALLBACK (gnc_plugin_page_invoice_cmd_new_invoice)
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"FileNewAccountAction", GNC_STOCK_NEW_ACCOUNT, N_("New _Account..."), NULL,
|
"FileNewAccountAction", GNC_STOCK_NEW_ACCOUNT, N_("New _Account..."), NULL,
|
||||||
N_("Create a new account"),
|
N_("Create a new account"),
|
||||||
@ -178,6 +173,11 @@ static GtkActionEntry gnc_plugin_page_invoice_actions [] =
|
|||||||
},
|
},
|
||||||
|
|
||||||
/* Business menu */
|
/* Business menu */
|
||||||
|
{
|
||||||
|
"BusinessNewInvoiceAction", GNC_STOCK_INVOICE_NEW, N_("New _Invoice"), "",
|
||||||
|
N_("Create a new invoice for the same owner as the current one"),
|
||||||
|
G_CALLBACK (gnc_plugin_page_invoice_cmd_new_invoice)
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"ToolsProcessPaymentAction", GNC_STOCK_INVOICE_PAY, N_("_Pay Invoice"), NULL,
|
"ToolsProcessPaymentAction", GNC_STOCK_INVOICE_PAY, N_("_Pay Invoice"), NULL,
|
||||||
N_("Enter a payment for the owner of this Invoice"),
|
N_("Enter a payment for the owner of this Invoice"),
|
||||||
|
@ -51,12 +51,13 @@
|
|||||||
|
|
||||||
<toolbar name="DefaultToolbar">
|
<toolbar name="DefaultToolbar">
|
||||||
<placeholder name="DefaultToolbarPlaceholder">
|
<placeholder name="DefaultToolbarPlaceholder">
|
||||||
|
<toolitem name="ToolbarNewInvoice" action="BusinessNewInvoiceAction"/>
|
||||||
<toolitem name="ToolbarEditInvoice" action="EditEditInvoiceAction"/>
|
<toolitem name="ToolbarEditInvoice" action="EditEditInvoiceAction"/>
|
||||||
<toolitem name="ToolbarDuplicateInvoice" action="EditDuplicateInvoiceAction"/>
|
<toolitem name="ToolbarDuplicateInvoice" action="EditDuplicateInvoiceAction"/>
|
||||||
|
<separator name="ToolbarSep65"/>
|
||||||
<toolitem name="ToolbarRecordEntry" action="RecordEntryAction"/>
|
<toolitem name="ToolbarRecordEntry" action="RecordEntryAction"/>
|
||||||
<toolitem name="ToolbarCancelEntry" action="CancelEntryAction"/>
|
<toolitem name="ToolbarCancelEntry" action="CancelEntryAction"/>
|
||||||
<toolitem name="ToolbarDeleteEntry" action="DeleteEntryAction"/>
|
<toolitem name="ToolbarDeleteEntry" action="DeleteEntryAction"/>
|
||||||
<separator name="ToolbarSep66"/>
|
|
||||||
<toolitem name="ToolbarDuplicateEntry" action="DuplicateEntryAction"/>
|
<toolitem name="ToolbarDuplicateEntry" action="DuplicateEntryAction"/>
|
||||||
<toolitem name="ToolbarBlankEntry" action="BlankEntryAction"/>
|
<toolitem name="ToolbarBlankEntry" action="BlankEntryAction"/>
|
||||||
<separator name="ToolbarSep68"/>
|
<separator name="ToolbarSep68"/>
|
||||||
|
@ -46,6 +46,7 @@ static item_file item_files[] =
|
|||||||
{ GNC_STOCK_INVOICE_PAY, "gnc-invoice-pay.png", "gnc-invoice-pay-16.png"},
|
{ GNC_STOCK_INVOICE_PAY, "gnc-invoice-pay.png", "gnc-invoice-pay-16.png"},
|
||||||
{ GNC_STOCK_INVOICE_POST, "gnc-invoice-post.png", "gnc-invoice-post-16.png"},
|
{ GNC_STOCK_INVOICE_POST, "gnc-invoice-post.png", "gnc-invoice-post-16.png"},
|
||||||
{ GNC_STOCK_INVOICE_UNPOST, "gnc-invoice-unpost.png", "gnc-invoice-unpost-16.png"},
|
{ GNC_STOCK_INVOICE_UNPOST, "gnc-invoice-unpost.png", "gnc-invoice-unpost-16.png"},
|
||||||
|
{ GNC_STOCK_INVOICE_NEW, "gnc-invoice-new.png", "gnc-invoice-new-16.png"},
|
||||||
{ GNC_STOCK_INVOICE_EDIT, "gnc-invoice-edit.png", "gnc-invoice-edit-16.png"},
|
{ GNC_STOCK_INVOICE_EDIT, "gnc-invoice-edit.png", "gnc-invoice-edit-16.png"},
|
||||||
{ GNC_STOCK_INVOICE_DUPLICATE, "gnc-invoice-duplicate.png", "gnc-invoice-duplicate-16.png"},
|
{ GNC_STOCK_INVOICE_DUPLICATE, "gnc-invoice-duplicate.png", "gnc-invoice-duplicate-16.png"},
|
||||||
{ 0 },
|
{ 0 },
|
||||||
|
@ -22,6 +22,7 @@ G_BEGIN_DECLS
|
|||||||
#define GNC_STOCK_INVOICE_POST "gnc-invoice-post"
|
#define GNC_STOCK_INVOICE_POST "gnc-invoice-post"
|
||||||
#define GNC_STOCK_INVOICE_UNPOST "gnc-invoice-unpost"
|
#define GNC_STOCK_INVOICE_UNPOST "gnc-invoice-unpost"
|
||||||
#define GNC_STOCK_INVOICE_PAY "gnc-invoice-pay"
|
#define GNC_STOCK_INVOICE_PAY "gnc-invoice-pay"
|
||||||
|
#define GNC_STOCK_INVOICE_NEW "gnc-invoice-new"
|
||||||
#define GNC_STOCK_INVOICE_EDIT "gnc-invoice-edit"
|
#define GNC_STOCK_INVOICE_EDIT "gnc-invoice-edit"
|
||||||
#define GNC_STOCK_INVOICE_DUPLICATE "gnc-invoice-duplicate"
|
#define GNC_STOCK_INVOICE_DUPLICATE "gnc-invoice-duplicate"
|
||||||
|
|
||||||
|
@ -16,6 +16,8 @@ gncpixmap_DATA = \
|
|||||||
gnc-invoice-duplicate.png \
|
gnc-invoice-duplicate.png \
|
||||||
gnc-invoice-edit-16.png \
|
gnc-invoice-edit-16.png \
|
||||||
gnc-invoice-edit.png \
|
gnc-invoice-edit.png \
|
||||||
|
gnc-invoice-new-16.png \
|
||||||
|
gnc-invoice-new.png \
|
||||||
gnc-invoice-pay-16.png \
|
gnc-invoice-pay-16.png \
|
||||||
gnc-invoice-pay.png \
|
gnc-invoice-pay.png \
|
||||||
gnc-invoice-post-16.png \
|
gnc-invoice-post-16.png \
|
||||||
|
BIN
src/pixmaps/gnc-invoice-new-16.png
Normal file
BIN
src/pixmaps/gnc-invoice-new-16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 542 B |
BIN
src/pixmaps/gnc-invoice-new.png
Normal file
BIN
src/pixmaps/gnc-invoice-new.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 980 B |
Loading…
Reference in New Issue
Block a user