1
0
Fork 0
mirror of synced 2025-04-11 21:21:02 +00:00

Compare commits

...

8 commits

Author SHA1 Message Date
Uryvskiy Dima
531d0ee931
Merge pull request #222 from retailcrm/addViewModeMobile
Added 'viewModeMobile' in Custom Fields
2025-04-10 12:03:35 +03:00
Uryvskiy Dima
562d1e4cd0 Added 'viewModeMobile' in Custom Fields 2025-04-08 23:26:29 +03:00
fc78e5897b
Merge pull request #221 from opheugene/offer-site
Added site field to ProductOffer
2025-03-20 16:41:04 +03:00
Opheugene
0a862dd86b Added site field to ProductOffer 2025-03-19 17:51:25 +01:00
5a3547894a
Merge pull request #219 from Neur0toxine/fix-cache-action
fix github workflows (cache action)
2025-03-04 20:00:39 +03:00
1d05f3efeb fix github workflows (cache action) 2025-03-04 19:52:24 +03:00
831ed64871
Merge pull request #218 from Neur0toxine/fix-github-workflows
fix github workflows (checkout action)
2025-03-04 19:48:31 +03:00
502a0c8641 fix github workflows (checkout action) 2025-03-04 19:45:09 +03:00
5 changed files with 29 additions and 11 deletions

View file

@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code into the workspace
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Run PHPCS
uses: chekalsky/phpcs-action@v1
phpmd:
@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code into the workspace
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Run PHPMD
uses: GeneaLabs/action-reviewdog-phpmd@1.0.0
with:
@ -35,7 +35,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code into the workspace
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Run PHPStan
uses: docker://oskarstark/phpstan-ga:1.8.0
with:

View file

@ -19,7 +19,7 @@ jobs:
pages_threshold: major_outage
- name: Check out code into the workspace
if: success() && ${{ github.ref != 'refs/heads/master' }}
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup PHP 8.3
if: ${{ github.ref != 'refs/heads/master' }}
uses: shivammathur/setup-php@v2
@ -27,7 +27,7 @@ jobs:
php-version: "8.3"
- name: Cache phpDocumentor
id: cache-phpdocumentor
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: phpDocumentor.phar
key: phpdocumentor

View file

@ -116,6 +116,14 @@ class CustomField
*/
public $viewMode;
/**
* @var string
*
* @JMS\Type("string")
* @JMS\SerializedName("viewModeMobile")
*/
public $viewModeMobile;
/**
* @var string
*

View file

@ -170,4 +170,12 @@ class ProductOffer
* @JMS\SerializedName("barcode")
*/
public $barcode;
/**
* @var string
*
* @JMS\Type("string")
* @JMS\SerializedName("site")
*/
public $site;
}

View file

@ -293,12 +293,13 @@ EOF;
$field->name = 'Description';
$field->code = 'description';
$field->type = CustomFieldType::STRING;
$field->ordering = 10;
$field->displayArea = CustomFieldDisplayArea::CUSTOMER;
$field->inList = true;
$field->viewMode = CustomFieldViewMode::EDITABLE;
$field->inFilter = true;
$field->inList = true;
$field->ordering = 10;
$field->displayArea = CustomFieldDisplayArea::CUSTOMER;
$field->inGroupActions = true;
$field->viewModeMobile = CustomFieldViewMode::NOT_EDITABLE;
$request = new CustomFieldsCreateRequest($field);
@ -359,11 +360,12 @@ EOF;
$field = new CustomField();
$field->name = 'Description';
$field->type = CustomFieldType::STRING;
$field->ordering = 10;
$field->viewMode = CustomFieldViewMode::EDITABLE;
$field->inFilter = true;
$field->inList = true;
$field->ordering = 10;
$field->inFilter = true;
$field->viewMode = CustomFieldViewMode::EDITABLE;
$field->inGroupActions = true;
$field->viewModeMobile = CustomFieldViewMode::NOT_EDITABLE;
$request = new CustomFieldsCreateRequest($field);