Settings.php 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501
  1. <?php
  2. namespace Core\App\Entity;
  3. class Settings
  4. {
  5. public $auth_api_key;
  6. public $auth_username;
  7. public $auth_password;
  8. public $auth_fiscal_code;
  9. public $option_auto_stock_sync;
  10. public $option_auto_order_sync;
  11. public $option_doc_upd;
  12. public $option_pdls;
  13. public $option_show_obs;
  14. public $option_stock_filter;
  15. public $option_order_or_proforma;
  16. public $option_proforma_serie;
  17. public $option_avize_serie;
  18. public $option_expfactura_serie;
  19. public $option_ordered_days_ago;
  20. public $option_locations;
  21. public $custom_field_bank;
  22. public $custom_field_account;
  23. public $custom_field_company;
  24. public $custom_field_fiscal_code;
  25. public $custom_field_reg_number;
  26. public $auto_sync_options;
  27. public $sync_data_types;
  28. public $order_or_proforma_options;
  29. public $sync_stock_filter_options;
  30. public $option_add_proforma;
  31. public $option_add_avize;
  32. public $option_add_expfactura;
  33. public $option_add_invoice;
  34. public $option_view_proforma;
  35. public $option_view_avize;
  36. public $option_view_expfactura;
  37. public $option_view_invoice;
  38. public $option_edit_proforma;
  39. public $option_edit_avize;
  40. public $option_edit_expfactura;
  41. public $option_edit_invoice;
  42. public $option_with_discount;
  43. public $option_proforma_serie2;
  44. public $option_avize_serie2;
  45. public $option_expfactura_serie2;
  46. public $option_invoice_serie;
  47. public function getAuthApiKey()
  48. {
  49. return $this->auth_api_key;
  50. }
  51. public function getAuthUsername()
  52. {
  53. return $this->auth_username;
  54. }
  55. public function getAuthPassword()
  56. {
  57. return hex2bin($this->auth_password);
  58. }
  59. public function getAuthFiscalCode()
  60. {
  61. return $this->auth_fiscal_code;
  62. }
  63. public function getOptionAutoStockSync()
  64. {
  65. return $this->option_auto_stock_sync;
  66. }
  67. public function getOptionAutoOrderSync()
  68. {
  69. return $this->option_auto_order_sync;
  70. }
  71. public function getOptionDocUpd()
  72. {
  73. return $this->option_doc_upd;
  74. }
  75. public function getOptionPdls()
  76. {
  77. return $this->option_pdls;
  78. }
  79. public function getOptionShowObs()
  80. {
  81. return $this->option_show_obs;
  82. }
  83. public function getOptionStockFilter()
  84. {
  85. return $this->option_stock_filter;
  86. }
  87. public function getOptionOrderOrProforma()
  88. {
  89. return $this->option_order_or_proforma;
  90. }
  91. public function getOptionProformaSerie()
  92. {
  93. return $this->option_proforma_serie;
  94. }
  95. public function getOptionAvizeSerie()
  96. {
  97. return $this->option_avize_serie;
  98. }
  99. public function getOptionExpfacturaSerie()
  100. {
  101. return $this->option_expfactura_serie;
  102. }
  103. public function getOptionOrderedDaysAgo()
  104. {
  105. return $this->option_ordered_days_ago;
  106. }
  107. public function getOptionLocations()
  108. {
  109. return $this->option_locations;
  110. }
  111. public function getOptionProformaSerie2()
  112. {
  113. return $this->option_proforma_serie2;
  114. }
  115. public function getOptionAvizeSerie2()
  116. {
  117. return $this->option_avize_serie2;
  118. }
  119. public function getOptionExpfacturaSerie2()
  120. {
  121. return $this->option_expfactura_serie2;
  122. }
  123. public function getOptionInvoiceSerie()
  124. {
  125. return $this->option_invoice_serie;
  126. }
  127. public function getCustomFieldBank()
  128. {
  129. return $this->custom_field_bank;
  130. }
  131. public function getCustomFieldAccount()
  132. {
  133. return $this->custom_field_account;
  134. }
  135. public function getCustomFieldCompany()
  136. {
  137. return $this->custom_field_company;
  138. }
  139. public function getCustomFieldFiscalCode()
  140. {
  141. return $this->custom_field_fiscal_code;
  142. }
  143. public function getCustomFieldRegNumber()
  144. {
  145. return $this->custom_field_reg_number;
  146. }
  147. public function setAuthApiKey($auth_api_key)
  148. {
  149. $this->auth_api_key = $auth_api_key;
  150. }
  151. public function setAuthUsername($auth_username)
  152. {
  153. $this->auth_username = $auth_username;
  154. }
  155. public function setAuthPassword($auth_password)
  156. {
  157. $this->auth_password = $auth_password;
  158. }
  159. public function setAuthFiscalCode($auth_fiscal_code)
  160. {
  161. $this->auth_fiscal_code = $auth_fiscal_code;
  162. }
  163. public function setOptionAutoStockSync($option_auto_stock_sync)
  164. {
  165. $this->option_auto_stock_sync = $option_auto_stock_sync;
  166. }
  167. public function setOptionAutoOrderSync($option_auto_order_sync)
  168. {
  169. $this->option_auto_order_sync = $option_auto_order_sync;
  170. }
  171. public function setOptionDocUpd($option_doc_upd)
  172. {
  173. $this->option_doc_upd = $option_doc_upd;
  174. }
  175. public function setOptionPdls($option_pdls)
  176. {
  177. $this->option_pdls = $option_pdls;
  178. }
  179. public function setOptionShowObs($option_show_obs)
  180. {
  181. $this->option_show_obs = $option_show_obs;
  182. }
  183. public function setOptionStockFilter($option_stock_filter)
  184. {
  185. $this->option_stock_filter = $option_stock_filter;
  186. }
  187. public function setOptionOrderOrProforma($option_order_or_proforma)
  188. {
  189. $this->option_order_or_proforma = $option_order_or_proforma;
  190. }
  191. public function setOptionProformaSerie($option_proforma_serie)
  192. {
  193. $this->option_proforma_serie = $option_proforma_serie;
  194. }
  195. public function setOptionAvizeSerie($option_avize_serie)
  196. {
  197. $this->option_avize_serie = $option_avize_serie;
  198. }
  199. public function setOptionExpfacturaSerie($option_expfactura_serie)
  200. {
  201. $this->option_expfactura_serie = $option_expfactura_serie;
  202. }
  203. public function setOptionProformaSerie2($option_proforma_serie2)
  204. {
  205. $this->option_proforma_serie2 = $option_proforma_serie2;
  206. }
  207. public function setOptionAvizeSerie2($option_avize_serie2)
  208. {
  209. $this->option_avize_serie2 = $option_avize_serie2;
  210. }
  211. public function setOptionExpfacturaSerie2($option_expfactura_serie2)
  212. {
  213. $this->option_expfactura_serie2 = $option_expfactura_serie2;
  214. }
  215. public function setOptionInvoiceSerie($option_invoice_serie)
  216. {
  217. $this->option_invoice_serie = $option_invoice_serie;
  218. }
  219. public function setOptionOrderedDaysAgo($option_ordered_days_ago)
  220. {
  221. $this->option_ordered_days_ago = $option_ordered_days_ago;
  222. }
  223. public function setOptionLocations($option_locations)
  224. {
  225. $this->option_locations = $option_locations;
  226. }
  227. public function setCustomFieldBank($custom_field_bank)
  228. {
  229. $this->custom_field_bank = $custom_field_bank;
  230. }
  231. public function setCustomFieldAccount($custom_field_account)
  232. {
  233. $this->custom_field_account = $custom_field_account;
  234. }
  235. public function setCustomFieldCompany($custom_field_company)
  236. {
  237. $this->custom_field_company = $custom_field_company;
  238. }
  239. public function setCustomFieldFiscalCode($custom_field_fiscal_code)
  240. {
  241. $this->custom_field_fiscal_code = $custom_field_fiscal_code;
  242. }
  243. public function setCustomFieldRegNumber($custom_field_reg_number)
  244. {
  245. $this->custom_field_reg_number = $custom_field_reg_number;
  246. }
  247. public function getAutoSyncOptions()
  248. {
  249. return $this->auto_sync_options;
  250. }
  251. public function getDocUpdOptions()
  252. {
  253. return $this->doc_upd_options;
  254. }
  255. public function getShowObsOptions()
  256. {
  257. return $this->show_obs_options;
  258. }
  259. public function setAutoSyncOptions($auto_sync_options)
  260. {
  261. $this->auto_sync_options = $auto_sync_options;
  262. }
  263. public function setDocUpdOptions($doc_upd_options)
  264. {
  265. $this->doc_upd_options = $doc_upd_options;
  266. }
  267. public function setShowObsOptions($show_obs_options)
  268. {
  269. $this->show_obs_options = $show_obs_options;
  270. }
  271. public function getOrderOrProformaOptions()
  272. {
  273. return $this->order_or_proforma_options;
  274. }
  275. public function setOrderOrProformaOptions($order_or_proforma_options)
  276. {
  277. $this->order_or_proforma_options = $order_or_proforma_options;
  278. }
  279. public function getSyncDataTypes()
  280. {
  281. return $this->sync_data_types;
  282. }
  283. public function setSyncDataTypes($sync_data_types)
  284. {
  285. $this->sync_data_types = $sync_data_types;
  286. }
  287. public function getSyncStockFilterOptions()
  288. {
  289. return $this->sync_stock_filter_options;
  290. }
  291. public function setSyncStockFilterOptions($sync_stock_filter_options)
  292. {
  293. $this->sync_stock_filter_options = $sync_stock_filter_options;
  294. }
  295. public function getOptionAddProforma()
  296. {
  297. return $this->option_add_proforma;
  298. }
  299. public function setOptionAddProforma($option_add_proforma)
  300. {
  301. $this->option_add_proforma = $option_add_proforma;
  302. }
  303. public function getOptionAddAvize()
  304. {
  305. return $this->option_add_avize;
  306. }
  307. public function setOptionAddAvize($option_add_avize)
  308. {
  309. $this->option_add_avize = $option_add_avize;
  310. }
  311. public function getOptionAddExpfactura()
  312. {
  313. return $this->option_add_expfactura;
  314. }
  315. public function setOptionAddExpfactura($option_add_expfactura)
  316. {
  317. $this->option_add_expfactura = $option_add_expfactura;
  318. }
  319. public function getOptionAddInvoice()
  320. {
  321. return $this->option_add_invoice;
  322. }
  323. public function setOptionAddInvoice($option_add_invoice)
  324. {
  325. $this->option_add_invoice = $option_add_invoice;
  326. }
  327. public function getOptionViewProforma()
  328. {
  329. return $this->option_view_proforma;
  330. }
  331. public function getOptionViewAvize()
  332. {
  333. return $this->option_view_avize;
  334. }
  335. public function getOptionViewExpfactura()
  336. {
  337. return $this->option_view_expfactura;
  338. }
  339. public function setOptionViewProforma($option_view_proforma)
  340. {
  341. $this->option_view_proforma = $option_view_proforma;
  342. }
  343. public function setOptionViewAvize($option_view_avize)
  344. {
  345. $this->option_view_avize = $option_view_avize;
  346. }
  347. public function setOptionViewExpfactura($option_view_expfactura)
  348. {
  349. $this->option_view_expfactura = $option_view_expfactura;
  350. }
  351. public function getOptionViewInvoice()
  352. {
  353. return $this->option_view_invoice;
  354. }
  355. public function setOptionViewInvoice($option_view_invoice)
  356. {
  357. $this->option_view_invoice = $option_view_invoice;
  358. }
  359. public function getOptionEditProforma()
  360. {
  361. return $this->option_edit_proforma;
  362. }
  363. public function setOptionEditProforma($option_edit_proforma)
  364. {
  365. $this->option_edit_proforma = $option_edit_proforma;
  366. }
  367. public function getOptionEditAvize()
  368. {
  369. return $this->option_edit_avize;
  370. }
  371. public function setOptionEditAvize($option_edit_avize)
  372. {
  373. $this->option_edit_avize = $option_edit_avize;
  374. }
  375. public function getOptionEditExpfactura()
  376. {
  377. return $this->option_edit_expfactura;
  378. }
  379. public function setOptionEditExpfactura($option_edit_expfactura)
  380. {
  381. $this->option_edit_expfactura = $option_edit_expfactura;
  382. }
  383. public function getOptionEditInvoice()
  384. {
  385. return $this->option_edit_invoice;
  386. }
  387. public function setOptionEditInvoice($option_edit_invoice)
  388. {
  389. $this->option_edit_invoice = $option_edit_invoice;
  390. }
  391. public function getOptionWithDiscount()
  392. {
  393. return $this->option_with_discount;
  394. }
  395. public function setOptionWithDiscount($option_with_discount)
  396. {
  397. $this->option_with_discount = $option_with_discount;
  398. }
  399. }