Skip to main content

Edge Band

  • thickness - Edge band thickness.
  • name - Edge band name.
  • group - Edge band group.
  • groupID - Edge band group ID.
  • isForm (boolean) - Indicates if the edge band is in the form.
  • isActive (boolean) - Indicates if the edge band is active.
  • formsSettings - check schema below
  • data - check schema below

formsSettings object schema:

  • length_key - keybinding for length used in Forms page
  • width_key - keybinding for width used in Forms page
  • color - color of text in Forms page

data array schema - array of objects:

  • sifra - edge band code
  • price - edge band price
  • minwidth - minimum width
  • maxwidth - maximum width
  • marza - margin
  • disabled - array of disabled materials, edge band will not be used for them
  • material - specify material, edge band will be used only for that material

Example json

{
"_id": {
"$oid": "651aaa274db2b44520784013"
},
"thickness": 2,
"name": "PCV 2mm",
"group": "255",
"groupID": "O1435",
"isForm": true,
"isActive": true,
"formsSettings": {
"length_key": "p",
"width_key": "o",
"color": "#FF0000"
},
"data": [
{
"sifra": "PCV2mm",
"price": 1.34,
"minwidth": 13,
"maxwidth": 33,
"marza": 100,
"disabled": [],
"material": ""
},
{
"sifra": "PCV2mm",
"price": 2.1,
"minwidth": 18,
"maxwidth": 38,
"marza": 100,
"disabled": [],
"material": ""
},
{
"sifra": "PCV2mm",
"price": 2.79,
"minwidth": 23,
"maxwidth": 43,
"marza": 100,
"disabled": [],
"material": ""
},
{
"sifra": "PCV2mm",
"price": 3.54,
"minwidth": 35,
"maxwidth": 55,
"marza": 100,
"disabled": [],
"material": ""
}
],
"__v": 0
}