Modal Base: Suivi Transactions Filters

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="suiviTransactionsModalFilters-1" aria-hidden="true" tabindex="-1">
    <div class="sds-modal__dialog modal-dialog modal-dialog-centered modal-dialog-scrollable modal-lg">
        <div class="sds-modal__content modal-content">

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

                <div class="sds-modal__title modal-title">Filters</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-stackLg">
                    <div class="sds-search -clearActive">
                        <div class="sds-search__inner form-control">
                            <span class="sds-search__searchIcon sds-icon sds-icon-search" aria-hidden="true"></span>
                            <input id="" type="text" placeholder="{Placeholder}" value="{Search Query}" class="sds-search__input form-control" />
                            <div class="sds-search__actions">
                                <div class="sds-search__clear">
                                    <button type="button" class="sds-btn -iconBtn -btnSecondary -ghost">

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

                                    </button>
                                </div>

                            </div>
                        </div>
                    </div>
                    <div class="sds-box -insetLg">
                        <div class="sds-stackMd">
                            <div class="h4">Comptes</div>
                            <div class="row row-sm no-bottom-gutter">
                                <div class="col-6">
                                    <div class="form-group">
                                        <label for="" class="sds-label -labelForm">
                                            Compte donneur d'ordre

                                        </label>
                                        <div class="sds-input dropdown -autocomplete ">
                                            <input class="sds-input form-control -hasIcon -hasIconRight" type="text" placeholder="Sélectionnez un compte" value="">
                                            <button type="button" class="sds-btn -iconBtn -btnSecondary -btnInverse sds-input__autocompleteToggle sds-input__iconRight" data-toggle="dropdown" data-display="static" data-offset="0,16" data-reference="parent" data-boundary="window" aria-expanded="false">

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

                                            </button>

                                            <div class="sds-input__autocomplete">
                                                <form class="dropdown-menu 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 class="col-6">
                                    <div class="form-group">
                                        <label for="" class="sds-label -labelForm">
                                            Compte bénéficiaire

                                        </label>
                                        <div class="sds-input dropdown -autocomplete ">
                                            <input class="sds-input form-control -hasIcon -hasIconRight" type="text" placeholder="Sélectionnez un compte" value="">
                                            <button type="button" class="sds-btn -iconBtn -btnSecondary -btnInverse sds-input__autocompleteToggle sds-input__iconRight" data-toggle="dropdown" data-display="static" data-offset="0,16" data-reference="parent" data-boundary="window" aria-expanded="false">

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

                                            </button>

                                            <div class="sds-input__autocomplete">
                                                <form class="dropdown-menu 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="sds-box -insetLg">
                        <div class="sds-stackMd">
                            <div class="h4">Transactions</div>
                            <div class="row row-sm">
                                <div class="col-6">
                                    <div class="form-group">
                                        <label for="" class="sds-label -labelForm">
                                            Montant min

                                        </label>
                                        <div class="sds-input -hasShadow">
                                            <input id="" class="sds-input form-control" type="number" placeholder="0" value="4000">

                                            <div class="sds-input__shadowInput form-control" aria-hidden="true">
                                                <div class="sds-input__shadowValue">
                                                    4000
                                                </div>
                                                <div class="sds-input__shadowCurrency"></div>
                                            </div>

                                        </div>
                                    </div>
                                </div>
                                <div class="col-6">
                                    <div class="form-group">
                                        <label for="" class="sds-label -labelForm">
                                            Montant max

                                        </label>
                                        <div class="sds-input -hasShadow">
                                            <input id="" class="sds-input form-control" type="number" placeholder="Choisir un ou plusieurs statuts" value="4000">

                                            <div class="sds-input__shadowInput form-control" aria-hidden="true">
                                                <div class="sds-input__shadowValue">
                                                    4000
                                                </div>
                                                <div class="sds-input__shadowCurrency"></div>
                                            </div>

                                        </div>
                                    </div>
                                </div>
                                <div class="col-12">
                                    <fieldset class="sds-stackLg">
                                        <legend>
                                            <div class="sds-label -labelForm">
                                                Type

                                            </div>
                                        </legend>
                                        <ul class="list-unstyled">
                                            <li class="form-group">
                                                <div class="sds-radio custom-control custom-radio">
                                                    <input value="radio-value" type="radio" name="radio-type" class="sr-only custom-control-input " id="radio-debit"><span class="sds-radioDot  sds-radio__shape" aria-hidden="true"></span>
                                                    <label class="custom-control-label" for="radio-debit">
                                                        Au débit du compte
                                                    </label>

                                                </div>
                                            </li>
                                            <li class="form-group">
                                                <div class="sds-radio custom-control custom-radio">
                                                    <input value="radio-value" type="radio" name="radio-type" class="sr-only custom-control-input " id="radio-credit"><span class="sds-radioDot  sds-radio__shape" aria-hidden="true"></span>
                                                    <label class="custom-control-label" for="radio-credit">
                                                        Au crédit du compte
                                                    </label>

                                                </div>
                                            </li>
                                        </ul>
                                    </fieldset>
                                </div>
                                <div class="col-6">
                                    <div class="form-group">
                                        <label for="" class="sds-label -labelForm">
                                            Référence S-Net

                                        </label>
                                        <div class="sds-input">
                                            <input id="" class="sds-input form-control" type="text" placeholder="Entrez une communication" value="">

                                        </div>
                                    </div>
                                </div>
                                <div class="col-6">
                                    <div class="form-group">
                                        <label for="" class="sds-label -labelForm">
                                            Communication

                                        </label>
                                        <div class="sds-textarea">
                                            <textarea class="form-control" id="" rows="1" placeholder="Choisir un ou plusieurs encodeurs"></textarea>

                                        </div>

                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="sds-box -insetLg">
                        <div class="sds-stackMd">
                            <div class="h4">Période</div>
                            <div class="row">
                                <div class="col-6">
                                    <div class="form-group">
                                        <label for="" class="sds-label -labelForm">
                                            Date de début

                                        </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 class="col-6">
                                    <div class="form-group">
                                        <label for="" class="sds-label -labelForm">
                                            Date de fin

                                        </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>
                </div>

            </div>

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

                <div class="d-flex justify-content-between w-100">
                    <button type="button" class="sds-btn -btnSecondary">

                        <span class="sds-btn__text">Réinitialiser</span>

                    </button>
                    <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" disabled>

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

                        </button>
                    </div>
                </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 }}stackLg">
		{% render "@search--search-query",{
			advancedActions: false,
			value: filterModalQuery
		},true %}
		<div class="{{ namespace }}box -insetLg">
			<div class="{{ namespace }}stackMd">
				<div class="h4">Comptes</div>
				<div class="row row-sm no-bottom-gutter">
					<div class="col-6">
						<div class="form-group">
							{% render "@label--form",{text: "Compte donneur d'ordre"},true %}
							{% render "@input--autocomplete-dropdown" %}
						</div>
					</div>
					<div class="col-6">
						<div class="form-group">
							{% render "@label--form",{text: "Compte bénéficiaire"},true %}
							{% render "@input--autocomplete-dropdown" %}
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="{{ namespace }}box -insetLg">
			<div class="{{ namespace }}stackMd">
				<div class="h4">Transactions</div>
				<div class="row row-sm">
					<div class="col-6">
						<div class="form-group">
							{% render "@label--form",{text: "Montant min"},true %}
							{% render "@input--shadow" %}
						</div>
					</div>
					<div class="col-6">
						<div class="form-group">
							{% render "@label--form",{text: "Montant max"},true %}
							{% render "@input--shadow",{placeholder: "Choisir un ou plusieurs statuts"},true %}
						</div>
					</div>
					<div class="col-12">
						<fieldset class="{{ namespace }}stackLg">
							<legend>
								{% render "@label--form",{
									eltType: "div",
									text: "Type"
								},true %}
							</legend>
							<ul class="list-unstyled">
								<li class="form-group">
									{% render '@radio',{
										text: "Au débit du compte",
										id: "radio-debit",
										inputName: "radio-type"
									}, true %}
								</li>
								<li class="form-group">
									{% render '@radio',{
										text: "Au crédit du compte",
										id: "radio-credit",
										inputName: "radio-type"
									}, true %}
								</li>
							</ul>
						</fieldset>
					</div>
					<div class="col-6">
						<div class="form-group">
							{% render "@label--form",{text: "Référence S-Net"},true %}
							{% render "@input",{value: ""},true %}
						</div>
					</div>
					<div class="col-6">
						<div class="form-group">
							{% render "@label--form",{text: "Communication"},true %}
							{% render "@textarea",{placeholder: "Choisir un ou plusieurs encodeurs"},true %}
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="{{ namespace }}box -insetLg">
			<div class="{{ namespace }}stackMd">
				<div class="h4">Période</div>
				<div class="row">
					<div class="col-6">
						<div class="form-group">
							{% render "@label--form",{text: "Date de début"},true %}
							{% render "@input--calendar" %}
						</div>
					</div>
					<div class="col-6">
						<div class="form-group">
							{% render "@label--form",{text: "Date de fin"},true %}
							{% render "@input--calendar" %}
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
{% endblock %}
{% block footer %}
	<div class="d-flex justify-content-between w-100">
		{% render "@btn-secondary",{text: "Réinitialiser"},true %}
		<div class="{{ namespace }}btnGroup">
			{% render "@btn-secondary-inverse", {
				text: "Annuler",
				attrs: {
					"data-dismiss": "modal"
				}
			} ,true %}
			{% render "@btn-primary--disabled",{
				text: "Appliquer"
			},true %}
		</div>
	</div>
{% endblock %}