Преглед на файлове

Paramètres producteur : ajout des options liées à la facturation

#156
dev
Guillaume Bourgeois преди 4 години
родител
ревизия
87c8c28495
променени са 2 файла, в които са добавени 18 реда и са изтрити 4 реда
  1. +17
    -3
      backend/views/producer/update.php
  2. +1
    -1
      backend/web/js/vuejs/producer-update.js

+ 17
- 3
backend/views/producer/update.php Целия файл

@@ -245,16 +245,30 @@ $this->addBreadcrumb($this->getTitle()) ;
<?= $form->field($model, 'tiller_restaurant_token') ; ?>
</div>
</div>
<div v-show="currentSection == 'facturation'" class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Informations de facturation</h3>
<h3 class="panel-title">Facturation</h3>
</div>
<div class="panel-body">
<?= $form->field($model, 'id_tax_rate_default')
->dropDownList(ArrayHelper::map(TaxRate::find()->all(), 'id', function($model) { return $model->name; }))
->label('TVA à appliquer par défaut');; ?>

<?= $form->field($model, 'document_quotation_prefix') ; ?>
<?= $form->field($model, 'document_quotation_first_reference') ; ?>
<?= $form->field($model, 'document_quotation_duration') ; ?>
<?= $form->field($model, 'document_invoice_prefix') ; ?>
<?= $form->field($model, 'document_invoice_first_reference') ; ?>
<?= $form->field($model, 'document_delivery_note_prefix') ; ?>
<?= $form->field($model, 'document_delivery_note_first_reference') ; ?>
<?= $form->field($model, 'document_infos_bottom')
->textarea(['rows' => 15]) ?>
<?= $form->field($model, 'document_infos_quotation')
->textarea(['rows' => 15]) ?>
<?= $form->field($model, 'document_infos_invoice')
->textarea(['rows' => 15]) ?>
<?= $form->field($model, 'document_infos_delivery_note')
->textarea(['rows' => 15]) ?>
</div>
</div>

+ 1
- 1
backend/web/js/vuejs/producer-update.js Целия файл

@@ -66,7 +66,7 @@ var app = new Vue({
},
{
name: 'facturation',
nameDisplay: 'Informations de facturation'
nameDisplay: 'Facturation'
}
]
},

Loading…
Отказ
Запис