Disable sending without number
This commit is contained in:
parent
0124bc2627
commit
0a5fd04c31
|
@ -32,6 +32,9 @@
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-12">
|
<div class="col-lg-12">
|
||||||
|
<?php if (!count($phones)) { ?>
|
||||||
|
<div class="alert alert-danger">Pour pouvoir envoyez un SMS vous devez d'abord <a href="<?= \descartes\Router::url('Phone', 'add'); ?>">créer au moins un téléphone.</a></div>
|
||||||
|
<?php } ?>
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
<h3 class="panel-title"><i class="fa fa-send fa-fw"></i> Création d'un nouveau SMS</h3>
|
<h3 class="panel-title"><i class="fa fa-send fa-fw"></i> Création d'un nouveau SMS</h3>
|
||||||
|
@ -106,6 +109,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
<?php if (count($phones)) { ?>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>Numéro à employer : </label>
|
<label>Numéro à employer : </label>
|
||||||
<select name="id_phone" class="form-control">
|
<select name="id_phone" class="form-control">
|
||||||
|
@ -115,6 +119,7 @@
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
<?php } ?>
|
||||||
<a class="btn btn-danger" href="<?php echo \descartes\Router::url('Scheduled', 'list'); ?>">Annuler</a>
|
<a class="btn btn-danger" href="<?php echo \descartes\Router::url('Scheduled', 'list'); ?>">Annuler</a>
|
||||||
<input type="submit" class="btn btn-success" value="Enregistrer le SMS" />
|
<input type="submit" class="btn btn-success" value="Enregistrer le SMS" />
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in New Issue