Allège les actions du catalogue vétérinaire
This commit is contained in:
parent
b906cf7b88
commit
ccaeb2b535
5 changed files with 17 additions and 6 deletions
|
|
@ -2,6 +2,12 @@
|
||||||
|
|
||||||
Toutes les modifications importantes du projet sont consignées ici. Le format s’inspire de [Keep a Changelog](https://keepachangelog.com/fr/1.1.0/) et le projet suit le [versionnage sémantique](https://semver.org/lang/fr/).
|
Toutes les modifications importantes du projet sont consignées ici. Le format s’inspire de [Keep a Changelog](https://keepachangelog.com/fr/1.1.0/) et le projet suit le [versionnage sémantique](https://semver.org/lang/fr/).
|
||||||
|
|
||||||
|
## [1.0.0-rc.14] — 2026-09-08
|
||||||
|
|
||||||
|
### Présentation du catalogue vétérinaire
|
||||||
|
|
||||||
|
- remplacement des libellés d’action par des boutons icônes compacts, avec infobulles et noms accessibles.
|
||||||
|
|
||||||
## [1.0.0-rc.13] — 2026-09-08
|
## [1.0.0-rc.13] — 2026-09-08
|
||||||
|
|
||||||
### Gestion du catalogue vétérinaire
|
### Gestion du catalogue vétérinaire
|
||||||
|
|
|
||||||
|
|
@ -61,3 +61,7 @@ Remplacement des deux montants globaux par une grille d’adoption propre à cha
|
||||||
## `1.0.0-rc.13` — Catalogue vétérinaire
|
## `1.0.0-rc.13` — Catalogue vétérinaire
|
||||||
|
|
||||||
Ajout de la modification et de la suppression sécurisée des tarifs, sans altérer les dépenses historiques.
|
Ajout de la modification et de la suppression sécurisée des tarifs, sans altérer les dépenses historiques.
|
||||||
|
|
||||||
|
## `1.0.0-rc.14` — Finition du catalogue vétérinaire
|
||||||
|
|
||||||
|
Allègement de la colonne d’actions grâce à des commandes compactes et accessibles.
|
||||||
|
|
|
||||||
2
VERSION
2
VERSION
|
|
@ -1 +1 @@
|
||||||
1.0.0-rc.13
|
1.0.0-rc.14
|
||||||
|
|
|
||||||
|
|
@ -31,9 +31,9 @@
|
||||||
<div class="col-lg-6">
|
<div class="col-lg-6">
|
||||||
<section class="card h-100">
|
<section class="card h-100">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<span class="badge bg-blue-lt mb-2">1.0.0-rc.13</span>
|
<span class="badge bg-blue-lt mb-2">1.0.0-rc.14</span>
|
||||||
<h3>Catalogue vétérinaire modifiable</h3>
|
<h3>Catalogue vétérinaire modifiable</h3>
|
||||||
<p class="text-muted">Tarifs modifiables ou supprimables tout en préservant les dépenses historiques.</p>
|
<p class="text-muted">Tarifs modifiables ou supprimables depuis des actions compactes et accessibles, tout en préservant les dépenses historiques.</p>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -167,14 +167,15 @@
|
||||||
class="badge <?= $t['active'] ? 'bg-green-lt' : 'bg-secondary-lt' ?>"><?= $t['active'] ? t('pricing.active') : t('pricing.inactive') ?></span>
|
class="badge <?= $t['active'] ? 'bg-green-lt' : 'bg-secondary-lt' ?>"><?= $t['active'] ? t('pricing.active') : t('pricing.inactive') ?></span>
|
||||||
</td>
|
</td>
|
||||||
<td class="text-end"><div class="btn-list justify-content-end">
|
<td class="text-end"><div class="btn-list justify-content-end">
|
||||||
<button class="btn btn-sm btn-outline-primary tariff-edit" type="button"
|
<button class="btn btn-sm btn-icon btn-outline-primary tariff-edit" type="button"
|
||||||
|
title="<?= h(t('pricing.edit_tariff')) ?>" aria-label="<?= h(t('pricing.edit_tariff')) ?>"
|
||||||
data-id="<?= (int)$t['id'] ?>" data-clinic="<?= (int)$t['clinic_contact_id'] ?>"
|
data-id="<?= (int)$t['id'] ?>" data-clinic="<?= (int)$t['clinic_contact_id'] ?>"
|
||||||
data-label="<?= h($t['label']) ?>" data-amount="<?= h(number_format($t['amount_cents'] / 100, 2, '.', '')) ?>"
|
data-label="<?= h($t['label']) ?>" data-amount="<?= h(number_format($t['amount_cents'] / 100, 2, '.', '')) ?>"
|
||||||
data-category="<?= h($t['category']) ?>" data-group="<?= h($t['discount_group']) ?>"
|
data-category="<?= h($t['category']) ?>" data-group="<?= h($t['discount_group']) ?>"
|
||||||
data-unit="<?= h($t['unit_label']) ?>" data-medication="<?= (int)($t['medication_id'] ?? 0) ?>"
|
data-unit="<?= h($t['unit_label']) ?>" data-medication="<?= (int)($t['medication_id'] ?? 0) ?>"
|
||||||
data-active="<?= (int)$t['active'] ?>"><?= h(t('common.edit')) ?></button>
|
data-active="<?= (int)$t['active'] ?>"><span aria-hidden="true">✏️</span></button>
|
||||||
<form method="post" action="/settings/pricing/tariff/delete" onsubmit="return confirm(<?= h(json_encode(t('pricing.delete_confirm'), JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES)) ?>)">
|
<form method="post" action="/settings/pricing/tariff/delete" onsubmit="return confirm(<?= h(json_encode(t('pricing.delete_confirm'), JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES)) ?>)">
|
||||||
<input type="hidden" name="id" value="<?= (int)$t['id'] ?>"><button class="btn btn-sm btn-outline-danger" type="submit"><?= h(t('common.delete')) ?></button>
|
<input type="hidden" name="id" value="<?= (int)$t['id'] ?>"><button class="btn btn-sm btn-icon btn-outline-danger" type="submit" title="<?= h(t('common.delete')) ?>" aria-label="<?= h(t('common.delete')) ?>"><span aria-hidden="true">🗑️</span></button>
|
||||||
</form>
|
</form>
|
||||||
</div></td>
|
</div></td>
|
||||||
</tr><?php endforeach; ?></tbody>
|
</tr><?php endforeach; ?></tbody>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue