Skip to content

Question: statuses of "bogfort" in table kladdeliste #52

@nielsrune

Description

@nielsrune

I am looking into finans/kladdeliste.php. Thinking about doing a complete rewrite to give an example of a modern take on the code base.

As of now, I have figured out these status codes of bogfort in the db table kladdeliste:

  • V bogført
  • - in progress / still open
  • S something to do with Simulate

But what does ! mean? I have found the following places, where this status is queried, but nowhere, where the status is actually set.

} elseif ($bogfort == '!') {

$query = db_select("select kladdenote from kladdeliste where id = '$kladde_id' and bogfort='!'", __FILE__ . " linje " . __LINE__);

$query = db_select("select * from kladdeliste where bogfort = '!' $vis order by $sort $rf",__FILE__ . " linje " . __LINE__);

Also these from another table betalingsliste:

$qtxt = "select * from betalingsliste where bogfort = '!' ";

$query = db_select("select * from betalingsliste where bogfort = '!' $vis order by $sort $rf",__FILE__ . " linje " . __LINE__);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions