Modal Base: Eurotransfert Modifier Donneur Ordre

See "img upload" in sidebar snet/molecules for variants, or go to info panel and look for it in "references" (@snet-img-upload)

Refer to modal frame found in view tab for complete structure without content.

A modal's default size is 640px

Modifier classes for modals

  • modal-sm: 480px
  • modal-md: 720px (mainly used for modals containing images)
  • modal-lg: 896px
  • modal-xl: 1120px

Content loading

A modal with a content loading component behaves as follows:

  • It has a second body element with the -isLoading class that is hidden by default, and shown only when ...
  • ... the -contentLoading modifier is applied to the modal element ...
  • ... which in turn hides the regular modal body element which into which the content is injected
<div class="sds-modal modal fade -bodySecondary06" id="eurotransfertModifierDonneurOrdre" aria-hidden="true" tabindex="-1">
    <div class="sds-modal__dialog modal-dialog modal-lg modal-dialog-centered">
        <div class="sds-modal__content modal-content">

            <div class="sds-modal__header modal-header">

                <div class="sds-modal__title modal-title">Modifier Donneur d’ordre &amp; date d’exécution </div>

                <button type="button" class="sds-btn -iconBtn -btnSecondary -ghost sds-modal__close" data-dismiss="modal" aria-label="Close">

                    <span class="sds-icon sds-icon-close"></span>

                </button>

            </div>

            <div class="sds-modal__body modal-body">

                <div class="sds-stackMd">
                    <p class="sds-textBodyLg">En modifiant les données du donneur d’ordre ce dernier sera utilisé pour toutes les transactions enregistrées jusqu’à présent</p>
                    <div class="sds-transactionEditBlock">
                        <div class="sds-transactionEditBlock__item sds-box">
                            <div class="row row-sm no-bottom-gutter">
                                <div class="col-6">
                                    <div class="sds-stepInput -singleItemConnect">
                                        <div class="sds-stepInput__item">
                                            <div class="sds-stepInput__stepIcon">
                                                <div class="sds-stepInput__circle">

                                                    <div class="sds-avatar centeredBgi -avatarSm">

                                                        <img class="img-fluid" src="../../media/snet/avatars/avatarUser.png" alt="">

                                                    </div>
                                                </div>
                                            </div>
                                            <div class="sds-stepInput__input">
                                                <div class="form-group">
                                                    <label for="" class="sds-label -labelForm">
                                                        Label

                                                    </label>
                                                    <div class="sds-input -autocomplete">
                                                        <input class="sds-input form-control" type="text" placeholder="Sélectionnez un compte" value="LU55 0030 0566 9076 0000">

                                                        <div class="sds-input__autocomplete">
                                                            <div class="sds-input__autocompleteSelected">

                                                                <div class="sds-dismissibleAccountCard">
                                                                    <div class="sds-dismissibleAccountCard__content sds-stackXxs">
                                                                        <div>Compte Epicerie Fournisseurs</div>
                                                                        <div class="sds-dismissibleAccountCard__meta sds-textHelper">LU55 0030 0566 9076 0000</div>
                                                                    </div>

                                                                    <div class="d-flex flex-column align-items-end">

                                                                        <div class="sds-badge badge -badgePrimary -badgeTonal">

                                                                            non visible
                                                                        </div>

                                                                    </div>

                                                                    <button type="button" class="sds-btn -iconBtn -btnSecondary -btnSmall">

                                                                        <span class="sds-icon sds-icon-close"></span>

                                                                    </button>

                                                                </div>

                                                            </div>
                                                            <form class="sds-input__autocompleteInner sds-box -insetLg sds-stackMd" action="">
                                                                <div class="h3">Comptes de la société</div>
                                                                <div class="sds-stackSm">
                                                                    <div class="h4">Comptes et cartes</div>
                                                                    <div class="sds-accountSelector__dropdownSection sds-stackSm">
                                                                        <div class="sds-accountCard sds-showCustomIndicatorHover">
                                                                            <label class="sds-accountCard__inner">
                                                                                <input value="radio-value" type="radio" name="radio-name" class="sr-only sds-accountCard__input" id="" checked><span class="sds-radioDot  sds-accountCard__checkItem" aria-hidden="true"></span>

                                                                                <div class="sds-avatar centeredBgi -avatarSm">

                                                                                    <img class="img-fluid" src="../../media/snet/avatars/avatarUser.png" alt="">

                                                                                </div>

                                                                                <span class="sds-accountCard__content sds-stackXs">
                                                                                    <div>
                                                                                        Jil Schmit

                                                                                    </div>
                                                                                    <span class="sds-textHelper sds-accountCard__meta">
                                                                                        compte courant
                                                                                    </span>
                                                                                </span>

                                                                                <div class="sds-amount -positive -amountLg">
                                                                                    <span class="sds-amount__value">{+#.###,##}</span>

                                                                                    <span class="sds-amount__currency"></span>

                                                                                </div>

                                                                            </label>
                                                                        </div>
                                                                        <div class="sds-accountCard sds-showCustomIndicatorHover">
                                                                            <label class="sds-accountCard__inner">
                                                                                <input value="radio-value" type="radio" name="radio-name" class="sr-only sds-accountCard__input" id=""><span class="sds-radioDot  sds-accountCard__checkItem" aria-hidden="true"></span>

                                                                                <div class="sds-avatar centeredBgi -avatarSm">

                                                                                    <img class="img-fluid" src="../../media/snet/avatars/avatarUser.png" alt="">

                                                                                </div>

                                                                                <span class="sds-accountCard__content sds-stackXs">
                                                                                    <div>
                                                                                        Jil Schmit

                                                                                    </div>
                                                                                    <span class="sds-textHelper sds-accountCard__meta">
                                                                                        compte courant
                                                                                    </span>
                                                                                </span>

                                                                                <div class="sds-amount -positive -amountLg">
                                                                                    <span class="sds-amount__value">{+#.###,##}</span>

                                                                                    <span class="sds-amount__currency"></span>

                                                                                </div>

                                                                            </label>
                                                                        </div>
                                                                        <div class="sds-accountCard sds-showCustomIndicatorHover">
                                                                            <label class="sds-accountCard__inner">
                                                                                <input value="radio-value" type="radio" name="radio-name" class="sr-only sds-accountCard__input" id=""><span class="sds-radioDot  sds-accountCard__checkItem" aria-hidden="true"></span>

                                                                                <div class="sds-avatar centeredBgi -avatarSm">

                                                                                    <img class="img-fluid" src="../../media/snet/avatars/avatarUser.png" alt="">

                                                                                </div>

                                                                                <span class="sds-accountCard__content sds-stackXs">
                                                                                    <div>
                                                                                        Jil Schmit

                                                                                    </div>
                                                                                    <span class="sds-textHelper sds-accountCard__meta">
                                                                                        compte courant
                                                                                    </span>
                                                                                </span>

                                                                                <div class="sds-badge badge -badgePrimary -badgeTonal">

                                                                                    non visible
                                                                                </div>

                                                                            </label>
                                                                        </div>
                                                                        <div class="sds-accountCard sds-showCustomIndicatorHover">
                                                                            <label class="sds-accountCard__inner">
                                                                                <input value="radio-value" type="radio" name="radio-name" class="sr-only sds-accountCard__input" id=""><span class="sds-radioDot  sds-accountCard__checkItem" aria-hidden="true"></span>

                                                                                <div class="sds-avatar centeredBgi -avatarSm">

                                                                                    <img class="img-fluid" src="../../media/snet/avatars/avatarUser.png" alt="">

                                                                                </div>

                                                                                <span class="sds-accountCard__content sds-stackXs">
                                                                                    <div>
                                                                                        Jil Schmit

                                                                                    </div>
                                                                                    <span class="sds-textHelper sds-accountCard__meta">
                                                                                        compte courant
                                                                                    </span>
                                                                                </span>

                                                                                <div class="sds-badge badge -badgePrimary -badgeTonal">

                                                                                    non visible
                                                                                </div>

                                                                            </label>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="sds-stackSm">
                                                                    <div class="h4">Epargne</div>
                                                                    <div class="sds-accountSelector__dropdownSection sds-stackSm">
                                                                        <div class="sds-accountCard sds-showCustomIndicatorHover">
                                                                            <label class="sds-accountCard__inner">
                                                                                <input value="radio-value" type="radio" name="radio-name" class="sr-only sds-accountCard__input" id=""><span class="sds-radioDot  sds-accountCard__checkItem" aria-hidden="true"></span>

                                                                                <div class="sds-avatar centeredBgi -avatarSm">

                                                                                    <img class="img-fluid" src="../../media/snet/avatars/avatarUser.png" alt="">

                                                                                </div>

                                                                                <span class="sds-accountCard__content sds-stackXs">
                                                                                    <div>
                                                                                        Jil Schmit

                                                                                    </div>
                                                                                    <span class="sds-textHelper sds-accountCard__meta">
                                                                                        compte courant
                                                                                    </span>
                                                                                </span>

                                                                                <div class="sds-amount -positive -amountLg">
                                                                                    <span class="sds-amount__value">{+#.###,##}</span>

                                                                                    <span class="sds-amount__currency"></span>

                                                                                </div>

                                                                            </label>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </form>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-6">
                                    <div class="form-group">
                                        <label for="" class="sds-label -labelForm">
                                            Date d’exécution souhaitée

                                        </label>
                                        <div class="sds-input -hasIcon -calendar">
                                            <input class="sds-input form-control" type="text" placeholder="11/04/2023" value="">

                                            <div class="sds-input__iconRight">
                                                <span class="sds-icon sds-icon-calendar"></span>
                                            </div>

                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="sds-transactionEditBlock__item sds-box">
                            <div class="sds-transactionEditBlock__fixedWrapper d-flex">
                                <div class="sds-transactionEditBlock__amountCol d-flex">
                                    <span class="sds-itemConnector sds-transactionBlock__itemConnector">

                                    </span>
                                    <div class="sds-amount -amountXl">
                                        <span class="sds-amount__value">335,30</span>

                                        <span class="sds-amount__currency"></span>

                                    </div>
                                </div>
                                <div class="sds-transactionEditBlock__infoCol d-flex align-items-center">
                                    <span class="sds-numberCircle">
                                        2
                                    </span>
                                    <div class="h4">Transactions</div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

            </div>

            <div class="sds-modal__footer modal-footer">

                <div class="sds-btnGroup">
                    <button type="button" class="sds-btn -btnSecondary -btnInverse" data-dismiss="modal">

                        <span class="sds-btn__text">Annuler</span>

                    </button>
                    <button type="button" class="sds-btn -btnPrimary">

                        <span class="sds-btn__text">Sauvegarder</span>

                    </button>
                </div>

            </div>

        </div>
    </div>
</div>
{% extends "@snet-modal-base-frame" %}
{% block header %}
	<div class="{{ namespace }}modal__title modal-title">{{ title }}</div>
{% endblock %}
{% block body %}
	<div class="{{ namespace }}stackMd">
		<p class="{{ namespace }}textBodyLg">En modifiant les données du donneur d’ordre ce dernier sera utilisé pour toutes les transactions enregistrées jusqu’à présent</p>
		{% render "@snet-transaction-edit-block" %}
	</div>
{% endblock %}
{% block footer %}
	<div class="{{ namespace }}btnGroup">
		{% render "@btn-secondary-inverse", {
			text: "Annuler",
			attrs: {
				"data-dismiss": "modal"
			}
		} ,true %}
		{% render "@btn-primary",{text: "Sauvegarder"},true %}
	</div>
{% endblock %}