fitness-web/frontend/models/ProductLookupForm.php

41 lines
560 B
PHP

<?php
namespace frontend\models;
use Yii;
use yii\base\Model;
use common\models\Card;
use common\models\Customer;
/**
* ContactForm is the model behind the contact form.
*/
class ProductLookupForm extends Model
{
public $filter_text;
/**
* @inheritdoc
*/
public function rules()
{
return [
];
}
/**
* @inheritdoc
*/
public function attributeLabels()
{
return [
'filter_text' => Yii::t('frontend/product','Barcode or product code') ,
];
}
}