Skip to content
Code-Schnipsel Gruppen Projekte

Feat e rechnung

Zusammengeführt Henning Leutz requested to merge feat-e-rechnung into next-2.x
9 Dateien
+ 522
41
Änderungen vergleichen
  • Nebeneinander
  • In der Reihe
Dateien
9
@@ -36,6 +36,7 @@ define('package/quiqqer/invoice/bin/backend/controls/panels/Invoice', [
Binds: [
'print',
'storno',
'download',
'copy',
'creditNote',
'openInfo',
@@ -199,6 +200,14 @@ define('package/quiqqer/invoice/bin/backend/controls/panels/Invoice', [
}
});
Actions.appendChild({
icon: 'fa fa-download',
text: QUILocale.get(lg, 'dialog.invoice.download.button'),
events: {
onClick: this.download
}
});
this.fireEvent('actionButtonCreate', [
this,
Actions
@@ -554,6 +563,13 @@ define('package/quiqqer/invoice/bin/backend/controls/panels/Invoice', [
});
},
download: function()
{
require(['package/quiqqer/invoice/bin/backend/utils/Dialogs'], (Dialogs)=> {
Dialogs.openDownloadDialog(this.getAttribute('data').hash);
});
},
/**
* Opens the storno / cancellation dialog
*
Lade