|
@@ -520,7 +520,13 @@ var P5UI_AddItemToReport = createReactClass({
|
|
|
// ReactDOM.unmountComponentAtNode(document.getElementById(FUNCTION_NAME + '__searchBaza'));
|
|
|
// swal.close()
|
|
|
}
|
|
|
- }, "Dodaj firmę") // TODO: |> KRS -> firmę, |> KRS Person -> osobę, ....
|
|
|
+ }, "Dodaj " + (
|
|
|
+ ( ('default_db/BI_audit_KRS_person/BI_audit_KRS_person' === selectedBaza)
|
|
|
+ || ('default_db/BI_audit_MSIG_person/BI_audit_MSIG_person' === selectedBaza)
|
|
|
+ )
|
|
|
+ ? "osobę"
|
|
|
+ : "firmę"
|
|
|
+ )) // TODO: |> KRS -> firmę, |> KRS Person -> osobę, ....
|
|
|
]),
|
|
|
('default_db/BI_audit_KRS/BI_audit_KRS' === selectedBaza && selectedItem) && h(P5UI_AddItemToReport_SelectKrsPerson, {
|
|
|
krs: selectedItem,
|