# Why student can't view their invoice?

**URL:** <https://ask.gibbonedu.org/t/why-student-cant-view-their-invoice/2500>\
**Category:** Students\
**Created:** [April 21, 2020, 9:28am UTC](https://ask.gibbonedu.org/t/why-student-cant-view-their-invoice/2500 "2020-04-21T09:28:17Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![buiphung](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/b/dec6dc/32.png) [@buiphung](https://ask.gibbonedu.org/u/buiphung)\
**Post date:** [April 21, 2020, 9:28am UTC](https://ask.gibbonedu.org/t/why-student-cant-view-their-invoice/2500/1 "2020-04-21T09:28:17Z")

</div>

My students can’t view their invoice while their parents can. I need my students can view their invoice

---

<div class="post-metadata">

**Author:** ![ghulamabbas92](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/g/e0b2c6/32.png) [@ghulamabbas92](https://ask.gibbonedu.org/u/ghulamabbas92)\
**Post date:** [April 21, 2020, 11:27am UTC](https://ask.gibbonedu.org/t/why-student-cant-view-their-invoice/2500/2 "2020-04-21T11:27:53Z")

</div>

Hi buiphung,  
Finance permission is set to parents only . If you want to show invoices to parents , You should change Permission for Students from Admin …\> User Admin …\> Manage Permissions

Cheers.

---

<div class="post-metadata">

**Author:** ![ghulamabbas92](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/g/e0b2c6/32.png) [@ghulamabbas92](https://ask.gibbonedu.org/u/ghulamabbas92)\
**Post date:** [April 21, 2020, 11:28am UTC](https://ask.gibbonedu.org/t/why-student-cant-view-their-invoice/2500/3 "2020-04-21T11:28:47Z")

</div>

Invoices to Students\*

---

<div class="post-metadata">

**Author:** ![buiphung](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/b/dec6dc/32.png) [@buiphung](https://ask.gibbonedu.org/u/buiphung)\
**Post date:** [April 21, 2020, 4:48pm UTC](https://ask.gibbonedu.org/t/why-student-cant-view-their-invoice/2500/4 "2020-04-21T16:48:05Z")

</div>

Thank ghulamabbas92 .I changed Permisson for student Admin → User Admin → Manage Permissons → Invoice → View Invoices \_ mine: true but it does not work.I really don’t know why.Please tell me how i can do this

---

<div class="post-metadata">

**Author:** ![ghulamabbas92](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/g/e0b2c6/32.png) [@ghulamabbas92](https://ask.gibbonedu.org/u/ghulamabbas92)\
**Post date:** [April 21, 2020, 6:11pm UTC](https://ask.gibbonedu.org/t/why-student-cant-view-their-invoice/2500/5 "2020-04-21T18:11:31Z")

</div>

could you share some screen shots so, it can be cleared

---

<div class="post-metadata">

**Author:** ![buiphung](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/b/dec6dc/32.png) [@buiphung](https://ask.gibbonedu.org/u/buiphung)\
**Post date:** [April 22, 2020, 12:24am UTC](https://ask.gibbonedu.org/t/why-student-cant-view-their-invoice/2500/6 "2020-04-22T00:24:25Z")

</div>

![](https://ask.gibbonedu.org/uploads/editor/d8/lxi5vxej76no.png)

---

<div class="post-metadata">

**Author:** ![ghulamabbas92](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/g/e0b2c6/32.png) [@ghulamabbas92](https://ask.gibbonedu.org/u/ghulamabbas92)\
**Post date:** [April 22, 2020, 2:28am UTC](https://ask.gibbonedu.org/t/why-student-cant-view-their-invoice/2500/7 "2020-04-22T02:28:51Z")

</div>

I think you haven’t issued invoices yet. So when the status of invoices issued it will show up on student’s dashboard.

---

<div class="post-metadata">

**Author:** ![buiphung](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/b/dec6dc/32.png) [@buiphung](https://ask.gibbonedu.org/u/buiphung)\
**Post date:** [April 22, 2020, 2:34am UTC](https://ask.gibbonedu.org/t/why-student-cant-view-their-invoice/2500/8 "2020-04-22T02:34:38Z")

</div>

Thank ghulamabbas92 for your reply. Invoice was paid and it showed up on parent’s dashboard. But it doesn’t show on student’s dashboard. I really don’t know why. It is so strange  
 ![](https://ask.gibbonedu.org/uploads/editor/4x/z0f0anjru25k.png)

---

<div class="post-metadata">

**Author:** ![buiphung](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/b/dec6dc/32.png) [@buiphung](https://ask.gibbonedu.org/u/buiphung)\
**Post date:** [April 22, 2020, 2:39am UTC](https://ask.gibbonedu.org/t/why-student-cant-view-their-invoice/2500/9 "2020-04-22T02:39:30Z")

</div>

It is showed up on parents’ dashboard like this  
 ![](https://ask.gibbonedu.org/uploads/editor/t0/67yxf59et48j.png)

But it is not showed up on student’s dashboard like this

![](https://ask.gibbonedu.org/uploads/editor/07/xi8cbwavm7cv.png)

---

<div class="post-metadata">

**Author:** ![ghulamabbas92](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/g/e0b2c6/32.png) [@ghulamabbas92](https://ask.gibbonedu.org/u/ghulamabbas92)\
**Post date:** [April 22, 2020, 2:46am UTC](https://ask.gibbonedu.org/t/why-student-cant-view-their-invoice/2500/10 "2020-04-22T02:46:58Z")

</div>

I will get back after testing it and will let you know.

---

<div class="post-metadata">

**Author:** ![buiphung](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/b/dec6dc/32.png) [@buiphung](https://ask.gibbonedu.org/u/buiphung)\
**Post date:** [April 22, 2020, 2:50am UTC](https://ask.gibbonedu.org/t/why-student-cant-view-their-invoice/2500/11 "2020-04-22T02:50:13Z")

</div>

Thank ghulamannas92 very much

---

<div class="post-metadata">

**Author:** ![buiphung](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/b/dec6dc/32.png) [@buiphung](https://ask.gibbonedu.org/u/buiphung)\
**Post date:** [April 22, 2020, 1:03pm UTC](https://ask.gibbonedu.org/t/why-student-cant-view-their-invoice/2500/12 "2020-04-22T13:03:26Z")

</div>

Any help please

---

<div class="post-metadata">

**Author:** ![ghulamabbas92](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/g/e0b2c6/32.png) [@ghulamabbas92](https://ask.gibbonedu.org/u/ghulamabbas92)\
**Post date:** [April 22, 2020, 1:20pm UTC](https://ask.gibbonedu.org/t/why-student-cant-view-their-invoice/2500/13 "2020-04-22T13:20:04Z")

</div>

Hi @ross , @admin , @meierrom ,

I found the same issue . Can you look into the matter?

---

<div class="post-metadata">

**Author:** ![meierrom](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/m/5f9b8f/32.png) [@meierrom](https://ask.gibbonedu.org/u/meierrom)\
**Post date:** [April 22, 2020, 3:27pm UTC](https://ask.gibbonedu.org/t/why-student-cant-view-their-invoice/2500/14 "2020-04-22T15:27:51Z")

</div>

Can also confirm it. Seems to be a bug.

---

<div class="post-metadata">

**Author:** ![buiphung](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/b/dec6dc/32.png) [@buiphung](https://ask.gibbonedu.org/u/buiphung)\
**Post date:** [April 23, 2020, 1:30am UTC](https://ask.gibbonedu.org/t/why-student-cant-view-their-invoice/2500/15 "2020-04-23T01:30:32Z")

</div>

Hi  
Please tell me how I can fix this bug. It is important with me. Thank

---

<div class="post-metadata">

**Author:** ![meierrom](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/m/5f9b8f/32.png) [@meierrom](https://ask.gibbonedu.org/u/meierrom)\
**Post date:** [April 23, 2020, 8:08am UTC](https://ask.gibbonedu.org/t/why-student-cant-view-their-invoice/2500/16 "2020-04-23T08:08:37Z")

</div>

Something I just found out. I checked Gibbon v17 and it works just fine there.

---

<div class="post-metadata">

**Author:** ![meierrom](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/m/5f9b8f/32.png) [@meierrom](https://ask.gibbonedu.org/u/meierrom)\
**Post date:** [April 23, 2020, 8:24am UTC](https://ask.gibbonedu.org/t/why-student-cant-view-their-invoice/2500/17 "2020-04-23T08:24:48Z")

</div>

Ok, here we are:

File: modules/Finance/invoices\_view.php  
Line: ca. 113

Change the following:  
//if (!empty($gibbonPersonID) and count($options) \> 0) {  
if ($gibbonPersonID != ‘’ and $count \> 0) {

Please check it out and report back.

---

<div class="post-metadata">

**Author:** ![sandra](https://ask.gibbonedu.org/user_avatar/ask.gibbonedu.org/sandra/32/5_2.png) [@sandra](https://ask.gibbonedu.org/u/sandra)\
**Post date:** [April 23, 2020, 9:42am UTC](https://ask.gibbonedu.org/t/why-student-cant-view-their-invoice/2500/18 "2020-04-23T09:42:44Z")

</div>

Well spotted, this is indeed a bug. Thanks for the quick fix Roman! However, you may find an unintended side-effect is that this enables student access to work but breaks the parent access 😅 But your fix was very close! I tweaked the script a couple lines up and committed it to v20 here, which you can apply back to v19: [https://github.com/GibbonEdu/core/commit/b65fbf9ca8e9d37ba788386170f8c07af5527b0e](https://github.com/GibbonEdu/core/commit/b65fbf9ca8e9d37ba788386170f8c07af5527b0e)

---

<div class="post-metadata">

**Author:** ![buiphung](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/b/dec6dc/32.png) [@buiphung](https://ask.gibbonedu.org/u/buiphung)\
**Post date:** [April 24, 2020, 12:50am UTC](https://ask.gibbonedu.org/t/why-student-cant-view-their-invoice/2500/19 "2020-04-24T00:50:14Z")

</div>

Thank all very much. I can do it
