diff --git a/app/View/Organisations/ajax/merge.ctp b/app/View/Organisations/ajax/merge.ctp new file mode 100644 index 000000000..bd9ef848c --- /dev/null +++ b/app/View/Organisations/ajax/merge.ctp @@ -0,0 +1,82 @@ +
+Form->create('Organisation', array( + 'onsubmit' => 'return confirm("This will remove the selected organisation and hand over all objects belonging to it to the target organisation. This process is irreversible. Are you sure you");', +));?> +
Merge Organisation
+

Warning: Merging an organisation into another will be transfer all users and data belonging to the organisation to another.

+
+
+
+ Form->input('targetType', array( + 'options' => array('Local', 'External'), + 'label' => 'Organisation type', + 'style' => 'width:332px;', + 'class' => 'mergeUpdate', + 'div' => false, + )); + ?> +
+
+ Form->input('orgsLocal', array( + 'options' => $orgOptions['local'], + 'class' => 'input mergeUpdate', + 'label' => 'Target Local Organisation', + 'style' => 'width:332px;', + 'div' => 'orgsLocal', + )); + ?> +
+ +
+
+
+ Organisation to be merged
+ ID:
+ Name:
+ Uuid:
+ Type: +
+
+ Organisation to be merged into
+ ID:
+ Name:
+ UUID:
+ Type: +
+
+
+ Form->submit('Merge', array('div' => false, 'class' => 'btn btn-primary')); ?> + Cancel + Form->end(); ?> +
+
+ +Js->writeBuffer(); \ No newline at end of file