changes
This commit is contained in:
@@ -677,7 +677,7 @@ async function openInvoiceModal(invoiceId = null) {
|
||||
document.getElementById('invoice-terms').value = data.invoice.terms;
|
||||
document.getElementById('invoice-authorization').value = data.invoice.auth_code || '';
|
||||
document.getElementById('invoice-tax-exempt').checked = data.invoice.tax_exempt;
|
||||
|
||||
document.getElementById('invoice-bill-to-name').value = data.invoice.bill_to_name || '';
|
||||
// Scheduled Send Date
|
||||
const sendDateEl = document.getElementById('invoice-send-date');
|
||||
if (sendDateEl) {
|
||||
@@ -951,6 +951,7 @@ async function handleInvoiceSubmit(e) {
|
||||
auth_code: document.getElementById('invoice-authorization').value,
|
||||
tax_exempt: document.getElementById('invoice-tax-exempt').checked,
|
||||
scheduled_send_date: document.getElementById('invoice-send-date')?.value || null,
|
||||
bill_to_name: document.getElementById('invoice-bill-to-name')?.value || null,
|
||||
items: getInvoiceItems() // Deine bestehende Funktion
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user