Pārlūkot izejas kodu

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

#161
dev
Guillaume Bourgeois pirms 5 gadiem
vecāks
revīzija
b31c536a4d
4 mainītis faili ar 15 papildinājumiem un 3 dzēšanām
  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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt