| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 11 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 0 | 
| CRAP Score | 2 | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 29 | public function Field($properties = [])  | 
            ||
| 30 |     { | 
            ||
| 31 |         //Requirements::javascript('dynamic/foxystripe: javascript/quantity.js'); | 
            ||
| 32 |         Requirements::css('dynamic/foxystripe: client/dist/css/quantityfield.css'); | 
            ||
| 33 | |||
| 34 | |||
| 35 |         $this->setAttribute('data-link', $this->Link('newvalue')); | 
            ||
| 36 |         $this->setAttribute('data-code', $this->getForm()->getProduct()->Code); | 
            ||
| 37 |         $this->setAttribute('data-id', $this->getForm()->getProduct()->ID); | 
            ||
| 38 | |||
| 39 | return parent::Field($properties);  | 
            ||
| 40 | }  | 
            ||
| 59 |