projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Steuernamen übersetztbar gemacht.
[kivitendo-erp.git]
/
scripts
/
csv-import-from-shell.sh
diff --git
a/scripts/csv-import-from-shell.sh
b/scripts/csv-import-from-shell.sh
old mode 100644
(file)
new mode 100755
(executable)
index
277e8fc
..
e8a1991
--- a/
scripts/csv-import-from-shell.sh
+++ b/
scripts/csv-import-from-shell.sh
@@
-14,6
+14,7
@@
# ---- Logindaten und URL anpassen: ----
login=MyLxOfficeUserName
password=MySecretPassword
# ---- Logindaten und URL anpassen: ----
login=MyLxOfficeUserName
password=MySecretPassword
+client_id=ClientDatabaseID
url='https://localhost/kivitendo-erp/controller.pl'
function fail {
url='https://localhost/kivitendo-erp/controller.pl'
function fail {
@@
-133,6
+134,7
@@
function do_curl {
-F 'settings.shoparticle_if_missing=0' \
-F "{AUTH}login=${login}" \
-F "{AUTH}password=${password}" \
-F 'settings.shoparticle_if_missing=0' \
-F "{AUTH}login=${login}" \
-F "{AUTH}password=${password}" \
+ -F "{AUTH}client_id=${client_id}" \
-F "file=@${file}" \
${url}
}
-F "file=@${file}" \
${url}
}