Przeglądaj źródła

Création de la classe Document parente de Invoice, Quotation et DeliveryNote

#161
refactoring
Guillaume Bourgeois 4 lat temu
rodzic
commit
b31c536a4d
4 zmienionych plików z 15 dodań i 3 usunięć
  1. +1
    -1
      common/models/DeliveryNote.php
  2. +12
    -0
      common/models/Document.php
  3. +1
    -1
      common/models/Invoice.php
  4. +1
    -1
      common/models/Quotation.php

+ 1
- 1
common/models/DeliveryNote.php Wyświetl plik

@@ -19,7 +19,7 @@ use Yii;
* @property string $city
* @property string $postcode
*/
class DeliveryNote extends ActiveRecordCommon
class DeliveryNote extends Document
{
/**
* @inheritdoc

+ 12
- 0
common/models/Document.php Wyświetl plik

@@ -0,0 +1,12 @@
<?php

/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/

class Document extends ActiveRecordCommon
{
}

+ 1
- 1
common/models/Invoice.php Wyświetl plik

@@ -18,7 +18,7 @@ use Yii;
* @property string $city
* @property string $postcode
*/
class Invoice extends ActiveRecordCommon
class Invoice extends Document
{
/**
* @inheritdoc

+ 1
- 1
common/models/Quotation.php Wyświetl plik

@@ -17,7 +17,7 @@ use Yii;
* @property string $city
* @property string $postcode
*/
class Quotation extends ActiveRecordCommon
class Quotation extends Document
{
/**
* @inheritdoc

Ładowanie…
Anuluj
Zapisz