- Content type "Ligne comptable" with Paragraphs "Répartition" (Compte + Montant) - Taxonomies: Compte (9 comptes) and Client (unified client list) - hook_node_presave + form validate: sum(répartition) must equal montant HT - /dashboard route (progressive decoupling): Vue 3 app fetching JSON:API, computing solde par compte / par client client-side - "Ajouter une ligne" opens the real Drupal node form in an AJAX modal - Gin as default + admin theme - 9 opening-balance lines seeded from suivi_compta_SASFigli2026_v2.ods Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
24 lines
491 B
YAML
24 lines
491 B
YAML
uuid: 878e2d6d-8ed3-433b-8a55-de77453a299e
|
|
langcode: en
|
|
status: true
|
|
dependencies:
|
|
config:
|
|
- field.storage.paragraph.field_montant
|
|
- paragraphs.paragraphs_type.repartition
|
|
id: paragraph.repartition.field_montant
|
|
field_name: field_montant
|
|
entity_type: paragraph
|
|
bundle: repartition
|
|
label: 'Montant (€)'
|
|
description: ''
|
|
required: true
|
|
translatable: true
|
|
default_value: { }
|
|
default_value_callback: ''
|
|
settings:
|
|
min: null
|
|
max: null
|
|
prefix: ''
|
|
suffix: ''
|
|
field_type: decimal
|