- 'chclient' => $this->currentElement['SHOW_CLIENT'],
- 'chinvoice' => $this->currentElement['SHOW_INVOICE'],
- 'chproject' => $this->currentElement['SHOW_PROJECT'],
- 'chstart' => $this->currentElement['SHOW_START'],
- 'chduration' => $this->currentElement['SHOW_DURATION'],
- 'chcost' => $this->currentElement['SHOW_COST'],
- 'chtask' => $this->currentElement['SHOW_TASK'],
- 'chfinish' => $this->currentElement['SHOW_END'],
- 'chnote' => $this->currentElement['SHOW_NOTE'],
- 'chcf_1' => $this->currentElement['SHOW_CUSTOM_FIELD_1'],
+ 'chclient' => (int) $this->currentElement['SHOW_CLIENT'],
+ 'chinvoice' => (int) $this->currentElement['SHOW_INVOICE'],
+ 'chpaid' => (int) $this->currentElement['SHOW_PAID'],
+ 'chip' => (int) $this->currentElement['SHOW_IP'],
+ 'chproject' => (int) $this->currentElement['SHOW_PROJECT'],
+ 'chstart' => (int) $this->currentElement['SHOW_START'],
+ 'chduration' => (int) $this->currentElement['SHOW_DURATION'],
+ 'chcost' => (int) $this->currentElement['SHOW_COST'],
+ 'chtask' => (int) $this->currentElement['SHOW_TASK'],
+ 'chfinish' => (int) $this->currentElement['SHOW_END'],
+ 'chnote' => (int) $this->currentElement['SHOW_NOTE'],
+ 'chcf_1' => (int) $this->currentElement['SHOW_CUSTOM_FIELD_1'],