Browse Source

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

#161
refactoring
Guillaume Bourgeois 4 years ago
parent
commit
b31c536a4d
4 changed files with 15 additions and 3 deletions
  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 View File

* @property string $city * @property string $city
* @property string $postcode * @property string $postcode
*/ */
class DeliveryNote extends ActiveRecordCommon
class DeliveryNote extends Document
{ {
/** /**
* @inheritdoc * @inheritdoc

+ 12
- 0
common/models/Document.php View File

<?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 View File

* @property string $city * @property string $city
* @property string $postcode * @property string $postcode
*/ */
class Invoice extends ActiveRecordCommon
class Invoice extends Document
{ {
/** /**
* @inheritdoc * @inheritdoc

+ 1
- 1
common/models/Quotation.php View File

* @property string $city * @property string $city
* @property string $postcode * @property string $postcode
*/ */
class Quotation extends ActiveRecordCommon
class Quotation extends Document
{ {
/** /**
* @inheritdoc * @inheritdoc

Loading…
Cancel
Save