fix: roles DocuSeal contrat - Company pour association, Customer pour client
- PDF: champs texte et signature client en role=Customer - PDF: signature association en role=Company - Controller: submitter client en role=Customer Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -173,7 +173,7 @@ class ContratController extends AbstractController
|
||||
[
|
||||
'email' => $contrat->getEmail(),
|
||||
'name' => $contrat->getRaisonSociale(),
|
||||
'role' => 'First Party',
|
||||
'role' => 'Customer',
|
||||
'send_email' => false,
|
||||
'completed_redirect_url' => $signedRedirectUrl,
|
||||
'metadata' => ['doc_type' => 'contrat', 'contrat_id' => $contrat->getId()],
|
||||
|
||||
@@ -151,23 +151,23 @@ class ContratMigrationSiteconseilPdf extends Fpdi
|
||||
$this->SetFont('Arial', '', 9);
|
||||
$this->Cell($labelW, 5, $this->enc('Raison sociale :'), 0, 0, 'L');
|
||||
$this->SetFont('Arial', 'B', 9);
|
||||
$this->Cell(0, 5, '{{RaisonSociale;type=text;role=First Party}}', 0, 1, 'L');
|
||||
$this->Cell(0, 5, '{{RaisonSociale;type=text;role=Customer}}', 0, 1, 'L');
|
||||
|
||||
$this->SetFont('Arial', '', 9);
|
||||
$this->Cell($labelW, 5, 'SIRET :', 0, 0, 'L');
|
||||
$this->Cell(0, 5, '{{SIRET;type=text;role=First Party}}', 0, 1, 'L');
|
||||
$this->Cell(0, 5, '{{SIRET;type=text;role=Customer}}', 0, 1, 'L');
|
||||
|
||||
$this->Cell($labelW, 5, $this->enc('Adresse :'), 0, 0, 'L');
|
||||
$this->Cell(0, 5, '{{Adresse;type=text;role=First Party}}', 0, 1, 'L');
|
||||
$this->Cell(0, 5, '{{Adresse;type=text;role=Customer}}', 0, 1, 'L');
|
||||
|
||||
$this->Cell($labelW, 5, 'Email :', 0, 0, 'L');
|
||||
$this->Cell(0, 5, '{{Email;type=text;role=First Party}}', 0, 1, 'L');
|
||||
$this->Cell(0, 5, '{{Email;type=text;role=Customer}}', 0, 1, 'L');
|
||||
|
||||
$this->Cell($labelW, 5, $this->enc('Telephone :'), 0, 0, 'L');
|
||||
$this->Cell(0, 5, '{{Telephone;type=text;role=First Party}}', 0, 1, 'L');
|
||||
$this->Cell(0, 5, '{{Telephone;type=text;role=Customer}}', 0, 1, 'L');
|
||||
|
||||
$this->Cell($labelW, 5, $this->enc('Representant :'), 0, 0, 'L');
|
||||
$this->Cell(0, 5, '{{Representant;type=text;role=First Party}}', 0, 1, 'L');
|
||||
$this->Cell(0, 5, '{{Representant;type=text;role=Customer}}', 0, 1, 'L');
|
||||
|
||||
$this->Ln(2);
|
||||
$this->Cell(0, 0.5, '', 'T', 1, 'L');
|
||||
@@ -392,7 +392,7 @@ class ContratMigrationSiteconseilPdf extends Fpdi
|
||||
$this->SetFont('Arial', '', 10);
|
||||
$this->Cell($colWidth, 20, '{{Sign;type=signature;role=Company}}', 0, 0, 'L');
|
||||
$this->Cell(10, 20, '', 0, 0);
|
||||
$this->Cell($colWidth, 20, '{{SignClient;type=signature;role=First Party}}', 0, 1, 'L');
|
||||
$this->Cell($colWidth, 20, '{{SignClient;type=signature;role=Customer}}', 0, 1, 'L');
|
||||
|
||||
$this->Ln(5);
|
||||
$this->SetFont('Arial', 'I', 8);
|
||||
|
||||
Reference in New Issue
Block a user