Yes as long as it spans the opening and is not just on the door to cover glass
So if they do not have the mounting hardware in the walls, but the panels are in the garage, how do you know if the doors are protected, you can assume all the panels are for the windows, but what about doors? or does the hardware need to be in place for the credit around windows and doors already in place?
If the hardware is in the walls and they point to a pile of shutters and shutters have stamps then I say protected. I think most do but am sure will tell a different story. I do not think most match each shutter panel to each opening.
Don’t forget about the “emergency exit” requirement when all shutters are deployed. At least one door or egress window needs to be operable (not including the garage vehicle door).
Attachment hardware must be installed on the outside of the opening AND storm panels must be stored on site to be counted as protected. If the panel stack seems really short for the amount of openings, I question it.
short looking stack I would also
I only say that because inspectors are sometimes giving advice to shutter up the front door if this is the only opening not protected. Just keep this in mind about emergency exit requirements.
It is the only way to get discounts. I advise if it is necessary to leave the home for safer grounds.
Common sense and code MAKE NO DIFFERENCE in getting discounts folks should be allowed to have. Hell they do not even need to put them up to get the discounts. That MAY result in the insurance company “NOT PAYING” if the house was not protected at the time of the storm but if the equipment is in place at the time of the inspection then they will get the discounts. What they do when a storm approaches is their issue.
Citizens WONT PAY any wind claim from a named storm if the shutters were not fully deployed and they are currently getting a discount for them.
And that is how it should be 
I personally NEVER claim to know or assume what the insurance companies will or will not no.
I only report on the conditions as I interpret them.
So if all openings doors, windows, do have shutters, do they get the credit even though it is against the code and need an opening beside the garage?
If every opening is protected ALL thy get A A1. Code or Common Sense does not matter at all.
I assume the insurance companies point of view is the home does not need to be occupied and if ALL protection must go up and no egress is available then homeowners should evacuate.
Just how I think they MIGHT see things.
Newer homes normally have an impact rated door for egress even if the windows are not.