Commit 9821ff99 authored by Stephane Bouvry's avatar Stephane Bouvry
Browse files

Merge branch 'v0.0.7' into 'master'

Notifications

See merge request !3
parents c1738c1d 6b55db7a
Loading
Loading
Loading
Loading
Loading
−1

File deleted.

+1

File added.

Preview size limit exceeded, changes collapsed.

+1 −1
Changes for public/dist/manifest.json: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
    "css": [
      "assets/SignatureFlows-8341230d.css"
    ],
    "file": "assets/signatureflows-977c60f4.js",
    "file": "assets/signatureflows-a067817f.js",
    "imports": [
      "_vendor.js",
      "_vendor2.js"
+15 −4
Changes for public/src/views/SignatureFlows.vue: 15 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -47,9 +47,11 @@
            <input type="checkbox" v-model="editStep.allRecipientsSign" id="allSign">
            Tous les destinataires doivent signer ?
          </label>
          <br>

          <div class="row">
            <div class="col-md-6">
              <h4>Destinataires</h4>
              <label for="method">Méthode d'obtention des destinataires</label>
          hop
              <select v-model="editStep.method" id="method" class="form-control" @change="handlerChangeMethod">
                <option v-for="l in get_recipients_methods" :value="l.key">{{ l.label }}</option>
              </select>
@@ -59,8 +61,6 @@
                <section v-for="o in getStepOptions(editStep)">
                  <h4>{{ o.label }}</h4>
                  <p>{{ o.description }}</p>
              <p>{{ o.type }}</p>

                  <section v-if="o.type == 'checkbox'">
                    <label :for="o.key +'_'+ id" v-for="v,id in o.values" class="form-control">
                      <input v-model="editStep.options[o.key]" type="checkbox" :value="id" :id="o.key +'_'+ id"/>
@@ -73,6 +73,17 @@

                </section>
              </section>
            </div>
            <div class="col-md-6">
              <h4>Observateurs</h4>

              <div class="alert alert-info">
                A venir
              </div>

            </div>
          </div>


          <nav>
            <button @click="handlerEditStepSave" class="btn btn-success">Terminer</button>
+28
Changes for src/Command/SignatureNotificationsCommand.php: 28 added lines, 0 removed lines.
Original line number Diff line number Diff line
<?php

namespace UnicaenSignature\Command;

use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;

class SignatureNotificationsCommand extends SignatureCommandAbstract
{
    protected static $defaultName = 'signature:notifications';

    protected function configure()
    {
        $this
            ->setDescription("Notifications manuelles des signatures");
    }

    protected function execute(InputInterface $input, OutputInterface $output): int
    {
        $io = $this->getIO($input, $output);

        $io->title("Notifications des signatures");
        foreach ($this->getSignatureService()->getSignatures() as $signature) {
            $this->getSignatureService()->notifications($signature);
        }
        return self::SUCCESS;
    }
}
 No newline at end of file
Loading