- 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>
34 lines
760 B
YAML
34 lines
760 B
YAML
uuid: aa48ba54-bf46-4333-a99a-d644d83c4f49
|
|
langcode: en
|
|
status: true
|
|
dependencies:
|
|
config:
|
|
- field.field.paragraph.repartition.field_compte
|
|
- field.field.paragraph.repartition.field_montant
|
|
- paragraphs.paragraphs_type.repartition
|
|
id: paragraph.repartition.default
|
|
targetEntityType: paragraph
|
|
bundle: repartition
|
|
mode: default
|
|
content:
|
|
field_compte:
|
|
type: entity_reference_label
|
|
label: above
|
|
settings:
|
|
link: true
|
|
third_party_settings: { }
|
|
weight: 0
|
|
region: content
|
|
field_montant:
|
|
type: number_decimal
|
|
label: above
|
|
settings:
|
|
thousand_separator: ''
|
|
decimal_separator: .
|
|
scale: 2
|
|
prefix_suffix: true
|
|
third_party_settings: { }
|
|
weight: 1
|
|
region: content
|
|
hidden: { }
|