/    Sign up×
Community /Pin to ProfileBookmark

PHP & MySQL Approval System For Ledger Script

Hello, i’m xhan newbie here.

i am customizing existing script using PHP and MySQL. I would like to add function when my staff add expense, the expense need to be approve by me. The flow like this:

  • 1. Staff submitting expense (do not deduct my account balance until admin approve it)

  • 2. Administrator receive notification through email (expense need to be approve-have link for that expense)

  • 3. Administrator click the link and go to that expense but require to login before approve it.

  • 4. After login, administrator will be directly to the expense made by staff

  • 5. Have 2 button, Approve and Deny.

  • 6. If Approve, the expense will be added into database and my account balance will automatically deducted after admin approve it and send notification to staff let he/she know the expense was approve or not.

  • 7. If Deny, just notify the staff about the expense was deny.
  • All help will be thankfull ?

    to post a comment
    PHP

    2 Comments(s)

    Copy linkTweet thisAlerts:
    @NogDogDec 24.2016 — You could certainly do all of that, but explaining how in one forum post would probably be impossible (because there is a limit to how much text you can enter in one post). The heart of that matter is breaking things down into pieces, developing them modularly so that they can be worked on individually, then adding pieces together. Divide and conquer.
    Copy linkTweet thisAlerts:
    @NogDogDec 24.2016 — PS: My previous reply assumes you are talking about building it yourself. From a return on investment view, it may be better to find a ready-made system out there you can use. Even if it's not free/cheap. Having your own team build it from scratch is not free, either, and may well cost significantly more than using an existing product that fits your needs.
    ×

    Success!

    Help @xhanxeli spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 6.17,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @nearjob,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,
    )...