- 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>
27 lines
639 B
YAML
27 lines
639 B
YAML
uuid: 3c58d5f3-271b-49e3-83c1-c9aaeebe11d4
|
|
langcode: en
|
|
status: true
|
|
dependencies:
|
|
config:
|
|
- field.storage.node.field_repartition
|
|
- node.type.ligne_comptable
|
|
- paragraphs.paragraphs_type.repartition
|
|
module:
|
|
- entity_reference_revisions
|
|
id: node.ligne_comptable.field_repartition
|
|
field_name: field_repartition
|
|
entity_type: node
|
|
bundle: ligne_comptable
|
|
label: Répartition
|
|
description: ''
|
|
required: true
|
|
translatable: true
|
|
default_value: { }
|
|
default_value_callback: ''
|
|
settings:
|
|
handler: 'default:paragraph'
|
|
handler_settings:
|
|
target_bundles:
|
|
repartition: repartition
|
|
field_type: entity_reference_revisions
|