mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-11-19 18:40:36 -05:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dbee228cdf | ||
|
|
ec00684edd |
No files matched your search
@@ -415,10 +415,18 @@ $(function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
$('#qbo-estimate-clear-lines').on('click', function () {
|
$('#qbo-estimate-clear-lines').on('click', function () {
|
||||||
if (!window.confirm($(this).data('confirmText'))) return;
|
function clearLines() {
|
||||||
rows().remove();
|
rows().remove();
|
||||||
addRow(); addRow();
|
addRow(); addRow();
|
||||||
changed();
|
changed();
|
||||||
|
}
|
||||||
|
// redmine_dark_mode asks in a dark dialog on dark pages; otherwise the browser's own box
|
||||||
|
var message = $(this).data('confirmText');
|
||||||
|
if (window.RedmineDarkMode && window.RedmineDarkMode.confirm) {
|
||||||
|
window.RedmineDarkMode.confirm(message, clearLines);
|
||||||
|
} else if (window.confirm(message)) {
|
||||||
|
clearLines();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// Drag lines by the handle to reorder them; they're saved in table order
|
// Drag lines by the handle to reorder them; they're saved in table order
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ Redmine::Plugin.register :redmine_qbo do
|
|||||||
name 'Redmine QBO plugin'
|
name 'Redmine QBO plugin'
|
||||||
author 'Rick Barrette'
|
author 'Rick Barrette'
|
||||||
description 'A pluging for Redmine to connect with QuickBooks Online: customers, time activities for billable hours when an issue is closed, and estimates, invoices and payments written in Redmine'
|
description 'A pluging for Redmine to connect with QuickBooks Online: customers, time activities for billable hours when an issue is closed, and estimates, invoices and payments written in Redmine'
|
||||||
version '2026.11.8'
|
version '2026.11.9'
|
||||||
url 'https://github.com/rickbarrette/redmine_qbo'
|
url 'https://github.com/rickbarrette/redmine_qbo'
|
||||||
author_url 'https://barrettefabrication.com'
|
author_url 'https://barrettefabrication.com'
|
||||||
settings default: {empty: true}, partial: 'qbo/settings'
|
settings default: {empty: true}, partial: 'qbo/settings'
|
||||||
|
|||||||
Reference in new issue
Block a user