Skip to content
Snippets Groups Projects
Commit 1d10a70c authored by Julian Maurice's avatar Julian Maurice
Browse files

Merge remote-tracking branch 'origin/dev_#17324_add_vsmart_sigb_test_case_like_moulins'

parents 3af4fbb7 ff0ea90c
Branches
Tags
1 merge request!529Hotline 6.56
......@@ -261,6 +261,37 @@ class Class_IntProfilDonnees extends Storm_Model_Abstract {
}
public static function forVSmart() {
$type_doc = [['code' => '0', 'label' => '', 'zone_995' => 'PATEST'],
['code' => '1', 'label' => 'am;bm;cù;em;mm', 'zone_995' => 'BDA;BDJ;LFA;LFJ;LDA;LDJ;LCDA'],
['code' => '2', 'label' => 'as', 'zone_995' => 'PEA;PEJ;PATPER'],
['code' => '3', 'label' => 'jm;im', 'zone_995' => 'CDMA;CDMJ;CDTLJ'],
['code' => '4', 'label' => 'gm', 'zone_995' => 'DVF00;DVF12;DVF16;DVF18'],
['code' => '5', 'label' => 'lm', 'zone_995' => 'CDR'],
['code' => '6', 'label' => 'cm;dm', 'zone_995' => 'PAR;PATPAR']];
return self::newInstance(['libelle' => 'Unimarc Moulins',
'accents' => self::ENCODING_WINDOWS_ANSI,
'rejet_periodiques' => 0,
'id_article_periodique' => 0,
'type_fichier' => self::FT_RECORDS,
'format' => self::FORMAT_UNIMARC,
'attributs' => [['type_doc' => $type_doc,
'champ_code_barres' => '852',
'champ_cote' => 'k',
'champ_type_doc' => '',
'champ_genre' => '',
'champ_section' => '',
'champ_emplacement' => '',
'champ_annexe' => ''],
['zone' => '852',
'champ' => 'd',
'format' => self::NOVELTY_DATE_FORMAT_SLASHED_JMAAAA,
'jours' => '90',
'valeurs' => '']]]);
}
public function setAttributs($array_or_string) {
return $this->_set('attributs',
is_array($array_or_string)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment