Bug 398501 - data type of decimal number is missing
Summary: data type of decimal number is missing
Status: RESOLVED DUPLICATE of bug 338017
Alias: None
Product: tellico
Classification: Applications
Component: general (show other bugs)
Version: 3.1.2
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Robby Stephenson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-11 14:54 UTC by JaGo
Modified: 2020-08-30 13:09 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JaGo 2018-09-11 14:54:43 UTC
Thanks for tellico. I'm using an option of custom collection. It is working pretty well. I'm missing a data type of decimal number. I need it for entering price of item.
Comment 1 Robby Stephenson 2018-09-23 00:40:14 UTC
The simple text field is what Tellico uses for pricing for all the default collections. Between the different currency symbols and so on, there isn't much sense for a custom field type.

I'm not sure what a decimal type would benefit. Perhaps you're also looking for Tellico to be able to some sort of reporting for collection value and so on?
Comment 2 JaGo 2018-10-04 15:43:02 UTC
(In reply to Robby Stephenson from comment #1)
> The simple text field is what Tellico uses for pricing for all the default
> collections. Between the different currency symbols and so on, there isn't
> much sense for a custom field type.
> 
> I'm not sure what a decimal type would benefit. Perhaps you're also looking
> for Tellico to be able to some sort of reporting for collection value and so
> on?

I'm using simple text field frequently (e.g. for item denomination - some denominations are too high) and also for item price. I had an idea of sorting based on item price and a report with item prices . Simple text isn't suitable for this purpose. Is here any option to export only chosen attributes?
Thanks.
Comment 3 Robby Stephenson 2019-01-05 02:16:13 UTC
(In reply to JaGo from comment #2)
> I'm using simple text field frequently (e.g. for item denomination - some
> denominations are too high) and also for item price. I had an idea of
> sorting based on item price and a report with item prices. Simple text
> isn't suitable for this purpose.

Having a report should work fin with simple text, and using the XSL to manipulate the value into a number. You have to do that with the XML tree anyway. Sorting is a bit trickier. I'd have to think about that - a decimal value wouldn't work with currency symbols, for example.

> Is here any option to export only chosen attributes?
For a report? Yes, it's a parameter in the XSL. If you use the report XSLT stylesheets stand-alone, for example, you can pass a list of the fields that should be used in the report. See https://forum.kde.org/viewtopic.php?f=200&t=137533 for an example.
Comment 4 Robby Stephenson 2020-08-30 13:09:11 UTC

*** This bug has been marked as a duplicate of bug 338017 ***