소스 검색

[backend] Documents : pouvoir envoyer des documents brouillon par email

refactoring
Guillaume 4 년 전
부모
커밋
a3c39e4afe
3개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. +1
    -1
      backend/views/delivery-note/index.php
  2. +1
    -1
      backend/views/invoice/index.php
  3. +1
    -1
      backend/views/quotation/index.php

+ 1
- 1
backend/views/delivery-note/index.php 파일 보기

@@ -115,7 +115,7 @@ $this->addButton(['label' => 'Nouveau bon de livraison <span class="glyphicon gl
'contentOptions' => ['class' => 'column-actions'],
'buttons' => [
'send' => function($url, $model) {
return ((!$model->isStatusDraft() && isset($model->user) && strlen($model->user->email) > 0) ? Html::a('<span class="glyphicon glyphicon-send"></span>', $url, [
return ((isset($model->user) && strlen($model->user->email) > 0) ? Html::a('<span class="glyphicon glyphicon-send"></span>', $url, [
'title' => 'Envoyer', 'class' => 'btn btn-default'
]) : '');
},

+ 1
- 1
backend/views/invoice/index.php 파일 보기

@@ -111,7 +111,7 @@ $this->addButton(['label' => 'Nouvelle facture <span class="glyphicon glyphicon-
]) : '');
},
'send' => function($url, $model) {
return ((!$model->isStatusDraft() && isset($model->user) && strlen($model->user->email) > 0) ? Html::a('<span class="glyphicon glyphicon-send"></span>', $url, [
return ((isset($model->user) && strlen($model->user->email) > 0) ? Html::a('<span class="glyphicon glyphicon-send"></span>', $url, [
'title' => 'Envoyer', 'class' => 'btn btn-default'
]) : '');
},

+ 1
- 1
backend/views/quotation/index.php 파일 보기

@@ -108,7 +108,7 @@ $this->addButton(['label' => 'Nouveau devis <span class="glyphicon glyphicon-plu
]) : '');
},
'send' => function($url, $model) {
return ((!$model->isStatusDraft() && isset($model->user) && strlen($model->user->email) > 0) ? Html::a('<span class="glyphicon glyphicon-send"></span>', $url, [
return ((isset($model->user) && strlen($model->user->email) > 0) ? Html::a('<span class="glyphicon glyphicon-send"></span>', $url, [
'title' => 'Envoyer', 'class' => 'btn btn-default'
]) : '');
},

Loading…
취소
저장